mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
cosmetic filtering: discard new ABP's CSS property filters (until implemented)
This commit is contained in:
parent
441336dc2f
commit
5a7ab32d24
1 changed files with 5 additions and 1 deletions
|
|
@ -689,7 +689,11 @@ FilterContainer.prototype.isValidSelector = (function() {
|
|||
try {
|
||||
// https://github.com/gorhill/uBlock/issues/693
|
||||
div.matches(s + ',\n#foo');
|
||||
return true;
|
||||
// Discard new ABP's `-abp-properties` directive until it is
|
||||
// implemented (if ever).
|
||||
if ( s.indexOf('[-abp-properties=') === -1 ) {
|
||||
return true;
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
// We reach this point very rarely.
|
||||
|
|
|
|||
Loading…
Reference in a new issue