AdguardTeam / AdguardTeam/CoreLibs

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

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

説明

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

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

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

評価

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

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

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