mirror of https://github.com/torappinfo/uweb
add multiple home screens support for .mht files
parent
228a6ea84c
commit
8a502e4532
@ -0,0 +1,42 @@
|
||||
<!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/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/home.css";
|
||||
},100);
|
||||
return false;
|
||||
}
|
||||
function g3(iF,filename,fakeurl){
|
||||
let d=document;
|
||||
let f=d.forms[iF];
|
||||
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";
|
||||
return false;
|
||||
}
|
||||
</script><style>
|
||||
input{height:40px;width:100%;border-radius:50px;}
|
||||
</style>
|
||||
<title>Home screens</title></head><body>
|
||||
<form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
|
||||
<input name=b placeholder="background image url or image file name"/><br>
|
||||
<input type="submit" value="Set main home screen">
|
||||
</form>
|
||||
|
||||
<p>
|
||||
<form onsubmit="return g3(1,'home5.html','file:///data/data/info.torapp.uweb/files/home4.search');" style="margin:5px 0 5px 0;padding:0px">
|
||||
<input name=b placeholder="Main home screen url" value="home5.mht"/><br>
|
||||
<input type="submit" value="Set the main screen url">
|
||||
</form>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="i:0gdefault.link::saveAsHome:i:020../home6%0A">install link: save as the second home screen</a> <a href="../links/index.html">Help</a> <a href="../tips/index.html">Tips</a><br>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Some sites to configure home screens:<br>
|
||||
<a href="https://m.inftab.com">inftab</a><br>
|
||||
</p>
|
||||
</body></html>
|
Loading…
Reference in New Issue