From c6c21112331e30e675ef0ccabf0ecb1eeef50875 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 11 Apr 2023 05:55:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuSet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuSet.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SrcJuSet.js b/SrcJuSet.js index 30fbb18e..b4f1c603 100644 --- a/SrcJuSet.js +++ b/SrcJuSet.js @@ -138,8 +138,8 @@ function SRCSet() { datalist.forEach(item => { d.push({ - title: item.name + (item.parse ? " [主页源]" : "") + (item.erparse ? " [搜索源]" : ""), - url: $(["分享", "编辑", "删除"], 1).select((sourcefile, data) => { + title: (item.stop?`‘‘’’`+item.name+``:item.name) + (item.parse ? " [主页源]" : "") + (item.erparse ? " [搜索源]" : ""), + url: $(["分享", "编辑", "删除", item.stop?"启用":"禁用"], 1).select((sourcefile, data) => { if (input == "分享") { showLoading('分享上传中,请稍后...'); let oneshare = [] @@ -299,6 +299,10 @@ function jiekouapi(sourcefile, data) { } if(source){ return $("hiker://empty#noRecordHistory##noHistory#").rule((name,sdata) => { + addListener("onClose", $.toString(() => { + clearMyVar('SrcJuSousuoTest'); + })); + putMyVar('SrcJuSousuoTest','1'); let d = []; require(config.依赖); d = search(name,"sousuotest",sdata);