Skip to content
Discussion options

You must be logged in to vote

分别在单个订阅、全局拓展覆写配置添加了图1的规则,实测发现规则只能在单个订阅中生效,全局拓展覆写配置无法让任何订阅遵循该规则。

为什么宁可信 Gemini 都不去动手查一下 Clash Verge Rev 的 官方文档 呢?

prepend-rules / append-rules 的写法很早之前就被移除了,全局扩展覆写配置不支持对 config.rules 进行列表元素操作,你只能在这个位置对整个列表进行覆盖。

如果需要对所有订阅调整 config.rules 的内容而不完全覆盖,只能使用全局扩展脚本以 JavaScript 语法实现。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Dragon1573
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants