mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Revert trying to transpose requestDomains
This breaks uBOL -- unclear error message but disabling rulesets eventually unbreak the extension, thus possibly a case of going over the rule limit as a result of transposition. The `requestDomains` issue will have to wait for the official Safari fix.
This commit is contained in:
parent
7060be775c
commit
ff8c527b99
1 changed files with 1 additions and 10 deletions
|
|
@ -45,16 +45,7 @@ export function patchRuleset(ruleset) {
|
|||
condition.excludedDomains = condition.excludedInitiatorDomains;
|
||||
delete condition.excludedInitiatorDomains;
|
||||
}
|
||||
if (
|
||||
Array.isArray(condition.requestDomains) &&
|
||||
Array.isArray(condition.excludedRequestDomains) === false &&
|
||||
Boolean(condition.regexFilter) === false &&
|
||||
Boolean(condition.urlFilter) === false
|
||||
) {
|
||||
patchRuleWithRequestDomains(rule, out);
|
||||
} else {
|
||||
out.push(rule);
|
||||
}
|
||||
out.push(rule);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue