Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarser authored and gorhill committed Oct 16, 2018
1 parent 1fa3794 commit 80f8f3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion platform/firefox/frameModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,10 @@ var contentObserver = {
let docReady = (e) => {
let doc = e.target;
doc.removeEventListener(e.type, docReady, true);
if ( doc.querySelector('a[href^="abp:"],a[href^="https://subscribe.adblockplus.org/?"]') ) {
if (
- doc.querySelector('link[rel="canonical"][href="https://filterlists.com/"]') !== null ||
- doc.querySelector('a[href^="abp:"],a[href^="ubo:"],a[href^="https://subscribe.adblockplus.org/?"]') !== null
) {
Services.scriptloader.loadSubScript(this.contentBaseURI + 'scriptlets/subscriber.js', sandbox);
}
};
Expand Down

0 comments on commit 80f8f3b

Please sign in to comment.