1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 11:22:38 +01:00

[mv3] Merge modifyHeaders rules where feasible

This commit is contained in:
Raymond Hill 2023-07-10 13:13:20 -04:00
parent ff7c3d0ad6
commit 4a570c151f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -4618,6 +4618,7 @@ FilterContainer.prototype.dnrFromCompiled = function(op, context, ...args) {
mergeRules(rulesetMap, 'initiatorDomains'); mergeRules(rulesetMap, 'initiatorDomains');
mergeRules(rulesetMap, 'requestDomains'); mergeRules(rulesetMap, 'requestDomains');
mergeRules(rulesetMap, 'removeParams'); mergeRules(rulesetMap, 'removeParams');
mergeRules(rulesetMap, 'responseHeaders');
// Patch case-sensitiveness // Patch case-sensitiveness
for ( const rule of rulesetMap.values() ) { for ( const rule of rulesetMap.values() ) {