From f779671057ac65e56bce2b4aebc1f5e44deb79e0 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 30 Jul 2024 16:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyDrpy.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyDrpy.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/SrcJyDrpy.js b/SrcJyDrpy.js index 6ceaaf40..b7ad005e 100644 --- a/SrcJyDrpy.js +++ b/SrcJyDrpy.js @@ -35,11 +35,10 @@ function createDrpy(sdata) { eval(getCryptoJS()); globalThis.CryptoJS = CryptoJS; - let xlog = console.log; - globalThis.log = function(msg) { - if (getItem("drpy调试日志")=="1") { - xlog(msg); - } + if (getItem("drpy调试日志")!="1") { + console.log = function () { + return; + }; } globalThis.getProxy = function () {