|
|
@ -348,12 +348,13 @@ function SRCSet() { |
|
|
|
hideLoading(); |
|
|
|
hideLoading(); |
|
|
|
if (/^http|^云/.test(pasteurl) && pasteurl.includes('/')) { |
|
|
|
if (/^http|^云/.test(pasteurl) && pasteurl.includes('/')) { |
|
|
|
pasteurl = pasteurl.replace('云6oooole', 'https://pasteme.tyrantg.com').replace('云2oooole', 'https://netcut.cn').replace('云5oooole', 'https://cmd.im').replace('云7oooole', 'https://note.ms').replace('云9oooole', 'https://txtpbbd.cn').replace('云10oooole', 'https://hassdtebin.com');
|
|
|
|
pasteurl = pasteurl.replace('云6oooole', 'https://pasteme.tyrantg.com').replace('云2oooole', 'https://netcut.cn').replace('云5oooole', 'https://cmd.im').replace('云7oooole', 'https://note.ms').replace('云9oooole', 'https://txtpbbd.cn').replace('云10oooole', 'https://hassdtebin.com');
|
|
|
|
|
|
|
|
log('剪贴板地址为>'+pasteurl); |
|
|
|
let code = '聚阅接口¥' + aesEncode('SrcJu', pasteurl) + '¥共' + sharelist.length + '条('+input+')'; |
|
|
|
let code = '聚阅接口¥' + aesEncode('SrcJu', pasteurl) + '¥共' + sharelist.length + '条('+input+')'; |
|
|
|
copy('云口令:'+code+`@import=js:$.require("hiker://page/import?rule=`+MY_RULE.title+`");`); |
|
|
|
copy('云口令:'+code+`@import=js:$.require("hiker://page/import?rule=`+MY_RULE.title+`");`); |
|
|
|
refreshPage(false); |
|
|
|
refreshPage(false); |
|
|
|
return "toast://聚阅分享口令已生成"; |
|
|
|
return "toast://聚阅分享口令已生成"; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return "toast://分享失败,剪粘板或网络异常"+pasteurl; |
|
|
|
return "toast://分享失败,剪粘板或网络异常>"+pasteurl; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
},sharelist) |
|
|
|
},sharelist) |
|
|
@ -532,11 +533,12 @@ function SRCSet() { |
|
|
|
hideLoading(); |
|
|
|
hideLoading(); |
|
|
|
if (/^http|^云/.test(pasteurl) && pasteurl.includes('/')) { |
|
|
|
if (/^http|^云/.test(pasteurl) && pasteurl.includes('/')) { |
|
|
|
pasteurl = pasteurl.replace('云6oooole', 'https://pasteme.tyrantg.com').replace('云2oooole', 'https://netcut.cn').replace('云5oooole', 'https://cmd.im').replace('云7oooole', 'https://note.ms').replace('云9oooole', 'https://txtpbbd.cn').replace('云10oooole', 'https://hassdtebin.com');
|
|
|
|
pasteurl = pasteurl.replace('云6oooole', 'https://pasteme.tyrantg.com').replace('云2oooole', 'https://netcut.cn').replace('云5oooole', 'https://cmd.im').replace('云7oooole', 'https://note.ms').replace('云9oooole', 'https://txtpbbd.cn').replace('云10oooole', 'https://hassdtebin.com');
|
|
|
|
|
|
|
|
log('剪贴板地址为>'+pasteurl); |
|
|
|
let code = '聚阅接口¥' + aesEncode('SrcJu', pasteurl) + '¥' + data.name; |
|
|
|
let code = '聚阅接口¥' + aesEncode('SrcJu', pasteurl) + '¥' + data.name; |
|
|
|
copy('云口令:'+code+`@import=js:$.require("hiker://page/import?rule=`+MY_RULE.title+`");`); |
|
|
|
copy('云口令:'+code+`@import=js:$.require("hiker://page/import?rule=`+MY_RULE.title+`");`); |
|
|
|
return "toast://(单个)分享口令已生成"; |
|
|
|
return "toast://(单个)分享口令已生成"; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return "toast://分享失败,剪粘板或网络异常"; |
|
|
|
return "toast://分享失败,剪粘板或网络异常>"+pasteurl; |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (input == "编辑") { |
|
|
|
} else if (input == "编辑") { |
|
|
|
return $('hiker://empty#noRecordHistory##noHistory#').rule((sourcefile, data) => { |
|
|
|
return $('hiker://empty#noRecordHistory##noHistory#').rule((sourcefile, data) => { |
|
|
|