mirror of https://github.com/gorhill/uBlock.git
merged #1096 fixes
This commit is contained in:
parent
80c42431d9
commit
d7aea27f19
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 2,
|
||||
|
||||
"name": "uBlock",
|
||||
"version": "0.9.2.3",
|
||||
"version": "0.9.2.4",
|
||||
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 2,
|
||||
|
||||
"name": "uBlock",
|
||||
"version": "0.9.2.2",
|
||||
"version": "0.9.2.4",
|
||||
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
|
|
|
@ -165,6 +165,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;
|
||||
}
|
||||
|
@ -1381,6 +1386,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
|
||||
|
|
Loading…
Reference in New Issue