AdguardTeam / AdguardTeam/CoreLibs

Support position-based arguments for HTML filtering

Aperta
#1,893 0 commenti 1 reazione 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

As commented in https://github.com/AdguardTeam/CoreLibs/issues/94#issuecomment-2241329288, sometimes tags can be distinguished only by their position but not their contents.

### Proposed solution

Support all or part of these in native CSS selector, or something equivalent:
```
nth-of-type
nth-child
nth-last-of-type
nth-last-child
+
~
```

### Alternative solution

More complicated, but possibly xpath may be an alternative

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.