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
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ if ( typeof vAPI !== 'object' ) {
if ( if (
document.querySelector('a[href^="abp:"],a[href^="https://subscribe.adblockplus.org/?"]') === null && 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; return;
} }