diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 3b1297cfc..9f44f4e92 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock", - "version": "0.9.2.1", + "version": "0.9.2.3", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/platform/opera/manifest.json b/platform/opera/manifest.json index 636fc5311..f521a6126 100644 --- a/platform/opera/manifest.json +++ b/platform/opera/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock", - "version": "0.9.1.1", + "version": "0.9.2.3", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/src/js/background.js b/src/js/background.js index 36b446686..83ce438eb 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -88,7 +88,7 @@ return { // read-only systemSettings: { - compiledMagic: 'intdliecolot', + compiledMagic: 'kebryedtequi', selfieMagic: 'spqmeuaftfra' }, diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index f9e6488a6..55f6c8a30 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -166,6 +166,11 @@ var isFirstParty = function(firstPartyDomain, hostname) { }; var alwaysTruePseudoRegex = { + match: { '0': '', index: 0 }, + exec: function(s) { + this.match['0'] = s; + return this.match; + }, test: function() { return true; } @@ -1369,6 +1374,12 @@ FilterParser.prototype.parse = function(raw) { //console.debug('µBlock.staticNetFilteringEngine/FilterParser.parse():', raw, '=', s); } } + + // https://github.com/gorhill/uBlock/issues/1096 + if ( s.charAt(0) === '^' ) { + this.unsupported = true; + return this; + } } // left-anchored