update AI engines
[uweb.git] / zh / searchurl / homescreen.html
blob013a391b31c30879d6bcedc8563e6ea4f2d6ed3d
1 <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" />
2 <script>function g(){
3 let d=document;
4 let f=d.forms[0];
5 d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/home.css";
6 },100);
7 return false;
9 function g3(iF,filename,fakeurl){
10 let d=document;
11 let f=d.forms[iF];
12 d.location.href="i:0i/data/data/info.torapp.uweb/files/"+filename+":"+f.b.value+'&'+fakeurl +":https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/refresh.html";
13 return false;
16 function g4(iF){
17 let d=document;
18 let f=d.forms[iF];
19 let fname = f.f.value+".html";
20 if(f.s.checked){
21 d.location.href="i:0h"+fname+":"+f.b.value;
22 return false;
23 } else
24 return g3(iF,fname,'file:///data/data/info.torapp.uweb/files/'+fname);
26 </script><style>
27 input{height:40px;width:100%;border-radius:50px;}
28 label>input{height: auto; width: auto;};
29 </style>
30 <title>主屏设置</title></head><body>
31 <form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
32 <input name=b placeholder="背景图片网址, 可为配置目录下图像文件名"/><br>
33 <input type="submit" value="设置主屏">
34 </form>
36 <p>
37 <form onsubmit="return g3(1,'home5.html','file:///data/data/info.torapp.uweb/files/home4.search');" style="margin:5px 0 5px 0;padding:0px">
38 <input name=b placeholder="主屏网址" value="home5.mht"/><br>
39 <input type="submit" value="设置主屏网址">
40 </form>
41 </p>
43 <p>
44 <form onsubmit="return g4(2);" style="margin:5px 0 5px 0;padding:0px">
45 <input name=f placeholder="主屏文件名" value="home6"/><br>
46 <input name=b placeholder="第n主屏网址"/><br>
47 <label><input name=s type="checkbox">Save as single html</label><br>
48 <input type="submit" value="设置第n主屏">
49 </form>
50 </p>
52 <p>
53 <a href="i:0gdefault.link::保存为主屏:i:020../home6%0A">点击安装常用链接:保存为(第二)主屏 (.mht)</a> <a href="../links/index.html">帮助</a><br>
54 </p>
56 <p>
57 常用主屏配置网站:<br>
58 <a href="https://m.inftab.com">inftab</a><br>
59 </p>
60 </body></html>