mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-22 13:47:43 +02:00
this fixes good Adguard filters rejected due to empty
keyword
This commit is contained in:
parent
9b1db96254
commit
ce3178cb16
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue