diff options
author | gorhill <rhill@raymondhill.net> | 2015-05-29 11:19:10 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-05-29 11:19:10 -0400 |
commit | 885c68495b12fa2ecaec9123417d5c70d8b36915 (patch) | |
tree | cae10e7c7b97d368d618a70c9f5b262580ba941b | |
parent | 66fab9c87ecb1cffaa00e30d8388d904daf2efc2 (diff) | |
download | uBlock-885c68495b12fa2ecaec9123417d5c70d8b36915.zip uBlock-885c68495b12fa2ecaec9123417d5c70d8b36915.tar.gz uBlock-885c68495b12fa2ecaec9123417d5c70d8b36915.tar.bz2 |
this fixes overlooked remnants of other ubock
-rw-r--r-- | platform/firefox/bootstrap.js | 2 | ||||
-rw-r--r-- | platform/firefox/frameScript.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/firefox/bootstrap.js b/platform/firefox/bootstrap.js index 77a6254..c17ec3c 100644 --- a/platform/firefox/bootstrap.js +++ b/platform/firefox/bootstrap.js @@ -27,7 +27,7 @@ /******************************************************************************/ // Accessing the context of the background page: -// var win = Services.appShell.hiddenDOMWindow.document.querySelector('iframe[src*=ublock]').contentWindow; +// var win = Services.appShell.hiddenDOMWindow.document.querySelector('iframe[src*=ublock0]').contentWindow; let bgProcess; let version; diff --git a/platform/firefox/frameScript.js b/platform/firefox/frameScript.js index 388c791..45d5e1a 100644 --- a/platform/firefox/frameScript.js +++ b/platform/firefox/frameScript.js @@ -50,11 +50,11 @@ let injectContentScripts = function(win) { }; let onLoadCompleted = function() { - removeMessageListener('ublock-load-completed', onLoadCompleted); + removeMessageListener('ublock0-load-completed', onLoadCompleted); injectContentScripts(content); }; -addMessageListener('ublock-load-completed', onLoadCompleted); +addMessageListener('ublock0-load-completed', onLoadCompleted); if ( docShell ) { let Ci = Components.interfaces; |