From 35f4bdd113f275d124c35962c51add7582dabf49 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 18 Sep 2022 11:03:11 -0400 Subject: [PATCH] Add `ext_ubol` to tokens recognized by the preparser `ext_ubol` will evaluate to false in uBO, and true in uBO Lite. Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2268 --- src/js/static-filtering-parser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index e36328c31..1be5e41e8 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -3156,6 +3156,7 @@ Parser.utils = Parser.prototype.utils = (( ) => { const preparserTokens = new Map([ [ 'ext_ublock', 'ublock' ], + [ 'ext_ubol', 'ubol' ], [ 'env_chromium', 'chromium' ], [ 'env_edge', 'edge' ], [ 'env_firefox', 'firefox' ],