更新 'SrcLive.js'

pull/1/head
src48597962 2 years ago
parent d2097586e6
commit 0289bead41
  1. 26
      SrcLive.js
  2. 15
      Srclive.js

@ -0,0 +1,26 @@
function SRCSet() {
addListener("onClose", $.toString(() => {
//clearMyVar('guanlicz');
}));
var d = [];
let livefile = "hiker://files/rules/Src/Juying/live.txt";
let JYlive=fetch(livefile);
if(JYlive){
var datalist = JYlive.split('\n');
}else{
var datalist = [];
}
if(datalist.length>0){
d.push({
title: '<br>',
col_type: 'rich_text'
});
}else{
d.push({
title: '没有直播源数据',
col_type: 'rich_text'
});
}
setHomeResult(d);
}

@ -1,15 +0,0 @@
function SRCSet() {
addListener("onClose", $.toString(() => {
clearMyVar('guanlicz');
clearMyVar('duoselect');
clearMyVar('datalist');
//refreshPage(false);
}));
setPageTitle("♥管理"+getMyVar('SrcJuying-Version', ''));
clearMyVar('duoselect');
clearMyVar('datalist');
function getTitle(title, Color) {
return '<font color="' + Color + '">' + title + '</font>';
}
var d = [];
}
Loading…
Cancel
Save