1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 08:52:45 +01:00

Fix filure to lookup filters with header= option

Related feedback:
- bde3164eb4 (commitcomment-98348215)
This commit is contained in:
Raymond Hill 2023-01-27 20:18:20 -05:00
parent 827f0e4971
commit 26e8771256
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -135,6 +135,7 @@ const fromNetFilter = async function(rawFilter) {
const writer = new CompiledListWriter(); const writer = new CompiledListWriter();
const parser = new sfp.AstFilterParser({ const parser = new sfp.AstFilterParser({
expertMode: true,
nativeCssHas: vAPI.webextFlavor.env.includes('native_css_has'), nativeCssHas: vAPI.webextFlavor.env.includes('native_css_has'),
maxTokenLength: staticNetFilteringEngine.MAX_TOKEN_LENGTH, maxTokenLength: staticNetFilteringEngine.MAX_TOKEN_LENGTH,
}); });