uweb/searchurl/homescreen.html

40 lines
1.6 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" />
<script>function g(){
let d=document;
let f=d.forms[0];
d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/sdcard/uweb/home.css:"+f.b.value+":https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/home.css";
},100);
return false;
}
function g3(iF,filename){
let d=document;
let f=d.forms[iF];
d.location.href="i:0i/sdcard/uweb/"+filename+":"+f.b.value+":https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/refresh.html";
return false;
}
</script><style>
input{height:40px;width:100%;border-radius:50px;}
</style>
<title>主屏设置</title></head><body>
<form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
<input name=b placeholder="背景图片网址, 可为配置目录下图像文件名"/><br>
<input type="submit" value="设置主屏">
</form>
<p>
<form onsubmit="return g3(1,'home5.html');" style="margin:5px 0 5px 0;padding:0px">
<input name=b placeholder="主屏网址" value="https://m.inftab.com"/><br>
<input type="submit" value="设置主屏网址">
</form>
</p>
<p>
<a href="i:0h/sdcard/uweb/home6.html:https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/nav.cfg">设置第二主屏为默认导航页</a>
</p>
<form onsubmit="return g3(2,'home7.html');" style="margin:5px 0 5px 0;padding:0px">
<input name=b placeholder="第三主屏网址"/><br>
<input type="submit" value="设置第三主屏">
</form>
</body></html>