From a62191934d6f0d9c5ed2973bfa66d428ce3d07ed Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 17 Oct 2022 17:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcLive.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcLive.js | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/SrcLive.js b/SrcLive.js index eed5db87..51a705e2 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -211,6 +211,66 @@ function LiveSet() { })); setPageTitle("⚙直播设置⚙"); var d = []; + d.push({ + title: '🆖 订阅源管理', + url: $('hiker://empty#noRecordHistory##noHistory#').rule(() => { + addListener("onClose", $.toString(() => { + //refreshPage(false); + })); + //setPageTitle("🆖资源导入-历史记录"); + let livecfgfile = "hiker://files/rules/Src/Juying/liveconfig.json"; + let livecfg = fetch(livecfgfile); + if(livecfg != ""){ + eval("var liveconfig = " + livecfg); + }else{ + var liveconfig = {}; + } + var d = []; + let livedata = liveconfig['data']||[]; + if(livedata.length>0){ + d.push({ + title: '点击下方的订阅源条目,进行操作👇', + col_type: "rich_text" + }); + d.push({ + col_type: "line" + }); + for(let i=0;i{ + /* + if(input=="选择"){ + putMyVar('importinput', url); + back(true); + }else if(input=="删除"){ + let importrecord = JYconfig['importrecord']||[]; + for(let i=0;i