1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 03:05:22 +02:00

new revision

This commit is contained in:
gorhill 2015-10-08 11:15:58 -04:00
parent debb1f60a1
commit 097489b4e0
3 changed files with 5 additions and 4 deletions

View File

@ -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__",

View File

@ -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;
} }

View File

@ -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__",