mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
new revision
This commit is contained in:
parent
debb1f60a1
commit
097489b4e0
3 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
|
||||||
"name": "uBlock Origin",
|
"name": "uBlock Origin",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
|
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_extShortDesc__",
|
"description": "__MSG_extShortDesc__",
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
// https://github.com/gorhill/uBlock/issues/800
|
||||||
this.EXPORTED_SYMBOLS = ['contentObserver', 'LocationChangeListener'];
|
this.EXPORTED_SYMBOLS = ['contentObserver', 'LocationChangeListener'];
|
||||||
|
|
||||||
const {interfaces: Ci, utils: Cu} = Components;
|
const {interfaces: Ci, utils: Cu} = Components;
|
||||||
|
@ -62,7 +63,7 @@ const getMessageManager = function(win) {
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
const contentObserver = {
|
var contentObserver = {
|
||||||
classDescription: 'content-policy for ' + hostName,
|
classDescription: 'content-policy for ' + hostName,
|
||||||
classID: Components.ID('{7afbd130-cbaf-46c2-b944-f5d24305f484}'),
|
classID: Components.ID('{7afbd130-cbaf-46c2-b944-f5d24305f484}'),
|
||||||
contractID: '@' + hostName + '/content-policy;1',
|
contractID: '@' + hostName + '/content-policy;1',
|
||||||
|
@ -423,7 +424,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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
|
||||||
"name": "uBlock Origin",
|
"name": "uBlock Origin",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
|
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_extShortDesc__",
|
"description": "__MSG_extShortDesc__",
|
||||||
|
|
Loading…
Reference in a new issue