mirror of https://github.com/gorhill/uBlock.git
this fixes good Adguard filters rejected due to `empty` keyword
This commit is contained in:
parent
9b1db96254
commit
ce3178cb16
|
@ -1429,7 +1429,10 @@ FilterParser.prototype.parseOptions = function(s) {
|
|||
this.unsupported = true;
|
||||
break;
|
||||
}
|
||||
|
||||
// Used by Adguard, purpose is unclear -- just ignore for now.
|
||||
if ( opt === 'empty' ) {
|
||||
continue;
|
||||
}
|
||||
// Unrecognized filter option: ignore whole filter.
|
||||
this.unsupported = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue