Act Channel D (SUSPEND): post #143 — TG.ME

#quoid_Userscripts

Deprecate @include and @exclude metadata #650

Userscripts 计划在未来弃用 @include@exclude 元数据,请在您的用户脚本中使用 @match@exclude-match 来替代它们,后者更加安全和严格,我们希望这能够最终减少一些混乱和困难选择,并能够鼓励更多人了解和使用后者。

请阅读和学习 Match pattern structure (匹配模式结构),请务必阅读 MDN 的英文版本,英文文档信息通常更新和准确。
GitHub
Deprecate `@include` and `@exclude` metadata · Issue #650 · quoid/userscripts
We will deprecate @include and @exclude and only support @match and @exclude-match in the future. Match pattern structure is safer and stricter, not too many accidents happen. It reduces code logic...
May 1, 2024 1.7K 1