AdguardTeam / AdguardTeam/tsurlfilter
Allow to specify attributes without value in selector for HTML filtering rules
Aperta
enhancement
Middle+
Priority: P4
Resolution: Fixed
Status: Resolved
Version: AdGuard v5.2
- Lingua principale
- TypeScript
- Stelle
- 81
- Fork
- 20
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
There are two cases for this:
- removing elements by matching attributes without values
- removing elements by matching attributes by name only, no matter what their values are
So the rule:
```adguard
example.org$$script[defer]
```
should remove the element:
```html
```
and the rule:
```adguard
example.org$$div[some_attribute]
```
should remove both elements:
```html
...
...
```
Related CoreLibs task: https://github.com/AdguardTeam/CoreLibs/issues/1934
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.