AdguardTeam / AdguardTeam/FiltersRegistry
Bad rule with nested uBO modifier ':matches-media(...)'
- Lingua principale
- Adblock Filter List
- Stelle
- 358
- Fork
- 75
- Merge medio
- 23h 37m
- PR unite (30g)
- 9
Descrizione
### Prerequisites
- [x] This problem is not related to filtering issues. Otherwise, you should read this [article](https://kb.adguard.com/technical-support/reporting-tool);
- [x] You're using an up-to-date version of the problematic filter;
### Problem description
During converting filters we noticed error:
```
failed to process rule: '[$path=/^((?!^/$).)*$/]dawn.fi#$#.header:not(:matches-media((min-width: 750px))) + div[class] + div[class] .mobile-top-ad { margin: -10px auto !important }' due to: uBO modifier ':matches-media(...)' cannot be nested
Stack trace:
AdblockSyntaxError: uBO modifier ':matches-media(...)' cannot be nested
```
Problematic rule is in the filter 233 - https://github.com/AdguardTeam/FiltersRegistry/blob/316be41f24afcf42db489865890cea0298fccc4d/platforms/extension/chromium-mv3/filters/233.txt#L22
### Proposed solution
Fix rule please :)
### Privacy
- [x] I agree to follow this condition
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.