From 56bac7a565167a3d4627aab1d1072c8e50f01fac Mon Sep 17 00:00:00 2001 From: Deathamns Date: Thu, 15 Jan 2015 13:24:35 +0100 Subject: [PATCH] URL handling changes --- platform/firefox/bootstrap.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/firefox/bootstrap.js b/platform/firefox/bootstrap.js index 252ea62..94c59b8 100644 --- a/platform/firefox/bootstrap.js +++ b/platform/firefox/bootstrap.js @@ -26,6 +26,9 @@ /******************************************************************************/ +// Accessing the context of the background page from Console (e.g., about:addons): +// var win = Services.appShell.hiddenDOMWindow.document.querySelector('iframe[src*=ublock]').contentWindow; + let bgProcess; const hostName = 'ublock'; const restartListener = {