rebuilding site Sun Jul 31 04:18:31 PM CST 2022

This commit is contained in:
James Feng Cao 2022-07-31 16:18:31 +08:00
parent 4087db750e
commit 1d24854e0b
15 changed files with 289 additions and 96 deletions

View file

@ -12,10 +12,10 @@
) )
- Tiny: less than 200k - Tiny: less than 200k
- Fast: run fast, more apparently with thousands of user provided css/scripts - Fast: run fast, even with thousands of user provided css/scripts
- Efficient: less touches, one click to reach any number of search engines without repeated input. - Efficient: less touches, one click to reach any number of search engines without repeated input.
- Customizable: user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. - Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.
- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more with uweb compatible Termux. - Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more if enhanced by Termux.
#### Main features #### Main features
TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.). TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).

View file

@ -5,7 +5,39 @@
<link>/en/_posts/</link> <link>/en/_posts/</link>
<description>Recent content in _posts on </description> <description>Recent content in _posts on </description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Thu, 30 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" /> <lastBuildDate>Sun, 31 Jul 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>Sun, 31 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/html5/</guid>
<description>mdict dictionary lookup search engine:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
The dictionary files (mdx, mdd) must locate in the &amp;quot;app&amp;quot; subfolder under the configuration folder. In above example, the files &amp;quot;xxx.mdx&amp;quot; and &amp;quot;xxx.mdd&amp;quot; locate in the folder &amp;quot;.../app/mdict&amp;quot;.
Html5 applications 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 (authorllili)
djvu viewer
The corresponding menu can be installed with url services.</description>
</item>
<item>
<title>Address bar command modes</title>
<link>/en/acmd/</link>
<pubDate>Sat, 30 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/acmd/</guid>
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.
The configure file &amp;quot;default.acmd&amp;quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &amp;quot;refresh&amp;quot; botton to switch modes):
Shell command mode
&amp;lt;a href=&amp;quot;i:0gdefault.acmd::bc:text/plain:echo &amp;quot;%25s&amp;quot;|bc -l -q%0A&amp;quot;&amp;gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
</item>
<item> <item>
<title>Configuration folders/files</title> <title>Configuration folders/files</title>
<link>/en/filenames/</link> <link>/en/filenames/</link>
@ -77,22 +109,6 @@ Toggle all checkboxes in forms
Enable selection</description> Enable selection</description>
</item> </item>
<item>
<title>Commands</title>
<link>/en/cmds/</link>
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/cmds/</guid>
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
Configuration file &amp;quot;default.cmds&amp;quot; examples:
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; -type f -delete
VPN::am start -a android.net.vpn.SETTINGS
wireless::am start -a android.settings.WIRELESS_SETTINGS
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
Clear logcat::logcat -c</description>
</item>
<item> <item>
<title>Text selection</title> <title>Text selection</title>
<link>/en/pccopy/</link> <link>/en/pccopy/</link>

61
en/acmd/index.html Normal file
View file

@ -0,0 +1,61 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>Address bar command modes</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
return 0;
}
function nav2(page){
let i = findLang();
location.href = location.href.substring(0,i+1)+page;
}
function nav2Lang(lang){
let i = findLang();
let href = location.href;
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
}
</script>
</head>
<body>
<header class='header'>
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Address bar command modes
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../cmds/index.html">Commands</a> are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.</p>
<p>The configure file &quot;default.acmd&quot; has the exactly same format as <a href="../cmds/index.html">default.cmds</a>. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; botton to switch modes):</p>
<p><a href="i:0gdefault.acmd::shell:text/plain:%25s%0A">Shell command mode</a></p>
<p>&lt;a href=&quot;i:0gdefault.acmd::bc:text/plain:echo &quot;%25s&quot;|bc -l -q%0A&quot;&gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</a></p>
<p><a href="i:0gdefault.acmd::plot 2D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
output;plot %25s'%0A">GNUPlot plot (2D function), needs uweb adapted termux &amp; gnuplot</a></p>
<p><a href="i:0gdefault.acmd::plot 3D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &amp; gnuplot</a></p>
<h4 id="shell-command-mode">Shell command mode</h4>
<p>Click the following links to make commands appear in address bar, then press &quot;enter&quot; to execute:<br>
<a href="i:15cd;toyboy ln -s /sdcard/Download/app">symbolic link &quot;app&quot; folder to be under the &quot;Download&quot; folder</a></p>
</div>
</body>
</html>

85
en/html5/index.html Normal file
View file

@ -0,0 +1,85 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>Html5 applications</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
return 0;
}
function nav2(page){
let i = findLang();
location.href = location.href.substring(0,i+1)+page;
}
function nav2Lang(lang){
let i = findLang();
let href = location.href;
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
}
</script>
</head>
<body>
<header class='header'>
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Html5 applications
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>mdict dictionary lookup search engine:<br>
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=</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>
<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/uwebzh/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/uwebzh/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/uwebzh/zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
<a target="_self" href="i:0happ/dplayer.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/dplayer.html">dplayer video player</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br>
<a target="_self" href="i:0happ/epub.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br>
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/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>
<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>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/uwebzh/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>
<ul>
<li>file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=...xx.pdf#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&amp;[length]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&amp;[length]</li>
</ul>
<p>Ex. &quot;#offset=10000&amp;500&quot; will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
</div>
</body>
</html>

View file

@ -89,6 +89,18 @@
<li class="post">
<a href="html5/index.html">
<span>Html5 applications</span>
</a>
</li>
<li class="post">
<a href="acmd/index.html">
<span>Address bar command modes</span>
</a>
</li>
<li class="post"> <li class="post">
<a href="filenames/index.html"> <a href="filenames/index.html">
<span>Configuration folders/files</span> <span>Configuration folders/files</span>
@ -113,12 +125,6 @@
</a> </a>
</li> </li>
<li class="post">
<a href="cmds/index.html">
<span>Commands</span>
</a>
</li>
<li class="post"> <li class="post">
<a href="pccopy/index.html"> <a href="pccopy/index.html">
<span>Text selection</span> <span>Text selection</span>

View file

@ -5,7 +5,39 @@
<link>/en/</link> <link>/en/</link>
<description>Recent content on </description> <description>Recent content on </description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 29 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" /> <lastBuildDate>Sun, 31 Jul 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, 31 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/html5/</guid>
<description>mdict dictionary lookup search engine:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
The dictionary files (mdx, mdd) must locate in the &amp;quot;app&amp;quot; subfolder under the configuration folder. In above example, the files &amp;quot;xxx.mdx&amp;quot; and &amp;quot;xxx.mdd&amp;quot; locate in the folder &amp;quot;.../app/mdict&amp;quot;.
Html5 applications 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 (authorllili)
djvu viewer
The corresponding menu can be installed with url services.</description>
</item>
<item>
<title>Address bar command modes</title>
<link>/en/acmd/</link>
<pubDate>Sat, 30 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/acmd/</guid>
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.
The configure file &amp;quot;default.acmd&amp;quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &amp;quot;refresh&amp;quot; botton to switch modes):
Shell command mode
&amp;lt;a href=&amp;quot;i:0gdefault.acmd::bc:text/plain:echo &amp;quot;%25s&amp;quot;|bc -l -q%0A&amp;quot;&amp;gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
</item>
<item> <item>
<title>Search engines</title> <title>Search engines</title>
<link>/en/search/</link> <link>/en/search/</link>
@ -168,22 +200,6 @@ Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
Clear logcat::logcat -c</description> Clear logcat::logcat -c</description>
</item> </item>
<item>
<title>Commands</title>
<link>/en/cmds/</link>
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/cmds/</guid>
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
Configuration file &amp;quot;default.cmds&amp;quot; examples:
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; -type f -delete
VPN::am start -a android.net.vpn.SETTINGS
wireless::am start -a android.settings.WIRELESS_SETTINGS
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
Clear logcat::logcat -c</description>
</item>
<item> <item>
<title>Execute javascript codes</title> <title>Execute javascript codes</title>
<link>/en/rjs/</link> <link>/en/rjs/</link>

View file

@ -140,6 +140,7 @@
<a href="i:00medical_freedict:https://medical-dictionary.thefreedictionary.com/">medical_freedict:https://medical-dictionary.thefreedictionary.com/</a></p> <a href="i:00medical_freedict:https://medical-dictionary.thefreedictionary.com/">medical_freedict:https://medical-dictionary.thefreedictionary.com/</a></p>
<p><a href="i:00merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=">merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=</a></p> <p><a href="i:00merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=">merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=</a></p>
<p><a href="i:00openmd:https://openmd.com/search?q=">openmd:https://openmd.com/search?q=</a></p> <p><a href="i:00openmd:https://openmd.com/search?q=">openmd:https://openmd.com/search?q=</a></p>
<p><a href="i:00radiopaedia:https://radiopaedia.org/search?q=">radiopaedia:https://radiopaedia.org/search?q=</a></p>
<p><a href="i:00medical-dict:https://medical-dictionary.com/results.php?term=">medical-dict:https://medical-dictionary.com/results.php?term=</a></p> <p><a href="i:00medical-dict:https://medical-dictionary.com/results.php?term=">medical-dict:https://medical-dictionary.com/results.php?term=</a></p>
<p><a href="i:00ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=">ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=</a></p> <p><a href="i:00ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=">ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=</a></p>
<p><a href="i:00healio:https://journals.healio.com/action/doSearch?AllField=">healio:https://journals.healio.com/action/doSearch?AllField=</a></p> <p><a href="i:00healio:https://journals.healio.com/action/doSearch?AllField=">healio:https://journals.healio.com/action/doSearch?AllField=</a></p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/en/</loc> <loc>/en/</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-31T00:00:00+00:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -14,6 +14,35 @@
hreflang="en" hreflang="en"
href="/en/" href="/en/"
/> />
</url><url>
<loc>/en/_posts/</loc>
<lastmod>2022-07-31T00: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-07-31T00: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>
</url><url> </url><url>
<loc>/en/search/</loc> <loc>/en/search/</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
@ -56,19 +85,6 @@
</url><url> </url><url>
<loc>/en/changelog/</loc> <loc>/en/changelog/</loc>
<lastmod>2022-07-09T00:00:00+00:00</lastmod> <lastmod>2022-07-09T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/_posts/</loc>
<lastmod>2022-06-30T00: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> </url><url>
<loc>/en/filenames/</loc> <loc>/en/filenames/</loc>
<lastmod>2022-06-30T00:00:00+00:00</lastmod> <lastmod>2022-06-30T00:00:00+00:00</lastmod>
@ -173,19 +189,6 @@
hreflang="en" hreflang="en"
href="/en/cmds/" href="/en/cmds/"
/> />
</url><url>
<loc>/en/cmds/</loc>
<lastmod>2022-06-02T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/cmds/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/cmds/"
/>
</url><url> </url><url>
<loc>/en/rjs/</loc> <loc>/en/rjs/</loc>
<lastmod>2022-06-01T00:00:00+00:00</lastmod> <lastmod>2022-06-01T00:00:00+00:00</lastmod>

View file

@ -4,7 +4,7 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <loc>en/sitemap.xml</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-31T00:00:00+00:00</lastmod>
</sitemap> </sitemap>

View file

@ -399,8 +399,7 @@ webview 80- 夜间模式</description>
<pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate> <pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/bc/</guid> <guid>/zh/bc/</guid>
<description>使用uweb浏览器。 <description>Gnu bc计算器支持无限精度可扩展函数库、常数库。
Gnu bc计算器支持无限精度可扩展函数库、常数库。
安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令 安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令
apt update apt update
apt upgrade apt upgrade

View file

@ -43,8 +43,7 @@
<ul class="tags"> <ul class="tags">
</ul> </ul>
<p>使用<a href="https://www.coolapk.com/apk/info.torapp.uweb">uweb浏览器</a><br> <p>Gnu bc计算器支持无限精度可扩展函数库、常数库。</p>
Gnu bc计算器支持无限精度可扩展函数库、常数库。</p>
<h3 id="安装bc-android11无需安装">安装bc (Android11+无需安装)</h3> <h3 id="安装bc-android11无需安装">安装bc (Android11+无需安装)</h3>
<ul> <ul>
<li>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a></li> <li>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a></li>

