1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

Fix improper invalidation of inline-(font|script) types

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/1132loz/
This commit is contained in:
Raymond Hill 2023-02-15 16:40:59 -05:00
parent e39f815a73
commit c8c5264aca
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1298,7 +1298,7 @@ export class AstFilterParser {
break;
case NODE_TYPE_NET_OPTION_NAME_INLINEFONT:
case NODE_TYPE_NET_OPTION_NAME_INLINESCRIPT:
realBad = abstractTypeCount || behaviorTypeCount;
realBad = behaviorTypeCount;
break;
case NODE_TYPE_NET_OPTION_NAME_EMPTY:
realBad = abstractTypeCount || behaviorTypeCount;