homescreen.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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/searchurl/template/home.css";
  6. },100);
  7. return false;
  8. }
  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/searchurl/template/refresh.html";
  13. return false;
  14. }
  15. </script><style>
  16. input{height:40px;width:100%;border-radius:50px;}
  17. </style>
  18. <title>主屏设置</title></head><body>
  19. <form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
  20. <input name=b placeholder="背景图片网址, 可为配置目录下图像文件名"/><br>
  21. <input type="submit" value="设置主屏">
  22. </form>
  23. <p>
  24. <form onsubmit="return g3(1,'home5.html','file:///data/data/info.torapp.uweb/files/home4.search');" style="margin:5px 0 5px 0;padding:0px">
  25. <input name=b placeholder="主屏网址" value="https://m.inftab.com"/><br>
  26. <input type="submit" value="设置主屏网址">
  27. </form>
  28. </p>
  29. <p>
  30. <a href="i:0hhome6.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/nav.cfg">设置第二主屏为默认导航页</a>
  31. </p>
  32. <form onsubmit="return g3(2,'home7.html','file:///data/data/info.torapp.uweb/files/home7.search');" style="margin:5px 0 5px 0;padding:0px">
  33. <input name=b placeholder="第三主屏网址"/><br>
  34. <input type="submit" value="设置第三主屏">
  35. </form>
  36. </body></html>