mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
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
Block a user