mirror of https://github.com/gorhill/uBlock.git
Fix improper invalidation of inline-(font|script) types
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/1132loz/
This commit is contained in:
parent
e39f815a73
commit
c8c5264aca
|
@ -1298,7 +1298,7 @@ export class AstFilterParser {
|
||||||
break;
|
break;
|
||||||
case NODE_TYPE_NET_OPTION_NAME_INLINEFONT:
|
case NODE_TYPE_NET_OPTION_NAME_INLINEFONT:
|
||||||
case NODE_TYPE_NET_OPTION_NAME_INLINESCRIPT:
|
case NODE_TYPE_NET_OPTION_NAME_INLINESCRIPT:
|
||||||
realBad = abstractTypeCount || behaviorTypeCount;
|
realBad = behaviorTypeCount;
|
||||||
break;
|
break;
|
||||||
case NODE_TYPE_NET_OPTION_NAME_EMPTY:
|
case NODE_TYPE_NET_OPTION_NAME_EMPTY:
|
||||||
realBad = abstractTypeCount || behaviorTypeCount;
|
realBad = abstractTypeCount || behaviorTypeCount;
|
||||||
|
|
Loading…
Reference in New Issue