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>

View file

@ -1 +1,10 @@
<meta http-equiv="refresh" content="0; url=en/index.html">
<!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>

View file

@ -141,7 +141,7 @@ Personal use, not for public
Personal use 2
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
&amp;quot;小说.html&amp;quot;: 自动使用阅读模式
href=&amp;quot;i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)
href=&amp;quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)
Mirrors Mirror list
zlibirary
mirror.js.org

View file

@ -77,7 +77,7 @@
如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。</p>
</li>
</ul>
<p><a target="_self" href="i:0hdefault.hosts:http://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/default.hosts">点击本链接自动用样例覆盖default.hosts</a></p>
<p><a target="_self" href="i:0hdefault.hosts:../searchurl/default.hosts">点击本链接自动用样例覆盖default.hosts</a></p>
</div>

View file

@ -57,8 +57,8 @@
<a href="https://www.123pan.com/s/cKA9-HFUCA">Personal use 2</a></p>
<h3 id="分类书签模板">分类书签模板</h3>
<p>点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。<br>
<a href="i:0hbookmark/小说.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/novel.html">&quot;小说.html&quot;: 自动使用阅读模式</a></p>
<p>href=&quot;i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html)</a></p>
<a href="i:0hbookmark/小说.html:../searchurl/bookmark/novel.html">&quot;小说.html&quot;: 自动使用阅读模式</a></p>
<p>href=&quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html)</a></p>
<h3 id="mirrors">Mirrors</h3>
<p><a href="https://www.library.ac.cn">Mirror list</a><br>
<a href="https://entry.zhelper.net">zlibirary</a><br>

View file

@ -44,7 +44,7 @@
</ul>
<p><a href="..">超微浏览器</a>访问以&quot;/&quot;结尾 (包括&quot;/?&quot;及后面参数)的&quot;file://&quot; url则进入文件管理器。</p>
<p>对任何目录型(以“/”结尾)文件url后面可附&quot;?[文件前缀][*[文件后缀]]&quot;。譬如&quot;file:///sdcard/?*.png&quot;会列举出&quot;/sdcard&quot;目录下所有.png文件。&quot;?IMG&quot;列举出所有IMG开头的文件。此时可选定文件<a target="_self" href="i:0hcheck.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/check.js">安装checked.js</a>对选取文件进行批量处理。</p>
<p>对任何目录型(以“/”结尾)文件url后面可附&quot;?[文件前缀][*[文件后缀]]&quot;。譬如&quot;file:///sdcard/?*.png&quot;会列举出&quot;/sdcard&quot;目录下所有.png文件。&quot;?IMG&quot;列举出所有IMG开头的文件。此时可选定文件<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">安装checked.js</a>对选取文件进行批量处理。</p>
<p>文件批量处理配置<a href="../pccopy">default.select</a>例子:<br>
图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done</p>

View file

@ -48,11 +48,11 @@
</ul>
<p><a href="../index.html">超微浏览器</a>自动装载&quot;css&quot;目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式</p>
<p><a href="i:0hcss/使用默认字体.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/clearfont.css">强制使用默认字体</a><br>
<a href="i:0hcss/配合透明状态栏.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/margintop.css">配合透明状态栏(沉浸)</a></p>
<p><a href="i:0hcss/使用默认字体.css:../searchurl/txt/clearfont.css">强制使用默认字体</a><br>
<a href="i:0hcss/配合透明状态栏.css:../searchurl/txt/margintop.css">配合透明状态栏(沉浸)</a></p>
<p>文件&quot;night.css&quot;为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:<br>
<a href="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/night.css">webview 81+ 夜间模式</a><br>
<a href="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/night_old.css">webview 80- 夜间模式</a></p>
<a href="i:0hnight.css:../searchurl/txt/night.css">webview 81+ 夜间模式</a><br>
<a href="i:0hnight.css:../searchurl/txt/night_old.css">webview 80- 夜间模式</a></p>
</div>

View file

@ -320,7 +320,7 @@ Personal use, not for public
Personal use 2
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
&amp;quot;小说.html&amp;quot;: 自动使用阅读模式
href=&amp;quot;i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)
href=&amp;quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)
Mirrors Mirror list
zlibirary
mirror.js.org

View file

@ -75,7 +75,7 @@ mimetype用来表示命令的输入输出类型。格式为&quot;[输入mimetype
html/text/html: 选中富文本为html格式, 输出mimetype为text/html。<br>
/uweb: 选中文本为txt格式, 输出mimetype为<a href="../cmd">特殊扩充uweb</a>,超微将把输出作为<a href="../links">链接</a>来处理。<br>
/termux: 命令运行结果将作为termux下命令运行。<br>
<a target="_self" href="i:0hcheck.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/check.js">checked.js</a>: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&quot;?[文件前缀][<em>[文件后缀]]&quot;。譬如&quot;file:///sdcard/?</em>.png&quot;会列举出&quot;/sdcard&quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)</p>
<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">checked.js</a>: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&quot;?[文件前缀][<em>[文件后缀]]&quot;。譬如&quot;file:///sdcard/?</em>.png&quot;会列举出&quot;/sdcard&quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)</p>
<p>配置default.select如下<br>
复制文本到地址栏:/uweb:printf i:15;cat<br>
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>

View file

@ -84,7 +84,7 @@
<li><a href="https://adzhp.cn/ji-lu-pian.html">纪录片</a></li>
<li><a href="https://adzhp.cn/wang-luo-zhi-bo.html">网络直播</a></li>
</ul>
<p><a target="_self" href="i:0hbookmarklet/videoplayer.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/videoplay.js">点击安装&quot;视频播放增强(倍速等)635+版本功能已内置,仅供高级用户定制参考。&quot;</a></p>
<p><a target="_self" href="i:0hbookmarklet/videoplayer.js:../searchurl/txt/videoplay.js">点击安装&quot;视频播放增强(倍速等)635+版本功能已内置,仅供高级用户定制参考。&quot;</a></p>
</div>