FiltersCompiler icon indicating copy to clipboard operation
FiltersCompiler copied to clipboard

Accept `##* { remove: true; }` from third-party filters as Extended CSS rules

Open Alex-302 opened this issue 1 week ago • 0 comments

Dozens of rules (66 at the moment) like these can be loaded Extended CSS from third-party filters

Error: "Invalid cosmetic rule, wrong brackets" in the rule: "mcdonalds.pl##body > .cookies { remove: true }"
Error: "Invalid cosmetic rule, wrong brackets" in the rule: "piekarniaklos.pl###privacy-policy-info { remove: true }"
Error: "Invalid cosmetic rule, wrong brackets" in the rule: "polska6.pl###modal { remove: true }"
Error: "Invalid cosmetic rule, wrong brackets" in the rule: "purepc.pl##.cookiesinfo { remove: true }"
Error: "Invalid cosmetic rule, wrong brackets" in the rule: "rynek-turystyczny.pl###modal-rodo { remove: true }"

Convert ## to #$?# in { remove: true }/{ remove: true; } rules.

Fix it separately, NOT in a large compiler update for a less complex check.

Alex-302 avatar Oct 30 '25 18:10 Alex-302