gorhill 9 years ago
parent 6fdbf9dd94
commit cf5143e876

@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "uMatrix", "name": "uMatrix",
"short_name": "uMatrix", "short_name": "uMatrix",
"version": "0.9.2.2", "version": "0.9.2.3",
"description": "__MSG_extShortDesc__", "description": "__MSG_extShortDesc__",
"icons": { "icons": {
"16": "img/icon_16.png", "16": "img/icon_16.png",

@ -25,6 +25,7 @@
/******************************************************************************/ /******************************************************************************/
// https://github.com/gorhill/uBlock/issues/800#issuecomment-146580443
this.EXPORTED_SYMBOLS = ['contentObserver', 'LocationChangeListener']; this.EXPORTED_SYMBOLS = ['contentObserver', 'LocationChangeListener'];
const {interfaces: Ci, utils: Cu} = Components; const {interfaces: Ci, utils: Cu} = Components;
@ -63,7 +64,7 @@ const getMessageManager = function(win) {
/******************************************************************************/ /******************************************************************************/
const contentObserver = { var contentObserver = {
classDescription: 'content-policy for ' + hostName, classDescription: 'content-policy for ' + hostName,
classID: Components.ID('{c84283d4-9975-41b7-b1a4-f106af56b51d}'), classID: Components.ID('{c84283d4-9975-41b7-b1a4-f106af56b51d}'),
contractID: '@' + hostName + '/content-policy;1', contractID: '@' + hostName + '/content-policy;1',
@ -305,7 +306,7 @@ const contentObserver = {
const locationChangedMessageName = hostName + ':locationChanged'; const locationChangedMessageName = hostName + ':locationChanged';
const LocationChangeListener = function(docShell) { var LocationChangeListener = function(docShell) {
if ( !docShell ) { if ( !docShell ) {
return; return;
} }

Loading…
Cancel
Save