mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add multiple home screens support for .mht files
This commit is contained in:
parent
228a6ea84c
commit
8a502e4532
7 changed files with 65 additions and 22 deletions
|
@ -238,12 +238,11 @@ commacd.sh
|
|||
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tips/</guid>
|
||||
<description>Configuration folder and file managers
|
||||
With bookmark, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
|
||||
To show web pages in desktop mode:
|
||||
<description>To show web pages in desktop mode:
|
||||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||||
Multiple home screens and Next/Prev page:
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.</description>
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.
|
||||
Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -104,7 +104,7 @@ Note: "Engines" needs file "engine.search",whose format is sam
|
|||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/sitemap/</guid>
|
||||
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </description>
|
||||
<description>UI Search engines Home screens UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -353,12 +353,11 @@ commacd.sh
|
|||
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tips/</guid>
|
||||
<description>Configuration folder and file managers
|
||||
With bookmark, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
|
||||
To show web pages in desktop mode:
|
||||
<description>To show web pages in desktop mode:
|
||||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||||
Multiple home screens and Next/Prev page:
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.</description>
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.
|
||||
Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
42
en/searchurl/homescreen.html
Normal file
42
en/searchurl/homescreen.html
Normal file
|
@ -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>
|
|
@ -50,6 +50,7 @@
|
|||
<h4 id="ui">UI</h4>
|
||||
<ul>
|
||||
<li><a href="../search/index.html">Search engines</a></li>
|
||||
<li><a href="../searchurl/homescreen.html">Home screens</a></li>
|
||||
<li><a href="i:61:../searchurl/func.html">UI</a> (<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/func.html">gitee</a>)</li>
|
||||
</ul>
|
||||
<h4 id="customization">Customization</h4>
|
||||
|
|
|
@ -47,14 +47,13 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p><strong>Configuration folder and file managers</strong><br>
|
||||
With <a href="../bookmark/index.html">bookmark</a>, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.</p>
|
||||
<p><strong>To show web pages in desktop mode</strong>:<br>
|
||||
<p><strong>To show web pages in desktop mode</strong>:<br>
|
||||
PC button + option "wide viewport" + global js "force page resizable".</p>
|
||||
<p><strong>Multiple home screens and Next/Prev page</strong>:<br>
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.</p>
|
||||
<p>Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens. Here are some of home screen configuration sites:<br>
|
||||
<a href="https://start.me">start.me</a></p>
|
||||
<p>Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.</p>
|
||||
<p><strong>Configuration folder and file managers</strong><br>
|
||||
With <a href="../bookmark/index.html">bookmark</a>, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ Note: "Engines" needs file "engine.search",whose format is sam
|
|||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/sitemap/</guid>
|
||||
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </description>
|
||||
<description>UI Search engines Home screens UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -23,17 +23,20 @@ input{height:40px;width:100%;border-radius:50px;}
|
|||
|
||||
<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="主屏网址" value="https://m.inftab.com"/><br>
|
||||
<input name=b placeholder="主屏网址" value="home5.mht"/><br>
|
||||
<input type="submit" value="设置主屏网址">
|
||||
</form>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="i:0hhome6.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/nav.cfg">设置第二主屏为默认导航页</a>
|
||||
</p>
|
||||
|
||||
<form onsubmit="return g3(2,'home7.html','file:///data/data/info.torapp.uweb/files/home7.search');" style="margin:5px 0 5px 0;padding:0px">
|
||||
<input name=b placeholder="第三主屏网址"/><br>
|
||||
<input type="submit" value="设置第三主屏">
|
||||
</form>
|
||||
<p>
|
||||
<a href="i:0gdefault.link::保存为主屏:i:020../home6%0A">点击安装常用链接:保存为(第二)主屏</a> <a href="../links/index.html">帮助</a><br>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
常用主屏配置网站:<br>
|
||||
<a href="https://m.inftab.com">inftab</a><br>
|
||||
</p>
|
||||
</body></html>
|
||||
|
|
Loading…
Reference in a new issue