AdguardTeam / AdguardTeam/CoreLibs

Support position-based arguments for HTML filtering

Đang mở
#1,893 0 bình luận 1 reaction 1 người được giao Được @sfionov nhận Xem trên GitHub
Feature request needs tech clarification Priority: P4
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
52
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.