Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在网站指定目录设置规则 #3062

Open
3 tasks done
Hipidan opened this issue Dec 11, 2024 · 2 comments
Open
3 tasks done

如何在网站指定目录设置规则 #3062

Hipidan opened this issue Dec 11, 2024 · 2 comments

Comments

@Hipidan
Copy link

Hipidan commented Dec 11, 2024

Please answer the following questions for yourself before submitting a question.

  • I am running the latest version
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

Ask a question

示例URL https://x.erplorer.cn/index.html?userId=123asdsd#/aaa/bbb

我的规则内容 : ||*.erplorer.cn^$urlpather=/?userId=[a-zA-Z0-9]+/aaa/bbb###规则元素

这个规则在页面https://x.erplorer.cn/index.html?userId=123asdsd#/aaa/ccc的时候也有效,如果让这个规则只在#/aaa/bbb有效

@alexx7311
Copy link

@Hipidan

We currently have no $urlpather modifier in our filtering rules, so we're not entirely sure how to adjust your rule. It might be helpful to explore the documentation on advanced path modifiers, such as the one described here:
AdGuard: Creating your own ad filters.

Could you please provide more details about what you’re trying to achieve? For example, explain the exact conditions under which the rule should activate and what you want it to block or modify. With more information, we may be able to offer a more precise solution.

我们目前没有 $urlpather 修饰符,因此无法完全确定如何修改你的规则。你可以考虑查看高级路径修饰符方面的文档,例如以下链接中描述的内容:
AdGuard: 创建自己的过滤器

能否请你提供更多细节?例如,解释一下规则应在什么条件下生效,以及你期望它在这些情况下阻挡或修改什么内容。更多的详细信息将有助于我们为你提供更精确的解决方案。

@alexx7311
Copy link

@Hipidan any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants