1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

this fixes subscribe links not working if URL has a fragment identifier

This commit is contained in:
gorhill 2015-12-18 12:18:34 -05:00
parent ee58cb8d54
commit 9b1db96254

View File

@ -52,7 +52,7 @@ if ( typeof vAPI !== 'object' ) {
if (
document.querySelector('a[href^="abp:"],a[href^="https://subscribe.adblockplus.org/?"]') === null &&
window.location.href !== 'https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web'
window.location.href.startsWith('https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web') === false
) {
return;
}