mirror of https://github.com/gorhill/uBlock.git
this fixes subscribe links not working if URL has a fragment identifier
This commit is contained in:
parent
ee58cb8d54
commit
9b1db96254
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue