use relative path for one-click config

This commit is contained in:
James Feng Cao 2022-09-13 17:29:06 +08:00
parent fe41bb41a4
commit 154e688892
7 changed files with 29 additions and 24 deletions

View File

@ -2,7 +2,6 @@
<center><b>使用攻略</b> <a href="../assets/help_en.html">English</a></center>
<p>访问以下网站并点击网页内部功能链接可扩充浏览器功能。<br>
<a href=".">更新、插件、设置及使用技巧</a> (
<a href="https://torappinfo.bitbucket.io/zh/">bitbucket</a>
<a href="https://jamesfengcao.gitlab.io/uweb/zh/">gitlab</a>
<a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html">repo</a>
<a href="https://jamesfengcao.codeberg.page/zh/">codeberg</a>
@ -22,7 +21,11 @@
<a href="i:0mi:5h:https://git.launchpad.net/uweb/plain/redirect.html">试验9</a>
<a href="i:0m04:https://framagit.org/torappinfo/uweb/-/raw/master/redirect.html">试验10</a>
<a href="i:0m04:https://agit.ai/jamesfengcao/uweb/raw/branch/master/redirect.html">试验11</a>
<a href="i:0mi:5h:https://fastly.jsdelivr.net/gh/torappinfo/uweb/redirect.html">试验12</a>
<a href="i:0m04:https://git.froggi.es/jamesfengcao/uweb/raw/branch/master/redirect.html">试验12</a>
<a href="i:0m04:https://git.disroot.org/torappinfo/uweb/raw/branch/master/redirect.html">试验13</a>
<a href="i:0m04:https://gitdab.com/jamesfengcao/uweb/raw/branch/master/redirect.html>试验14</a>
<a href="i:0mi:5h:https://fastly.jsdelivr.net/gh/torappinfo/uweb/redirect.html">试验15</a>
<a href="https://torappinfo.bitbucket.io/zh/">bitbucket</a>
<a href="https://uweb-zh.vercel.app/zh/">vercel</a>
<a href="https://uwebzh.pages.dev/zh/">pages</a>
)<br>

View File

@ -21,7 +21,7 @@ dplayer video player
pdf viewer
epub reader (authorllili)
djvu viewer
The corresponding menu can be installed with url services.
The corresponding menus can be installed with url services.
Features The following mentioned subfolders locate in the configuration folder.
All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description>
</item>

View File

@ -50,20 +50,22 @@
<p>This page is for <a href="../index.html">uweb browser</a>.</p>
<h4 id="html5-applications">Html5 applications</h4>
<p>Click to install the following html5 apps:<br>
<a target="_self" href="i:0happ/txtview.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
<a target="_self" href="i:0happ/markdeep.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br>
<a target="_self" href="i:0happ/plyr.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
<a target="_self" href="i:0happ/dplayer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/dplayer.html">dplayer video player</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br>
<a target="_self" href="i:0happ/epub.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br>
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/djvu.html">djvu viewer</a></p>
<p>The corresponding menu can be installed with <a href="../urls/index.html">url services</a>.</p>
<a target="_self" href="i:0happ/txtview.html:../../zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
<a target="_self" href="i:0happ/markdeep.html:../../zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br>
<a target="_self" href="i:0happ/plyr.html:../../zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
<a target="_self" href="i:0happ/dplayer.html:../../zh/searchurl/txt/dplayer.html">dplayer video player</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:../../zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br>
<a target="_self" href="i:0happ/epub.html:../../zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br>
<a target="_self" href="i:0happ/djvu.html:../../zh/searchurl/txt/djvu.html">djvu viewer</a></p>
<p>The corresponding menus can be installed with <a href="../urls/index.html">url services</a>.</p>
<h4 id="features">Features</h4>
<p>The following mentioned subfolders locate in the configuration folder.</p>
<ul>
<li>All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files. Use url &quot;https://local/sdcard/...&quot; for a local file.</li>
<li><span style="color:red">All files under the subfolder &quot;app&quot; can be automatically choosed as file objects by any web page</span>.</li>
</ul>
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder &quot;app&quot; can be accessed.</p>
<h4 id="open-local-files-with-html5-apps">Open local files with html5 apps</h4>
<p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option &quot;custom file handling&quot;:<br>
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
<p>url examples are as follows:</p>
@ -87,9 +89,9 @@
<li>Press &quot;enter&quot; on the address bar to execute the command.</li>
</ul>
<h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4>
<p>i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=%s</p>
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=%s</p>
<p>The dictionary files (mdx, mdd) must locate in the &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;.</p>
<p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p>
<p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p>
<p>After pasting the command to the address bar, press home screen button, then press &quot;enter&quot; on the address bar to execute the command.</p>
</div>

View File

@ -21,7 +21,7 @@ dplayer video player
pdf viewer
epub reader (authorllili)
djvu viewer
The corresponding menu can be installed with url services.
The corresponding menus can be installed with url services.
Features The following mentioned subfolders locate in the configuration folder.
All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description>
</item>

View File

@ -13,7 +13,7 @@
<guid>/zh/html5/</guid>
<description>mdict字典搜索引擎:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=
字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。
点击安装超大文件阅读器支持txt, html, markdown
点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等

View File

@ -48,15 +48,15 @@
</ul>
<p>mdict字典搜索引擎:<br>
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=</p>
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=</p>
<p>字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。</p>
<p><a target="_self" href="i:0happ/txtview.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br>
<a target="_self" href="i:0happ/markdeep.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br>
<a target="_self" href="i:0happ/plyr.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>
<a target="_self" href="i:0happ/dplayer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/dplayer.html">点击安装dplayer视频播放器</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/pdfviewer.html">点击安装pdf阅读器</a><br>
<a target="_self" href="i:0happ/epub.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/epub.html">点击安装epub阅读器(作者llili)</a><br>
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/djvu.html">点击安装djvu阅读器</a><br>
<p><a target="_self" href="i:0happ/txtview.html:../searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br>
<a target="_self" href="i:0happ/markdeep.html:../searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br>
<a target="_self" href="i:0happ/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>
<a target="_self" href="i:0happ/dplayer.html:../searchurl/txt/dplayer.html">点击安装dplayer视频播放器</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:../searchurl/txt/pdfviewer.html">点击安装pdf阅读器</a><br>
<a target="_self" href="i:0happ/epub.html:../searchurl/txt/epub.html">点击安装epub阅读器(作者llili)</a><br>
<a target="_self" href="i:0happ/djvu.html:../searchurl/txt/djvu.html">点击安装djvu阅读器</a><br>
相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p>
<p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p>
<p><a href="../filecap/index.html">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br>

View File

@ -88,7 +88,7 @@ novip:https://www.novipnoad.com/s=
<guid>/zh/html5/</guid>
<description>mdict字典搜索引擎:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=
字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。
点击安装超大文件阅读器支持txt, html, markdown
点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等