mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 09:39:38 +02:00
this fixes overlooked remnants of other ubock
This commit is contained in:
parent
66fab9c87e
commit
885c68495b
2
platform/firefox/bootstrap.js
vendored
2
platform/firefox/bootstrap.js
vendored
@ -27,7 +27,7 @@
|
|||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
// Accessing the context of the background page:
|
// 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 bgProcess;
|
||||||
let version;
|
let version;
|
||||||
|
@ -50,11 +50,11 @@ let injectContentScripts = function(win) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let onLoadCompleted = function() {
|
let onLoadCompleted = function() {
|
||||||
removeMessageListener('ublock-load-completed', onLoadCompleted);
|
removeMessageListener('ublock0-load-completed', onLoadCompleted);
|
||||||
injectContentScripts(content);
|
injectContentScripts(content);
|
||||||
};
|
};
|
||||||
|
|
||||||
addMessageListener('ublock-load-completed', onLoadCompleted);
|
addMessageListener('ublock0-load-completed', onLoadCompleted);
|
||||||
|
|
||||||
if ( docShell ) {
|
if ( docShell ) {
|
||||||
let Ci = Components.interfaces;
|
let Ci = Components.interfaces;
|
||||||
|
Loading…
Reference in New Issue
Block a user