AdguardTeam / AdguardTeam/CoreLibs

$path does not work if the path is changed dynamically

Aperta
#2,018 0 commenti 1 reazione 1 assegnatario Rivendicata da @sfionov Vedi su GitHub
Bug Feature request Priority: P4
Lingua principale
Nessun dato sulla lingua
Stelle
52
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard version

5.1.139

### Browser version

Chrome 141.0.7390.66

### OS version

Windows 11

### Issue Details

Steps to reproduce:
1. Add `[$path=/shorts/]youtube.com##body`
2. Go to `https://www.youtube.com/`
3. Click on `Shorts` and see if the body will be hidden

### Expected Behavior

The body is hidden

### Actual Behavior

Not

### Screenshots

Screenshot 1

https://github.com/user-attachments/assets/ff9d80cf-7c15-4a61-b820-442e4b23f732

### Additional Information

IDK if you prefer expanding `$path` or adding a new option. When it comes to uBO parity https://github.com/AdguardTeam/CoreLibs/issues/2012 `example.org/path` is the same behavior (no support for dynamic update), but `:matches-path` can reflect dynamic changes.

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.