mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
use relative path
This commit is contained in:
parent
e7700877a8
commit
c124197dbe
14 changed files with 30 additions and 18 deletions
|
@ -110,6 +110,7 @@ The following html5 applications are allowed to read local files referred by &am
|
||||||
|
|
||||||
<guid>/en/links/</guid>
|
<guid>/en/links/</guid>
|
||||||
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
||||||
|
Classified bookmarks
|
||||||
VPN
|
VPN
|
||||||
Switch configuration
|
Switch configuration
|
||||||
Wait for network msg
|
Wait for network msg
|
||||||
|
|
|
@ -66,7 +66,7 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&
|
||||||
<a href="c:bc -l *.bc">bc with all extensions</a></p>
|
<a href="c:bc -l *.bc">bc with all extensions</a></p>
|
||||||
<h3 id="templates">Templates</h3>
|
<h3 id="templates">Templates</h3>
|
||||||
<p>Click following links to install bookmark templates, bookmarks saved to the template have corresponding features enabled.<br>
|
<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">"novel.html": auto reader's mode</a></p>
|
<a href="i:0hbookmark/novel.html:../../zh/searchurl/bookmark/novel.html">"novel.html": auto reader's mode</a></p>
|
||||||
<h3 id="science">Science</h3>
|
<h3 id="science">Science</h3>
|
||||||
<h4 id="physics">Physics</h4>
|
<h4 id="physics">Physics</h4>
|
||||||
<p><a href="https://www.feynmanlectures.caltech.edu/">Feynman lectures</a><br>
|
<p><a href="https://www.feynmanlectures.caltech.edu/">Feynman lectures</a><br>
|
||||||
|
|
|
@ -48,10 +48,10 @@
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<p><a href="../index.html">Uweb browser</a> loads all ".css" files under the folder "css" as global css. Click the following links to install global css files:</p>
|
<p><a href="../index.html">Uweb browser</a> loads all ".css" files under the folder "css" 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 "night.css" is used as night mode, click the following links to install one:<br>
|
<p>The file "night.css" 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:../../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_old.css">webview 80- night mode</a></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -175,6 +175,7 @@ Note: "Engines" needs file "engine.search",whose format is sam
|
||||||
|
|
||||||
<guid>/en/links/</guid>
|
<guid>/en/links/</guid>
|
||||||
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
||||||
|
Classified bookmarks
|
||||||
VPN
|
VPN
|
||||||
Switch configuration
|
Switch configuration
|
||||||
Wait for network msg
|
Wait for network msg
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<p>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):<br>
|
<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::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::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>
|
<p><a href="i:0gdefault.link::Certificate info:i:1c%0A">Certificate info</a></p>
|
||||||
|
|
11
index.html
11
index.html
|
@ -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>
|
||||||
|
|
|
@ -141,7 +141,7 @@ Personal use, not for public
|
||||||
Personal use 2
|
Personal use 2
|
||||||
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
|
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
|
||||||
&quot;小说.html&quot;: 自动使用阅读模式
|
&quot;小说.html&quot;: 自动使用阅读模式
|
||||||
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)
|
href=&quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html)
|
||||||
Mirrors Mirror list
|
Mirrors Mirror list
|
||||||
zlibirary
|
zlibirary
|
||||||
mirror.js.org
|
mirror.js.org
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。</p>
|
如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</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>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -57,8 +57,8 @@
|
||||||
<a href="https://www.123pan.com/s/cKA9-HFUCA">Personal use 2</a></p>
|
<a href="https://www.123pan.com/s/cKA9-HFUCA">Personal use 2</a></p>
|
||||||
<h3 id="分类书签模板">分类书签模板</h3>
|
<h3 id="分类书签模板">分类书签模板</h3>
|
||||||
<p>点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。<br>
|
<p>点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。<br>
|
||||||
<a href="i:0hbookmark/小说.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/novel.html">"小说.html": 自动使用阅读模式</a></p>
|
<a href="i:0hbookmark/小说.html:../searchurl/bookmark/novel.html">"小说.html": 自动使用阅读模式</a></p>
|
||||||
<p>href="i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)</a></p>
|
<p>href="i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)</a></p>
|
||||||
<h3 id="mirrors">Mirrors</h3>
|
<h3 id="mirrors">Mirrors</h3>
|
||||||
<p><a href="https://www.library.ac.cn">Mirror list</a><br>
|
<p><a href="https://www.library.ac.cn">Mirror list</a><br>
|
||||||
<a href="https://entry.zhelper.net">zlibirary</a><br>
|
<a href="https://entry.zhelper.net">zlibirary</a><br>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<p><a href="..">超微浏览器</a>访问以"/"结尾 (包括"/?"及后面参数)的"file://" url,则进入文件管理器。</p>
|
<p><a href="..">超微浏览器</a>访问以"/"结尾 (包括"/?"及后面参数)的"file://" url,则进入文件管理器。</p>
|
||||||
<p>对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有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,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有IMG开头的文件。此时可选定文件,并<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">安装checked.js</a>对选取文件进行批量处理。</p>
|
||||||
<p>文件批量处理配置<a href="../pccopy">default.select</a>例子:<br>
|
<p>文件批量处理配置<a href="../pccopy">default.select</a>例子:<br>
|
||||||
图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done</p>
|
图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done</p>
|
||||||
|
|
||||||
|
|
|
@ -48,11 +48,11 @@
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<p><a href="../index.html">超微浏览器</a>自动装载"css"目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:</p>
|
<p><a href="../index.html">超微浏览器</a>自动装载"css"目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:</p>
|
||||||
<p><a href="i:0hcss/使用默认字体.css:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/clearfont.css">强制使用默认字体</a><br>
|
<p><a href="i:0hcss/使用默认字体.css:../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>
|
<a href="i:0hcss/配合透明状态栏.css:../searchurl/txt/margintop.css">配合透明状态栏(沉浸)</a></p>
|
||||||
<p>文件"night.css"为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:<br>
|
<p>文件"night.css"为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:<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:../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_old.css">webview 80- 夜间模式</a></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -320,7 +320,7 @@ Personal use, not for public
|
||||||
Personal use 2
|
Personal use 2
|
||||||
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
|
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
|
||||||
&quot;小说.html&quot;: 自动使用阅读模式
|
&quot;小说.html&quot;: 自动使用阅读模式
|
||||||
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)
|
href=&quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html)
|
||||||
Mirrors Mirror list
|
Mirrors Mirror list
|
||||||
zlibirary
|
zlibirary
|
||||||
mirror.js.org
|
mirror.js.org
|
||||||
|
|
|
@ -75,7 +75,7 @@ mimetype用来表示命令的输入输出类型。格式为"[输入mimetype
|
||||||
html/text/html: 选中富文本为html格式, 输出mimetype为text/html。<br>
|
html/text/html: 选中富文本为html格式, 输出mimetype为text/html。<br>
|
||||||
/uweb: 选中文本为txt格式, 输出mimetype为<a href="../cmd">特殊扩充uweb</a>,超微将把输出作为<a href="../links">链接</a>来处理。<br>
|
/uweb: 选中文本为txt格式, 输出mimetype为<a href="../cmd">特殊扩充uweb</a>,超微将把输出作为<a href="../links">链接</a>来处理。<br>
|
||||||
/termux: 命令运行结果将作为termux下命令运行。<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,后面可附"?[文件前缀][<em>[文件后缀]]"。譬如"file:///sdcard/?</em>.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)</p>
|
<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">checked.js</a>: 运行配置目录下checked.js,其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][<em>[文件后缀]]"。譬如"file:///sdcard/?</em>.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)</p>
|
||||||
<p>配置default.select如下:<br>
|
<p>配置default.select如下:<br>
|
||||||
复制文本到地址栏:/uweb:printf i:15;cat<br>
|
复制文本到地址栏:/uweb:printf i:15;cat<br>
|
||||||
复制至PC剪贴板::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
复制至PC剪贴板::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
<li><a href="https://adzhp.cn/ji-lu-pian.html">纪录片</a></li>
|
<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>
|
<li><a href="https://adzhp.cn/wang-luo-zhi-bo.html">网络直播</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><a target="_self" href="i:0hbookmarklet/videoplayer.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/videoplay.js">点击安装"视频播放增强(倍速等),635+版本功能已内置,仅供高级用户定制参考。"</a></p>
|
<p><a target="_self" href="i:0hbookmarklet/videoplayer.js:../searchurl/txt/videoplay.js">点击安装"视频播放增强(倍速等),635+版本功能已内置,仅供高级用户定制参考。"</a></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue