AdguardTeam / AdguardTeam/CoreLibs

Support position-based arguments for HTML filtering

オープン
#1,893 コメント 0 件 リアクション 1 件 担当者 1 名 @sfionov が担当を希望しています GitHub で見る
Feature request needs tech clarification Priority: P4
主要言語
言語のデータがありません
スター
52
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。