AdguardTeam / AdguardTeam/CoreLibs

$path does not work if the path is changed dynamically

未关闭
#2,018 0 条评论 1 个 reaction 已指派 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 摘要。