mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Mon Aug 1 09:37:00 AM CST 2022
This commit is contained in:
parent
1d24854e0b
commit
26bfc316fc
15 changed files with 137 additions and 97 deletions
|
@ -179,6 +179,17 @@ The "[file extension]" part can have at most two-segment of ex
|
|||
&quot;[command line]&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 &quot;swipe to hide tools&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 &quot;default.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Blocking domain trees</title>
|
||||
<link>/en/adblock_domain/</link>
|
||||
|
|
|
@ -53,7 +53,7 @@ output;plot %25s'%0A">GNUPlot plot (2D function), needs uweb adapted termux &
|
|||
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>
|
||||
<a href="i:15cd;toybox ln -s /sdcard/Download/app">symbolic link "app" folder to be under the "Download" folder</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
70
en/gesture/index.html
Normal file
70
en/gesture/index.html
Normal 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 "swipe to hide tools"; 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 "default.gesture", 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 "default.gesture" 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 "s" and "e" are the above defined numbers for the gesture start point and end point. Let "linenumber = 3*s+e" , 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 "10" each time.</li>
|
||||
</ul>
|
||||
<p>The final line number will match the corresponding line in "default.gesture", 0 to the first line, ...</p>
|
||||
<p>"default.gesture2" is for the right side gesturs and the algorithm is similar to "default.gesture".</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>
|
|
@ -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>
|
||||
|
|
13
en/index.xml
13
en/index.xml
|
@ -64,7 +64,7 @@ Note: "Engines" needs file "engine.search",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 &quot;[file extension]&quot; part can have at most two-segment of ex
|
|||
&quot;[command line]&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 &quot;swipe to hide tools&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 &quot;default.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Blocking domain trees</title>
|
||||
<link>/en/adblock_domain/</link>
|
||||
|
|
|
@ -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&q=</a></p>
|
||||
<p>Developer:<br>
|
||||
<a href="i:00git:https://github.com/search?type=Repositories&q=">git:https://github.com/search?type=Repositories&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&q=">git:https://github.com/search?type=Repositories&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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -32,7 +32,7 @@ Note: "Engines" needs file "engine.search",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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue