From c8c5264aca2e156e8103c63dde7588007dbb1ce8 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 15 Feb 2023 16:40:59 -0500 Subject: [PATCH] Fix improper invalidation of inline-(font|script) types Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/1132loz/ --- src/js/static-filtering-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 5373d189f..bf21c4932 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -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;