mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
html5 application to support file urls by appending '?app='
This commit is contained in:
parent
716e044ad5
commit
2f3eee32c2
13 changed files with 69 additions and 86 deletions
|
@ -5,11 +5,11 @@
|
|||
<link>/en/_posts/</link>
|
||||
<description>Recent content in _posts on uweb browser</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 02 Aug 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Sun, 02 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
<pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
|
||||
<pubDate>Sun, 02 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
|
|
|
@ -62,8 +62,9 @@ Click to install the following html5 apps:<br>
|
|||
<ul>
|
||||
<li>All html5 applications locating in a subfolder whose name begins with "app" (such as "appPDF") are allowed to read local files. Use url "https://local/sdcard/..." for a local file.</li>
|
||||
<li><span style="color:red">All files under the subfolder "app" can be automatically choosed as file objects by any web page</span>.</li>
|
||||
<li><span style="color:red">Local files (including binary files) can be processed by appending "?app=[html5 app url] to the file urls.</span> Ex. "file:///..../xx.md?app=https://...../app.html" loads "app.html" first, then "app.html" processes the local file.</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 "app" can be accessed.</p>
|
||||
<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 "app" can be accessed; The third approach allows easy access of other external resources (ex. local media).</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 "custom file handling":<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>
|
||||
|
|
42
en/index.xml
42
en/index.xml
|
@ -5,7 +5,27 @@
|
|||
<link>/en/</link>
|
||||
<description>Recent content on uweb browser</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Fri, 16 Sep 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Sun, 02 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
<pubDate>Sun, 02 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
Click to install the following html5 apps:
|
||||
Huge markdown file viewer
|
||||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||||
plyr video player
|
||||
dplayer video player
|
||||
pdf viewer
|
||||
epub reader (author:llili)
|
||||
djvu viewer
|
||||
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 &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Downloads</title>
|
||||
<link>/en/changelog/</link>
|
||||
|
@ -23,26 +43,6 @@ re-implement html5 enhancement for better mdict lookup support. 908:
|
|||
Add internal links &quot;i:1d&quot; to launch apps. (to fix &quot;am&quot; issues for Android 8+) File sending now supports pseudo file manager (page url faked as a file url for folder), thus scripts of internal links &quot;d:&quot; can generate any kind of pseudo file manager for file transfer.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
<pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
Click to install the following html5 apps:
|
||||
Huge markdown file viewer
|
||||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||||
plyr video player
|
||||
dplayer video player
|
||||
pdf viewer
|
||||
epub reader (author:llili)
|
||||
djvu viewer
|
||||
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 &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Address bar command modes</title>
|
||||
<link>/en/acmd/</link>
|
||||
|
|
|
@ -2,6 +2,45 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/_posts/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/_posts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/html5/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/html5/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/html5/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/changelog/</loc>
|
||||
<lastmod>2022-09-16T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
|
@ -17,45 +56,6 @@
|
|||
hreflang="en"
|
||||
href="/en/topposts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2022-09-16T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2022-08-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/_posts/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/_posts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/html5/</loc>
|
||||
<lastmod>2022-08-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/html5/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/html5/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/acmd/</loc>
|
||||
<lastmod>2022-07-30T00:00:00+00:00</lastmod>
|
||||
|
|
11
index.html
11
index.html
|
@ -1,10 +1 @@
|
|||
<!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>
|
||||
<meta http-equiv="refresh" content="0; url=en/index.html">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<sitemap>
|
||||
<loc>en/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2022-09-16T00:00:00+00:00</lastmod>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
|
|
|
@ -155,6 +155,7 @@ gozer 广告屏蔽样式
|
|||
<guid>/zh/links/</guid>
|
||||
<description>点击以下链接可安装至常用链接:
|
||||
VPN
|
||||
wireless
|
||||
显示网站安全证书
|
||||
迅雷盘离线
|
||||
网页全屏
|
||||
|
@ -552,8 +553,6 @@ oed索引
|
|||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
|
|
|
@ -334,6 +334,7 @@ gozer 广告屏蔽样式
|
|||
<guid>/zh/links/</guid>
|
||||
<description>点击以下链接可安装至常用链接:
|
||||
VPN
|
||||
wireless
|
||||
显示网站安全证书
|
||||
迅雷盘离线
|
||||
网页全屏
|
||||
|
@ -764,8 +765,6 @@ oed索引
|
|||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
</ul>
|
||||
<p>点击以下链接可安装至常用链接:<br>
|
||||
<a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a><br>
|
||||
<a href="i:0gdefault.link::wireless:i:1dandroid.settings.WIRELESS_SETTINGS:::%0A">wireless</a><br>
|
||||
<a href="i:0gdefault.link::显示安全证书:i:1b%0A">显示网站安全证书</a><br>
|
||||
<a href="i:0gdefault.link::迅雷盘离线:http://pan.xunlei.com/ {let rsc=setInterval(function(){var offBtn=document.querySelector('.pan-dropdown-menu.plus-menu>a:nth-child(2)');if(offBtn){clearInterval(rsc);var wsc=setInterval(function(){offBtn.click();var textarea=document.querySelector('.fileurl-input__container>textarea');if(textarea){clearInterval(wsc);textarea.value='%25u';var event=document.createEvent('HTMLEvents');event.initEvent('input',false,true);textarea.dispatchEvent(event);document.querySelector('.pan-dialog-btn__primary').click();}},200);}},1000);}%0A">迅雷盘离线</a></p>
|
||||
<p><a href="i:0gdefault.link::网页全屏: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">网页全屏</a></p>
|
||||
|
|
|
@ -31,8 +31,6 @@ oed索引
|
|||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
|
|
|
@ -99,8 +99,6 @@ oed索引
|
|||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
|
|
|
@ -31,8 +31,6 @@ oed索引
|
|||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
|
|
|
@ -73,8 +73,6 @@
|
|||
<a href="i:00oed:d:text/html:tdict_loc oed \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0IhtTMjeR6rdmd5:">安装oed至主屏</a></p>
|
||||
<p><a href="i:0hbe10.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/be10.tidx">大英百科索引</a><br>
|
||||
<a href="i:00be10:d:text/html:tdict_loc be10 \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0WfGAwo1S-kq1Lv:">安装be至主屏</a></p>
|
||||
<p><a href="i:0hmwu.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/mwu2020.tidx">Merriam Webster Unabridged</a><br>
|
||||
<a href="i:00mwu:d:text/html:u=\'http://d0.ananas.chaoxing.com/download/3f34bde51d3cdc83b90a957cf35a959e\';tdict_loc mwu \'%s\'|loc2html text/html.md.html $u mwu:">安装mwu至主屏</a></p>
|
||||
<p>以下工具需先安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a>,并启动一次完成初始化。</p>
|
||||
<h4 id="a-hrefi0bhttpfastlyjsdelivrnetghtorappinfouwebzhsearchurlbintdicttargz安装tdict词典工具a"><a href="i:0bhttp://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bin/tdict.tar.gz">安装tdict词典工具</a></h4>
|
||||
<p>安装完tdict词典工具以后,对dict目录下的汉语大字典文件如"dictXXX.xz"可在主屏.search文件配置如下字典查询:<br>
|
||||
|
|
Loading…
Reference in a new issue