|
|
@ -566,7 +566,14 @@ function sousuo2() { |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: "🔍", |
|
|
|
title: "🔍", |
|
|
|
url: $.toString((searchurl) => { |
|
|
|
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; |
|
|
|
return input + searchurl; |
|
|
|
|
|
|
|
} |
|
|
|
},searchurl), |
|
|
|
},searchurl), |
|
|
|
desc: "搜你想看的...", |
|
|
|
desc: "搜你想看的...", |
|
|
|
col_type: "input", |
|
|
|
col_type: "input", |
|
|
@ -574,6 +581,7 @@ function sousuo2() { |
|
|
|
titleVisible: true, |
|
|
|
titleVisible: true, |
|
|
|
id: "searchinput", |
|
|
|
id: "searchinput", |
|
|
|
onChange: $.toString((searchurl) => { |
|
|
|
onChange: $.toString((searchurl) => { |
|
|
|
|
|
|
|
if(input.indexOf('https://www.aliyundrive.com/s/')==-1){ |
|
|
|
if(input.length==1){deleteItemByCls('suggest');} |
|
|
|
if(input.length==1){deleteItemByCls('suggest');} |
|
|
|
if(input.length>1&&input!=getMyVar('sousuo$input', '')){ |
|
|
|
if(input.length>1&&input!=getMyVar('sousuo$input', '')){ |
|
|
|
putMyVar('sousuo$input', input); |
|
|
|
putMyVar('sousuo$input', input); |
|
|
@ -609,6 +617,7 @@ function sousuo2() { |
|
|
|
addItemAfter('searchinput', suggest); |
|
|
|
addItemAfter('searchinput', suggest); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, searchurl) |
|
|
|
}, searchurl) |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|