AdguardTeam / AdguardTeam/CoreLibs

Support position-based arguments for HTML filtering

Ouverte
#1,893 0 commentaires 1 réaction 1 personne assignée Réclamée par @sfionov Voir sur GitHub
Feature request needs tech clarification Priority: P4
Langage dominant
Aucune donnée de langage
Étoiles
52
Forks
10
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.