mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
Candidate for fix for #1140 as described in https://github.com/gorhill/uBlock/issues/1140#issuecomment-88398777
This commit is contained in:
parent
4b87c0b7de
commit
bec6e0ac8b
@ -293,6 +293,13 @@ const contentObserver = {
|
||||
let docReady = (e) => {
|
||||
let doc = e.target;
|
||||
doc.removeEventListener(e.type, docReady, true);
|
||||
|
||||
let messageManager = doc.docShell.getInterface(Ci.nsIContentFrameMessageManager);
|
||||
|
||||
messageManager.sendSyncMessage(locationChangedMessageName, {
|
||||
url: loc.href,
|
||||
});
|
||||
|
||||
lss(this.contentBaseURI + 'contentscript-end.js', sandbox);
|
||||
|
||||
if ( doc.querySelector('a[href^="abp:"]') ) {
|
||||
|
Loading…
Reference in New Issue
Block a user