use relative path

This commit is contained in:
James Feng Cao 2023-02-14 16:55:34 +08:00
parent e7700877a8
commit c124197dbe
14 changed files with 30 additions and 18 deletions

View file

@ -110,6 +110,7 @@ The following html5 applications are allowed to read local files referred by &am
<guid>/en/links/</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
Classified bookmarks
VPN
Switch configuration
Wait for network msg

View file

@ -66,7 +66,7 @@ box cloud:POST:type=webdav&amp;url=https://dav.box.com/dav&amp;username=xxx&amp;
<a href="c:bc -l *.bc">bc with all extensions</a></p>
<h3 id="templates">Templates</h3>
<p>Click following links to install bookmark templates, bookmarks saved to the template have corresponding features enabled.<br>
<a href="i:0hbookmark/novel.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/novel.html">&quot;novel.html&quot;: auto reader's mode</a></p>
<a href="i:0hbookmark/novel.html:../../zh/searchurl/bookmark/novel.html">&quot;novel.html&quot;: auto reader's mode</a></p>
<h3 id="science">Science</h3>
<h4 id="physics">Physics</h4>
<p><a href="https://www.feynmanlectures.caltech.edu/">Feynman lectures</a><br>

View file

@ -48,10 +48,10 @@
</ul>
<p><a href="../index.html">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<a href="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
</div>

View file

@ -175,6 +175,7 @@ Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is sam
<guid>/en/links/</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
Classified bookmarks
VPN
Switch configuration
Wait for network msg

View file

@ -48,7 +48,8 @@
</ul>
<p>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):<br>
<a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a></p>
<a href="i:0gdefault.link::More bookmarks:file:///data/data/info.torapp.uweb/files/bookmark/ {let as=document.getElementsByTagName('a');for(let i=as.length-1;i>=0;i--){let h=as[i].href;if(h.startsWith('file:')&&h.endsWith('.html'))as[i].href=h.substring(0,h.length-4)%2B'search';}}%0A">Classified bookmarks</a></p>
<p><a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a></p>
<p><a href="i:0gdefault.link::profile_config::cprofile . files .conf%0A">Switch configuration</a></p>
<p><a href="i:0gdefault.link::Wait msg:i:1w%0A">Wait for network msg</a></p>
<p><a href="i:0gdefault.link::Certificate info:i:1c%0A">Certificate info</a></p>