rebuilding site Mon Aug 1 09:37:00 AM CST 2022

This commit is contained in:
James Feng Cao 2022-08-01 09:37:01 +08:00
parent 1d24854e0b
commit 26bfc316fc
15 changed files with 137 additions and 97 deletions

View File

@ -179,6 +179,17 @@ The "[file extension]" part can have at most two-segment of ex
&amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
</item>
<item>
<title>Gestures</title>
<link>/en/gesture/</link>
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
<guid>/en/gesture/</guid>
<description>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &amp;quot;swipe to hide tools&amp;quot;; swipe on the bottom corners to show the toolbar.
Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &amp;quot;default.</description>
</item>
<item>
<title>Blocking domain trees</title>
<link>/en/adblock_domain/</link>

View File

@ -53,7 +53,7 @@ output;plot %25s'%0A">GNUPlot plot (2D function), needs uweb adapted termux &amp
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>
<a href="i:15cd;toybox ln -s /sdcard/Download/app">symbolic link &quot;app&quot; folder to be under the &quot;Download&quot; folder</a></p>
</div>

70
en/gesture/index.html Normal file
View File

@ -0,0 +1,70 @@
<!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>Gestures</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">Gestures
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &quot;swipe to hide tools&quot;; swipe on the bottom corners to show the toolbar.</p>
<p>Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.</p>
<p>Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &quot;default.gesture&quot;, which has the same format as <a href="../links/index.html">default.link</a>.</p>
<p>The algorithm to match swiping gesture to a line in the file &quot;default.gesture&quot; is as follows:</p>
<ul>
<li>Divide the screen width to three parts evenly, assign each part with a number 0, 1, 2 respectively.</li>
<li>Assume &quot;s&quot; and &quot;e&quot; are the above defined numbers for the gesture start point and end point. Let &quot;linenumber = 3*s+e&quot; , if it is equal to 4 and the gesture's first direction is left, then change it to be 9.</li>
<li>For turning back and forth, add &quot;10&quot; each time.</li>
</ul>
<p>The final line number will match the corresponding line in &quot;default.gesture&quot;, 0 to the first line, ...</p>
<p>&quot;default.gesture2&quot; is for the right side gesturs and the algorithm is similar to &quot;default.gesture&quot;.</p>
<p>Example links:<br>
Toggle fullscreen::0003<br>
back:javascript:history.back()<br>
forward:javascript:history.forward()<br>
back2:javascript:history.go(-2)</p>
</div>
</body>
</html>

View File

@ -155,6 +155,12 @@
</a>
</li>
<li class="post">
<a href="gesture/index.html">
<span>Gestures</span>
</a>
</li>
<li class="post">
<a href="adblock_domain/index.html">
<span>Blocking domain trees</span>

View File

@ -64,7 +64,7 @@ Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is sam
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid>
<description>UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug </description>
<description>UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug </description>
</item>
<item>
@ -286,6 +286,17 @@ The &amp;quot;[file extension]&amp;quot; part can have at most two-segment of ex
&amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
</item>
<item>
<title>Gestures</title>
<link>/en/gesture/</link>
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
<guid>/en/gesture/</guid>
<description>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &amp;quot;swipe to hide tools&amp;quot;; swipe on the bottom corners to show the toolbar.
Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &amp;quot;default.</description>
</item>
<item>
<title>Blocking domain trees</title>
<link>/en/adblock_domain/</link>

View File

@ -155,7 +155,8 @@
<p><a href="i:00google scholar:https://scholar.google.com/scholar?q=">google scholar:https://scholar.google.com/scholar?q=</a></p>
<p><a href="i:00semanticscholar:https://www.semanticscholar.org/search?sort=relevance&q=">semanticscholar:https://www.semanticscholar.org/search?sort=relevance&amp;q=</a></p>
<p>Developer:<br>
<a href="i:00git:https://github.com/search?type=Repositories&amp;q=">git:https://github.com/search?type=Repositories&amp;q=</a></p>
<a href="i:00devdocs:https://devdocs.io/#q=">devdocs:https://devdocs.io/#q=</a></p>
<p><a href="i:00git:https://github.com/search?type=Repositories&amp;q=">git:https://github.com/search?type=Repositories&amp;q=</a></p>
<p><a href="i:00man:http://man.cx/">man:http://man.cx/</a></p>
<p><a href="i:00code:http://searchcode.com/?q=">code:http://searchcode.com/?q=</a></p>
<p><a href="i:00symbolhound:http://symbolhound.com/?q=">symbolhound:http://symbolhound.com/?q=</a></p>

View File

@ -335,6 +335,19 @@
hreflang="en"
href="/en/filecap/"
/>
</url><url>
<loc>/en/gesture/</loc>
<lastmod>2020-06-18T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/gesture/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/gesture/"
/>
</url><url>
<loc>/en/tags/adblock/</loc>
</url><url>

View File

@ -49,7 +49,7 @@
</ul>
<h4 id="ui">UI</h4>
<ul>
<li><a href="../searchurl/search.html">Search engines</a></li>
<li><a href="../search/index.html">Search engines</a></li>
<li><a href="../searchurl/homescreen.html">Home screen</a>
<ul>
<li><a href="../searchurl/quickstart.html">Quick start</a></li>
@ -63,8 +63,8 @@
<li>Bottom toolbar button long pressing menus
<ul>
<li><a href="../searchurl/uas.html">User agents</a></li>
<li><a href="../searchurl/rjs.html">Javascript</a></li>
<li><a href="../searchurl/urls.html">Url services</a></li>
<li><a href="../rjs/index.html">Javascript</a></li>
<li><a href="../urls/index.html">Url services</a></li>
<li><a href="../links/index.html">Links</a></li>
<li><a href="../cmds/index.html">Commands</a></li>
<li><a href="../searchurl/rjs.html">Remote javascript</a></li>
@ -74,6 +74,7 @@
<li><a href="../longclick/index.html">Menu for long pressing hypertext</a></li>
<li><a href="../icons/index.html">Toolbar</a></li>
<li><a href="../gesture/index.html">Gestures</a></li>
<li><a href="../acmd/index.html">Address bar command modes</a></li>
<li><a href="i:60config.html:https://jamesfengcao.gitee.io/uwebzh/en/searchurl/config.html">Font settings</a></li>
</ul>
<h4 id="advanced">Advanced</h4>

View File

@ -32,7 +32,7 @@ Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is sam
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid>
<description>UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug </description>
<description>UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug </description>
</item>
<item>

View File

@ -94,32 +94,6 @@ Enables all form elements
BugMeNot</description>
</item>
<item>
<title>配置浏览器常用命令</title>
<link>/zh/cmds/</link>
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/cmds/</guid>
<description>超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。
打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示支持数学公式、各类图表
配置文件&amp;quot;default.cmds&amp;quot;示例:
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; -type f -delete
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
VPN::am start -a android.net.vpn.SETTINGS
无线::am start -a android.settings.WIRELESS_SETTINGS
合并查询历史至自动填充: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
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
清空logcat::logcat -c
输出logcat.log::logcat -d &amp;gt; logcat.log
复制cookie:/clip:printf &#39;%c&#39;
tgz install::toybox tar -xzf %f -C /
以下命令需修改接收端IP定制。另外发送消息前接收端需首先执行“等待网络消息”命令。
发送剪贴板:clip/uweb:printf &#39;i:5ji:5b&#39;;cat
发送url::printf &#39;%u&#39;|/system/bin/toybox nc 192.168.2.155 1500
发送url(播放器)::printf &#39;i:5g%u&#39;|/system/bin/toybox nc 192.</description>
</item>
<item>
<title>Android TV</title>
<link>/zh/androidtv/</link>
@ -644,15 +618,6 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外
复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -i&#34; PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -o&#34; </description>
</item>
<item>
<title>便利链接</title>
<link>/zh/urls/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/urls/</guid>
<description>Termux内部目录</description>
</item>
<item>
<title>电视直播</title>
<link>/zh/tvlive/</link>

View File

@ -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>

View File

@ -111,12 +111,6 @@
</a>
</li>
<li class="post">
<a href="cmds/index.html">
<span>配置浏览器常用命令</span>
</a>
</li>
<li class="post">
<a href="androidtv/index.html">
<span>Android TV</span>
@ -243,12 +237,6 @@
</a>
</li>
<li class="post">
<a href="urls/index.html">
<span>便利链接</span>
</a>
</li>
<li class="post">
<a href="tvlive/index.html">
<span>电视直播</span>

View File

@ -268,32 +268,6 @@ VPN::am start -a android.net.vpn.SETTINGS
输出logcat.log::logcat -d &amp;gt; logcat.log
复制cookie:/clip:printf &#39;%c&#39;
tgz install::toybox tar -xzf %f -C /
以下命令需修改接收端IP定制。另外发送消息前接收端需首先执行“等待网络消息”命令。
发送剪贴板:clip/uweb:printf &#39;i:5ji:5b&#39;;cat
发送url::printf &#39;%u&#39;|/system/bin/toybox nc 192.168.2.155 1500
发送url(播放器)::printf &#39;i:5g%u&#39;|/system/bin/toybox nc 192.</description>
</item>
<item>
<title>配置浏览器常用命令</title>
<link>/zh/cmds/</link>
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/cmds/</guid>
<description>超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。
打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示支持数学公式、各类图表
配置文件&amp;quot;default.cmds&amp;quot;示例:
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; -type f -delete
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
VPN::am start -a android.net.vpn.SETTINGS
无线::am start -a android.settings.WIRELESS_SETTINGS
合并查询历史至自动填充: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
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
清空logcat::logcat -c
输出logcat.log::logcat -d &amp;gt; logcat.log
复制cookie:/clip:printf &#39;%c&#39;
tgz install::toybox tar -xzf %f -C /
下面配置需要root权限
解冻微信::su -c &#39;pm enable com.tencent.mm&#39;
冻结微信::su -c &#39;pm disable com.</description>
@ -856,15 +830,6 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外
复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -i&#34; PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -o&#34; </description>
</item>
<item>
<title>便利链接</title>
<link>/zh/urls/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/urls/</guid>
<description>Termux内部目录</description>
</item>
<item>
<title>电视直播</title>
<link>/zh/tvlive/</link>

View File

@ -39,13 +39,13 @@
#mdict-online-viewer {
font-size: 14px;
font-family: "Georgia", "Times New Roman";
height: 600px;
height: 100%;
width: 100%;
}
#mdict-online-viewer #definition {
font-size: 14px;
height: 500px;
height: 100%;
overflow: auto;
}
@ -90,7 +90,7 @@
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)";
location.href="i:5fdictinput.click();setTimeout(()=>{btnLookup.click();dictinput.removeAttribute('accept');},70)";
}
window.onhashchange();
</script>

View File

@ -144,9 +144,6 @@
hreflang="zh"
href="/zh/bookmarklet/"
/>
</url><url>
<loc>/zh/cmds/</loc>
<lastmod>2022-06-01T00:00:00+00:00</lastmod>
</url><url>
<loc>/zh/cmds/</loc>
<lastmod>2022-06-01T00:00:00+00:00</lastmod>
@ -411,6 +408,16 @@
</url><url>
<loc>/zh/gesture/</loc>
<lastmod>2020-06-18T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/gesture/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/gesture/"
/>
</url><url>
<loc>/zh/cmd/</loc>
<lastmod>2018-01-20T00:00:00+00:00</lastmod>
@ -426,8 +433,6 @@
hreflang="zh"
href="/zh/categories/"
/>
</url><url>
<loc>/zh/urls/</loc>
</url><url>
<loc>/zh/tags/%E7%94%B5%E8%A7%86/</loc>
</url><url>