diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 9fa9a35e8..451e2764f 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock Origin", - "version": "1.11.5.105", + "version": "1.11.5.106", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/platform/firefox/bootstrap.js b/platform/firefox/bootstrap.js index 41107bbcc..7e2dddc9b 100644 --- a/platform/firefox/bootstrap.js +++ b/platform/firefox/bootstrap.js @@ -60,10 +60,7 @@ function startup(data/*, reason*/) { return; } - let appShell = Cc['@mozilla.org/appshell/appShellService;1'] - .getService(Ci.nsIAppShellService); - - waitForHiddenWindow(appShell); + waitForHiddenWindow(); } function createBgProcess(parentDocument) { @@ -109,7 +106,10 @@ function getWindowlessBrowserFrame(appShell) { } -function waitForHiddenWindow(appShell) { +function waitForHiddenWindow() { + let appShell = Cc['@mozilla.org/appshell/appShellService;1'] + .getService(Ci.nsIAppShellService); + let isReady = function() { var hiddenDoc;