AdguardTeam / AdguardTeam/CoreLibs

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

Aperta
#1,973 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Feature request needs tech clarification Priority: P4
Lingua principale
Nessun dato sulla lingua
Stelle
52
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.