1
0
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:
gorhill 2015-12-18 12:19:13 -05:00
parent 9b1db96254
commit ce3178cb16

View File

@ -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;