更新 'SrcJuying.js'

master
src48597962 2 years ago
parent 97300023b9
commit 1887d97f16
  1. 9
      SrcJuying.js

@ -566,7 +566,14 @@ function sousuo2() {
d.push({
title: "🔍",
url: $.toString((searchurl) => {
if(input.indexOf('https://www.aliyundrive.com/s/')>-1){
return $("hiker://empty##fypage#noRecordHistory##noHistory#").rule((input) => {
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyAliDisk.js');
aliShareUrl(input);
},input);
}else{
return input + searchurl;
}
},searchurl),
desc: "搜你想看的...",
col_type: "input",
@ -574,6 +581,7 @@ function sousuo2() {
titleVisible: true,
id: "searchinput",
onChange: $.toString((searchurl) => {
if(input.indexOf('https://www.aliyundrive.com/s/')==-1){
if(input.length==1){deleteItemByCls('suggest');}
if(input.length>1&&input!=getMyVar('sousuo$input', '')){
putMyVar('sousuo$input', input);
@ -609,6 +617,7 @@ function sousuo2() {
addItemAfter('searchinput', suggest);
}
}
}
}, searchurl)
}
});

Loading…
Cancel
Save