[DEBUG] 信息显式化(注入版)
As of
This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/429525/951605/ExplicitMessage_Inject.js
此脚本为 [DEBUG] 显式日志 的注入版,详情请移步主脚本主页。
在用户脚本的 Metadata Block 中,使用 @require 引入该脚本内容(确保为首个引入的文件),并使用 @grant 授予脚本对 GM_setValue / GM_getValue / GM_registerMenuCommand 的访问权限。
然后,就可以在脚本菜单中找到相应的设置项,如下图所示。

注入版作为外部脚本存在,无法被脚本管理器自动更新。必要时需手动访问 脚本主页 获取最新版 URI 并更新被注入脚本中的 @require。
仅建议在本地开发环境中使用,具体做法可参考 debug-template。
gitee: ExplicitLog
by Laster2800