mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 10:09:38 +02:00
fix #1754
This commit is contained in:
parent
f6825d1920
commit
e17e9c804a
@ -1473,14 +1473,6 @@ FilterParser.prototype.parseOptions = function(s) {
|
||||
this.unsupported = true;
|
||||
break;
|
||||
}
|
||||
if ( opt === 'document' ) {
|
||||
if ( this.action === BlockAction ) {
|
||||
this.parseTypeOption('document', not);
|
||||
continue;
|
||||
}
|
||||
this.unsupported = true;
|
||||
break;
|
||||
}
|
||||
// Test before handling all other types.
|
||||
if ( opt.startsWith('redirect=') ) {
|
||||
if ( this.action === BlockAction ) {
|
||||
|
Loading…
Reference in New Issue
Block a user