uweb/en/searchurl/homescreen.html

61 lines
2.2 KiB
HTML
Raw Permalink 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/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/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;
2022-11-17 07:12:59 +00:00
}
function g4(iF){
let d=document;
let f=d.forms[iF];
let fname = f.f.value+".html";
if(f.s.checked){
d.location.href="i:0h"+fname+":"+f.b.value;
return false;
} else
return g3(iF,fname,'file:///data/data/info.torapp.uweb/files/'+fname);
}
</script><style>
input{height:40px;width:100%;border-radius:50px;}
2022-11-17 07:12:59 +00:00
label>input{height: auto; width: auto;};
</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>
2022-11-17 07:12:59 +00:00
<form onsubmit="return g4(2);" style="margin:5px 0 5px 0;padding:0px">
<input name=f placeholder="Home screen name" value="home6"/><br>
<input name=b placeholder="url"/><br>
<label><input name=s type="checkbox">Save as single html</label><br>
<input type="submit" value="Set the home screen">
</form>
</p>
<p>
2022-11-17 07:12:59 +00:00
<a href="i:0gdefault.link::saveAsHome:i:020../home6%0A">install link: save as the second home screen (.mht)</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>