mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-29 08:41:11 +13:00
This commit is contained in:
parent
6fdbf9dd94
commit
cf5143e876
2 changed files with 4 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue