mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Sun Jul 31 04:18:31 PM CST 2022
This commit is contained in:
parent
4087db750e
commit
1d24854e0b
15 changed files with 289 additions and 96 deletions
|
@ -12,10 +12,10 @@
|
|||
)
|
||||
|
||||
- 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.
|
||||
- Customizable: user-defined menus (or buttons/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.
|
||||
- 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 if enhanced by Termux.
|
||||
|
||||
#### 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.).
|
||||
|
|
|
@ -5,7 +5,39 @@
|
|||
<link>/en/_posts/</link>
|
||||
<description>Recent content in _posts on </description>
|
||||
<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 &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;.
|
||||
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 (author:llili)
|
||||
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 &quot;default.acmd&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 &quot;refresh&quot; botton to switch modes):
|
||||
Shell command mode
|
||||
&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- )</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Configuration folders/files</title>
|
||||
<link>/en/filenames/</link>
|
||||
|
@ -77,22 +109,6 @@ Toggle all checkboxes in forms
|
|||
Enable selection</description>
|
||||
</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 &quot;default.cmds&quot; examples:
|
||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -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&gt;a.tmp;mv a.tmp default.autoc;&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>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
|
|
61
en/acmd/index.html
Normal file
61
en/acmd/index.html
Normal 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 "default.acmd" 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 "refresh" botton to switch modes):</p>
|
||||
<p><a href="i:0gdefault.acmd::shell:text/plain:%25s%0A">Shell command mode</a></p>
|
||||
<p><a href="i:0gdefault.acmd::bc:text/plain:echo "%25s"|bc -l -q%0A">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 & 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 & 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 "enter" to execute:<br>
|
||||
<a href="i:15cd;toyboy ln -s /sdcard/Download/app">symbolic link "app" folder to be under the "Download" folder</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
85
en/html5/index.html
Normal file
85
en/html5/index.html
Normal 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 "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".</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 (author:llili)</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 "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>
|
||||
</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 "custom file handling":<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]&[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]&[length]</li>
|
||||
</ul>
|
||||
<p>Ex. "#offset=10000&500" will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -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">
|
||||
<a href="filenames/index.html">
|
||||
<span>Configuration folders/files</span>
|
||||
|
@ -113,12 +125,6 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="cmds/index.html">
|
||||
<span>Commands</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="pccopy/index.html">
|
||||
<span>Text selection</span>
|
||||
|
|
50
en/index.xml
50
en/index.xml
|
@ -5,7 +5,39 @@
|
|||
<link>/en/</link>
|
||||
<description>Recent content on </description>
|
||||
<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 &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;.
|
||||
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 (author:llili)
|
||||
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 &quot;default.acmd&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 &quot;refresh&quot; botton to switch modes):
|
||||
Shell command mode
|
||||
&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- )</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Search engines</title>
|
||||
<link>/en/search/</link>
|
||||
|
@ -168,22 +200,6 @@ Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
|||
Clear logcat::logcat -c</description>
|
||||
</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 &quot;default.cmds&quot; examples:
|
||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -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&gt;a.tmp;mv a.tmp default.autoc;&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>
|
||||
<title>Execute javascript codes</title>
|
||||
<link>/en/rjs/</link>
|
||||
|
|
|
@ -140,6 +140,7 @@
|
|||
<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: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: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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
|
||||
<lastmod>2022-07-31T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -14,6 +14,35 @@
|
|||
hreflang="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>
|
||||
<loc>/en/search/</loc>
|
||||
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
|
||||
|
@ -56,19 +85,6 @@
|
|||
</url><url>
|
||||
<loc>/en/changelog/</loc>
|
||||
<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>
|
||||
<loc>/en/filenames/</loc>
|
||||
<lastmod>2022-06-30T00:00:00+00:00</lastmod>
|
||||
|
@ -173,19 +189,6 @@
|
|||
hreflang="en"
|
||||
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>
|
||||
<loc>/en/rjs/</loc>
|
||||
<lastmod>2022-06-01T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<sitemap>
|
||||
<loc>en/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
|
||||
<lastmod>2022-07-31T00:00:00+00:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
|
|
|
@ -399,8 +399,7 @@ webview 80- 夜间模式</description>
|
|||
<pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/zh/bc/</guid>
|
||||
<description>使用uweb浏览器。
|
||||
Gnu bc计算器支持无限精度,可扩展函数库、常数库。
|
||||
<description>Gnu bc计算器支持无限精度,可扩展函数库、常数库。
|
||||
安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令:
|
||||
apt update
|
||||
apt upgrade
|
||||
|
|
|
@ -43,8 +43,7 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p>使用<a href="https://www.coolapk.com/apk/info.torapp.uweb">uweb浏览器</a>。<br>
|
||||
Gnu bc计算器支持无限精度,可扩展函数库、常数库。</p>
|
||||
<p>Gnu bc计算器支持无限精度,可扩展函数库、常数库。</p>
|
||||
<h3 id="安装bc-android11无需安装">安装bc (Android11+无需安装)</h3>
|
||||
<ul>
|
||||
<li>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a></li>
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
<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('en')">English</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</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 href="../urls/index.html">浏览器特色服务</a></p>
|
||||
<p>超微配置目录下的子目录名如果以"app"开始(譬如"appPDF"),则这些"app"开头目录树下放置的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>
|
||||
<p>超大文件阅读器txtview.html url如下:<br>
|
||||
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]<br>
|
||||
|
|
|
@ -611,8 +611,7 @@ webview 80- 夜间模式</description>
|
|||
<pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/zh/bc/</guid>
|
||||
<description>使用uweb浏览器。
|
||||
Gnu bc计算器支持无限精度,可扩展函数库、常数库。
|
||||
<description>Gnu bc计算器支持无限精度,可扩展函数库、常数库。
|
||||
安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令:
|
||||
apt update
|
||||
apt upgrade
|
||||
|
|
|
@ -75,20 +75,24 @@
|
|||
</section>
|
||||
<script>
|
||||
//?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 wordinput = document.getElementById('word');
|
||||
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);
|
||||
location.href="i:5fsetTimeout(()=>{dictinput.click()},20);setTimeout(()=>{btnLookup.click();dictinput.removeAttribute('accept');},70)";
|
||||
}
|
||||
window.addEventListener('hashchange', function() {
|
||||
wordinput.value = location.hash.substring(6);
|
||||
btnLookup.click();
|
||||
});
|
||||
window.onhashchange();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -56,6 +56,16 @@
|
|||
</url><url>
|
||||
<loc>/zh/html5/</loc>
|
||||
<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>
|
||||
<loc>/zh/sitemap/</loc>
|
||||
<lastmod>2022-07-27T00:00:00+00:00</lastmod>
|
||||
|
@ -137,16 +147,6 @@
|
|||
</url><url>
|
||||
<loc>/zh/cmds/</loc>
|
||||
<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>
|
||||
<loc>/zh/cmds/</loc>
|
||||
<lastmod>2022-06-01T00:00:00+00:00</lastmod>
|
||||
|
|
Loading…
Reference in a new issue