diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 66c6c1d72..f4ccc7d68 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -1549,6 +1549,10 @@ Parser.prototype.SelectorCompiler = class { // Post-analysis // Mind https://w3c.github.io/csswg-drafts/selectors-4/#has-pseudo + if ( data.name.startsWith('-abp-') ) { + data.type = 'Error'; + return; + } data.name = this.normalizedOperators.get(data.name) || data.name; if ( this.proceduralOperatorNames.has(data.name) ) { data.type = 'ProceduralSelector';