AdguardTeam / AdguardTeam/FiltersCompiler
Accept `##* { remove: true; }` from third-party filters as Extended CSS rules
- 主要语言
- JavaScript
- 星标
- 64
- 派生
- 11
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。