AdguardTeam / AdguardTeam/CoreLibs

Allow negative selection of tagName (and possibly special attributes) for HTML filtering

Aperta
#1,935 0 commenti 0 reazioni 1 assegnatario Rivendicata da @sfionov Vedi su GitHub
Feature request needs tech clarification Priority: P4
Lingua principale
Nessun dato sulla lingua
Stelle
52
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Issue Details

In relation to https://github.com/AdguardTeam/CoreLibs/issues/1934 if scripts are like
```

```

allow to remove `test2.js` with something like `:not()` pseudo selector e.g. `example.org$$script[src="test"]:not([async])` and/or `example.org$$script[src="test"]:not([async=""])`.

### Proposed solution

Allow to select tags not having specified attirbute(s)/value(s) (or possibly special attributes such as `:contains()`)

### Alternative solution

CSS-like forward-, backward- , or exact matching to attributes (if not regex) will also help if possible.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.