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
This commit is contained in:
Raymond Hill 2022-09-18 11:03:11 -04:00
parent a411ccfaff
commit 35f4bdd113
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -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' ],