mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
fix #1754
This commit is contained in:
parent
f6825d1920
commit
e17e9c804a
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user