From a2c15846e7dd7996b4505be62420693acf079990 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 5 Oct 2023 20:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 534280d5..b56152a5 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -145,6 +145,8 @@ function yiji() { newsousuopage(); }) let sousuoextra = { + newWindow: true, + windowId: MY_RULE.title + "搜索页", longClick: [{ title: "🔍搜索", js: $.toString((sousuopage) => { @@ -1311,10 +1313,11 @@ function newsousuopage(keyword,searchtype,relyfile) { addListener('onRefresh', $.toString(() => { clearMyVar('SrcJu_sousuoName'); })); - if(!getMyVar('SrcJu_rely') && config.依赖){ - putMyVar('SrcJu_rely',config.依赖); - } + if(relyfile){ + if(!getMyVar('SrcJu_rely') && config.依赖){ + putMyVar('SrcJu_rely',config.依赖); + } initConfig({ 依赖: relyfile });