From cf5143e876793af3fa1e5ccbabc56d1e8b3c96a9 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 8 Oct 2015 11:37:13 -0400 Subject: [PATCH] this fixes https://github.com/gorhill/uBlock/issues/800#issuecomment-146580443 --- platform/chromium/manifest.json | 2 +- platform/firefox/frameModule.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 62b2590..864a617 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uMatrix", "short_name": "uMatrix", - "version": "0.9.2.2", + "version": "0.9.2.3", "description": "__MSG_extShortDesc__", "icons": { "16": "img/icon_16.png", diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index a01cb18..33f5a0f 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -25,6 +25,7 @@ /******************************************************************************/ +// https://github.com/gorhill/uBlock/issues/800#issuecomment-146580443 this.EXPORTED_SYMBOLS = ['contentObserver', 'LocationChangeListener']; const {interfaces: Ci, utils: Cu} = Components; @@ -63,7 +64,7 @@ const getMessageManager = function(win) { /******************************************************************************/ -const contentObserver = { +var contentObserver = { classDescription: 'content-policy for ' + hostName, classID: Components.ID('{c84283d4-9975-41b7-b1a4-f106af56b51d}'), contractID: '@' + hostName + '/content-policy;1', @@ -305,7 +306,7 @@ const contentObserver = { const locationChangedMessageName = hostName + ':locationChanged'; -const LocationChangeListener = function(docShell) { +var LocationChangeListener = function(docShell) { if ( !docShell ) { return; }