mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-05 18:49:39 +02:00
Do not disallow using inline-script with real network types
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/10l2jjr/help_latest_ubo_developer_version_is_not_working/j5wdjjv/
This commit is contained in:
parent
0b1f7d2936
commit
827f0e4971
@ -877,6 +877,7 @@ export class AstFilterParser {
|
||||
realBad = hasValue;
|
||||
if ( realBad ) { break; }
|
||||
modifierType = type;
|
||||
unredirectableTypeCount += 1;
|
||||
break;
|
||||
case NODE_TYPE_NET_OPTION_NAME_MATCHCASE:
|
||||
realBad = this.isRegexPattern() === false;
|
||||
@ -941,7 +942,7 @@ export class AstFilterParser {
|
||||
break;
|
||||
case NODE_TYPE_NET_OPTION_NAME_INLINEFONT:
|
||||
case NODE_TYPE_NET_OPTION_NAME_INLINESCRIPT:
|
||||
realBad = abstractTypeCount || behaviorTypeCount || requestTypeCount;
|
||||
realBad = abstractTypeCount || behaviorTypeCount;
|
||||
break;
|
||||
case NODE_TYPE_NET_OPTION_NAME_EMPTY:
|
||||
realBad = abstractTypeCount || behaviorTypeCount;
|
||||
|
Loading…
Reference in New Issue
Block a user