1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00
This commit is contained in:
gorhill 2017-06-05 09:26:11 -04:00
parent f6825d1920
commit e17e9c804a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1473,14 +1473,6 @@ FilterParser.prototype.parseOptions = function(s) {
this.unsupported = true; this.unsupported = true;
break; break;
} }
if ( opt === 'document' ) {
if ( this.action === BlockAction ) {
this.parseTypeOption('document', not);
continue;
}
this.unsupported = true;
break;
}
// Test before handling all other types. // Test before handling all other types.
if ( opt.startsWith('redirect=') ) { if ( opt.startsWith('redirect=') ) {
if ( this.action === BlockAction ) { if ( this.action === BlockAction ) {