AdguardTeam / AdguardTeam/CoreLibs

$path does not work if the path is changed dynamically

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

説明

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

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

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

評価

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

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

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