AdguardTeam / AdguardTeam/FiltersCompiler
Accept `##* { remove: true; }` from third-party filters as Extended CSS rules
- Dominant language
- JavaScript
- Stars
- 64
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.