AdguardTeam / AdguardTeam/CoreLibs

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

Đang mở
#1,935 0 bình luận 0 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

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.

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.