This commit is contained in:
AlexVallat 2015-04-01 15:09:22 +01:00
parent 6850fa0a26
commit 8f2d07ec66
1 changed files with 7 additions and 0 deletions

View File

@ -293,6 +293,13 @@ const contentObserver = {
let docReady = (e) => { let docReady = (e) => {
let doc = e.target; let doc = e.target;
doc.removeEventListener(e.type, docReady, true); 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); lss(this.contentBaseURI + 'contentscript-end.js', sandbox);
if ( doc.querySelector('a[href^="abp:"]') ) { if ( doc.querySelector('a[href^="abp:"]') ) {