AdguardTeam / AdguardTeam/CoreLibs

Add ability to block request for requests "unblocked" by `$replace` rule

Đang mở
#1,973 2 bình luận 0 reaction 0 người được giao 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

Sometimes website uses "random" path for scripts or requests and broad `$replace` rule is used, like for example - `||example.org^$replace=/ads/no_ads/,script,xmlhttprequest` so other request like `example.org/tracker.js` are not blocked.

So I think that it would be nice to have an option to block requests even if there is `$replace` rule used.

Another related issue - https://github.com/AdguardTeam/CoreLibs/issues/1715#issuecomment-1375373415

### Proposed solution

Add additional modifier which allows to block request even if there is `$replace` rule.

### Alternative solution

Maybe another workaround would be to add similar modifier to `$replace` but it would replace content only for not blocked requests?

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.