AdguardTeam / AdguardTeam/CoreLibs

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

Offen
#1,973 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature request needs tech clarification Priority: P4
Vorherrschende Sprache
Keine Sprachdaten
Sterne
52
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.