From 3c4431e71fa3ebcfb0322f1a295264920a0fd9dd Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 15 Jul 2024 21:03:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index fa6e60e8..39efa6f3 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -652,13 +652,13 @@ function dianboyiji() { } }) let searchModeS = ["代理聚搜","分组接口","当前接口","当前页面"].map(v=>{ - return v==getItem("接口搜索方式","当前接口")?"‘‘" + v + "’’":v; + return v==getItem("接口搜索方式","当前接口")?`‘‘’’`+v+`√`:v; }); d.push({ title: "搜索方式", url: $(searchModeS,1).select(()=>{ - input = input.replace(/[’‘]/g, ""); + input = input.replace(/[’‘]|<[^>]*>|√/g, ""); setItem("接口搜索方式",input); return "toast://搜索方式设置为:"+input; }), @@ -1104,9 +1104,14 @@ function yiji() { d.push({ title: "搜索", url: $.toString((searchurl) => { - if(input.trim() == ''){ + input = input.trim(); + if(input == ''){ return "hiker://empty" } + if(input == '开启hipy_t3'){ + setItem('hipy_t3_enable', '1'); + return "toast://已开启"; + } if(/www\.aliyundrive\.com|www\.alipan\.com/.test(input)){ input = input.replace('http','\nhttp'); return $("hiker://empty#noRecordHistory##noHistory#").rule((input) => {