From fa02f31d2688ededfff590a237304fd165e6c1eb Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 24 Jun 2023 10:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyMenu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyMenu.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/SrcJyMenu.js b/SrcJyMenu.js index fefe64c1..dd2a84ec 100644 --- a/SrcJyMenu.js +++ b/SrcJyMenu.js @@ -373,8 +373,8 @@ function lookset(){ var isdn = 0; }; d.push({ - title: '当前解析模式:' + (parsemode==1?'聚影智能':parsemode==2?'强制断插':'强制嗅探'), - desc: parsemode==1?'上次优先>接口自带+私有解析'+(haveDN&&isdn?'+断插解析':''):parsemode==2?'走断插(含魔断)或帅助手设置的解析逻辑':'接口自带和私有解析中的直链进行聚合嗅探', + title: '当前解析模式:' + (parsemode==1?'聚影智能':parsemode==2?'强制断插':parsemode==3?'强制嗅探':'手动模式'), + desc: parsemode==1?'上次优先>接口自带+私有解析'+(haveDN&&isdn?'+断插解析':''):parsemode==2?'走断插(含魔断)或帅助手设置的解析逻辑':parsemode==3?'接口自带和私有解析中的直链进行聚合嗅探':'先进播放器,再通过线路选择解析', url: 'hiker://empty', col_type: "text_center_1" }); @@ -470,6 +470,16 @@ function lookset(){ }, JYconfig, cfgfile), col_type: "text_3" }); + d.push({ + title: (parsemode==4?getide(1):getide(0))+'手动切换', + url: $('#noLoading#').lazyRule((JYconfig,cfgfile) => { + JYconfig['parsemode'] = 4; + writeFile(cfgfile, JSON.stringify(JYconfig)); + refreshPage(false); + return 'toast://解析模式:手动切换'; + }, JYconfig, cfgfile), + col_type: "text_3" + }); if((MY_NAME=="海阔视界"&&getAppVersion()>=3369)||(MY_NAME=="嗅觉浏览器"&&getAppVersion()>=798)){ JYconfig['superweb'] = JYconfig.superweb==0?0:1; d.push({