您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
[DEBUG] 信息显式化(注入版)
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/429525/951788/ExplicitMessage_Inject.js
/** * ExplicitLog_Inject * @file [DEBUG] 显式日志(注入版) * @version 2.0.1.20210718 * @author Laster2800 */ (function() { const w = unsafeWindow const logs = ['log', 'warn', 'error'] for (const log of logs) { const _ = console[log] console[log] = function() { if (w.gm429521?.config.enabled) { const m = [arguments, log.toUpperCase()] if (w.gm429521?.fn.match(m, w.gm429521?.config.include) && !w.gm429521?.fn.match(m, w.gm429521?.config.exclude)) { let msg = null if (arguments.length == 1) { if (typeof arguments[0] == 'object') { msg = JSON.stringify(arguments[0]) } else { msg = arguments[0] } } else { msg = JSON.stringify(arguments) } w.gm429521?.fn.explicit(msg, log.toUpperCase(), GM_info.script.name) } } return _.apply(console, arguments) } } })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址