AdguardTeam / AdguardTeam/tsurlfilter

Advanced `$domain` modifier does not work with basic rules in MV3 extensions

未关闭
#168 0 条评论 0 个 reaction 已指派 1 人 已被 @maximtop 认领 在 GitHub 查看
bug Priority: P4
主要语言
TypeScript
星标
81
派生
20
PR 合并指标
30 天内没有已合并 PR

描述

See the testcases here for details:
https://testcases.agrd.dev/Filters/advanced-domain-modifier/test-advanced-domain-modifier.html

The following rules do not work:

```
! Test case 2: basic rule
||*/httpbin/anything/test-case-2.json$domain=testcases.agrd.*|pages.*

! Test case 7: basic rule with regex
||*/httpbin/anything/test-case-7.json$domain=/testcases/|/pages/
```

We can implement `$domain=example.*` using the old approach right away.
We may be able to implement regex matching if this one is implemented: https://github.com/w3c/webextensions/issues/394

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。