View file

@ -30,6 +30,10 @@
<header class='header'> <header class='header'>
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('en')">English</a>
<nav> <nav>
</nav> </nav>
</header> </header>
@ -55,7 +59,7 @@ i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/djvu.html">点击安装djvu阅读器</a><br> <a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/djvu.html">点击安装djvu阅读器</a><br>
相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p> 相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p>
<p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p> <p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p>
<p><a href="../filecap">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br> <p><a href="../filecap/index.html">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br>
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/filecap.cfg">点击配置pdf.js,djvu.js,epub.js,超大文件阅读器</a></p> <a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/filecap.cfg">点击配置pdf.js,djvu.js,epub.js,超大文件阅读器</a></p>
<p>超大文件阅读器txtview.html url如下:<br> <p>超大文件阅读器txtview.html url如下:<br>
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]<br> file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]<br>

View file

@ -611,8 +611,7 @@ webview 80- 夜间模式</description>
<pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate> <pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/bc/</guid> <guid>/zh/bc/</guid>
<description>使用uweb浏览器。 <description>Gnu bc计算器支持无限精度可扩展函数库、常数库。
Gnu bc计算器支持无限精度可扩展函数库、常数库。
安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令 安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令
apt update apt update
apt upgrade apt upgrade

View file

@ -75,20 +75,24 @@
</section> </section>
<script> <script>
//?file=./xxx/xx.xx,./xx/xx.xxx#word= //?file=./xxx/xx.xx,./xx/xx.xxx#word=
let filenames = location.search.substring(6);
let word = location.hash.substring(6);
let dictinput = document.getElementById('dictfile'); let dictinput = document.getElementById('dictfile');
let wordinput = document.getElementById('word'); let wordinput = document.getElementById('word');
let btnLookup = document.getElementById('btnLookup'); let btnLookup = document.getElementById('btnLookup');
wordinput.value = word; window.onhashchange = function() {
{ let v = location.hash.substring(6);
if(v.length>0){
wordinput.value = v;
//wordinput.dispatchEvent(new Event('change', {'bubbles': true}));
btnLookup.click();
}
};
let filenames = location.search.substring(6);
if(filenames.length>0){
dictinput.setAttribute('accept',filenames); dictinput.setAttribute('accept',filenames);
location.href="i:5fsetTimeout(()=>{dictinput.click()},20);setTimeout(()=>{btnLookup.click();dictinput.removeAttribute('accept');},70)"; location.href="i:5fsetTimeout(()=>{dictinput.click()},20);setTimeout(()=>{btnLookup.click();dictinput.removeAttribute('accept');},70)";
} }
window.addEventListener('hashchange', function() { window.onhashchange();
wordinput.value = location.hash.substring(6);
btnLookup.click();
});
</script> </script>
</body> </body>
</html> </html>

View file

@ -56,6 +56,16 @@
</url><url> </url><url>
<loc>/zh/html5/</loc> <loc>/zh/html5/</loc>
<lastmod>2022-07-27T00:00:00+00:00</lastmod> <lastmod>2022-07-27T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/html5/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/html5/"
/>
</url><url> </url><url>
<loc>/zh/sitemap/</loc> <loc>/zh/sitemap/</loc>
<lastmod>2022-07-27T00:00:00+00:00</lastmod> <lastmod>2022-07-27T00:00:00+00:00</lastmod>
@ -137,16 +147,6 @@
</url><url> </url><url>
<loc>/zh/cmds/</loc> <loc>/zh/cmds/</loc>
<lastmod>2022-06-01T00:00:00+00:00</lastmod> <lastmod>2022-06-01T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/cmds/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/cmds/"
/>
</url><url> </url><url>
<loc>/zh/cmds/</loc> <loc>/zh/cmds/</loc>
<lastmod>2022-06-01T00:00:00+00:00</lastmod> <lastmod>2022-06-01T00:00:00+00:00</lastmod>