rebuilding site Mon Jul 4 04:12:06 PM CST 2022

This commit is contained in:
James Feng Cao 2022-07-04 16:12:06 +08:00
parent 0ef2ef46fe
commit adea7f49a0
48 changed files with 1098 additions and 46 deletions

View file

@ -81,6 +81,59 @@ Toggle all checkboxes in forms
Enable selection</description>
</item>
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/en/icons/</guid>
<description>If subfolder &amp;quot;icon&amp;quot; exists, then files named as &amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...
are used for icons in the bottom toolbar. file &amp;quot;0&amp;quot; to replace the left arrow button, &amp;quot;1&amp;quot; for right arrow button, &amp;quot;2&amp;quot; for the setting button,&amp;quot;3&amp;quot; for the home screen button,...
If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also supports VectorDrawable with &amp;quot;android compiled XML&amp;quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &amp;quot;/sdcard/uweb/default.longclick&amp;quot; has the following format: (same as default.cmds)
[Name]:[mimetype]:[command line]
in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.
To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;/sdcard/uweb/longclick&amp;quot; are part of the popup menu.
These javascript files are in the following format:
The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
<item>
<title>Blocking domain trees</title>
<link>/en/adblock_domain/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<description>hosts blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &amp;quot;yahoo.com&amp;quot; and &amp;quot;finance.yahoo.com&amp;quot;. If the length of the last 2 segments is less than 7, such as &amp;quot;com.pl&amp;quot;, then it is treated as one segment, so domains like &amp;quot;xxx.xxx.com.pl&amp;quot; are also valid in the hosts file.
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>

View file

@ -0,0 +1,46 @@
<!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>Blocking domain trees</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">Blocking domain trees
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/adblock">adblock</a> </li>
</ul>
<p><a href="file:///sdcard/uweb/default.hosts">hosts</a> blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &quot;yahoo.com&quot; and &quot;finance.yahoo.com&quot;. If the length of the last 2 segments is less than 7, such as &quot;com.pl&quot;, then it is treated as one segment, so domains like &quot;xxx.xxx.com.pl&quot; are also valid in the hosts file.</p>
<p>Each line of the hosts file has the following format:<br>
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without &quot;http(s)://&quot;]<br>
The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.</p>
</div>
</body>
</html>

45
en/icons/index.html Normal file
View file

@ -0,0 +1,45 @@
<!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>Toolbar customization</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">Toolbar customization
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>If subfolder &quot;icon&quot; exists, then files named as &quot;0&quot;,&quot;1&quot;,&quot;2&quot;...<br>
are used for icons in the bottom toolbar. file &quot;0&quot; to replace the left arrow button, &quot;1&quot; for right arrow button, &quot;2&quot; for the setting button,&quot;3&quot; for the home screen button,...</p>
<p>If a new button is defined (file name &quot;20&quot; exists), uweb also supports VectorDrawable with &quot;android compiled XML&quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</p>
<p>用户可定义任意多个按钮(100个按钮毫无压力)其短按长按功能可在文件default.button及default.button2中定义格式与文件<a href="../links">default.link</a>完全相同,每行从最后一个按钮开始重定义功能。</p>
<p>注意:刷新按钮及窗口按钮图标暂时不能重定义。</p>
</div>
</body>
</html>

View file

@ -82,6 +82,30 @@
</a>
</li>
<li class="post">
<a href="pccopy/index.html">
<span>Text selection</span>
</a>
</li>
<li class="post">
<a href="icons/index.html">
<span>Toolbar customization</span>
</a>
</li>
<li class="post">
<a href="longclick/index.html">
<span>Long pressed link menu</span>
</a>
</li>
<li class="post">
<a href="adblock_domain/index.html">
<span>Blocking domain trees</span>
</a>
</li>
<li class="post">
<a href="sitejs/index.html">
<span>Javascript and CSS for domains</span>

View file

@ -81,6 +81,59 @@ Toggle all checkboxes in forms
Enable selection</description>
</item>
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/en/icons/</guid>
<description>If subfolder &amp;quot;icon&amp;quot; exists, then files named as &amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...
are used for icons in the bottom toolbar. file &amp;quot;0&amp;quot; to replace the left arrow button, &amp;quot;1&amp;quot; for right arrow button, &amp;quot;2&amp;quot; for the setting button,&amp;quot;3&amp;quot; for the home screen button,...
If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also supports VectorDrawable with &amp;quot;android compiled XML&amp;quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &amp;quot;/sdcard/uweb/default.longclick&amp;quot; has the following format: (same as default.cmds)
[Name]:[mimetype]:[command line]
in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.
To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;/sdcard/uweb/longclick&amp;quot; are part of the popup menu.
These javascript files are in the following format:
The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
<item>
<title>Blocking domain trees</title>
<link>/en/adblock_domain/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<description>hosts blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &amp;quot;yahoo.com&amp;quot; and &amp;quot;finance.yahoo.com&amp;quot;. If the length of the last 2 segments is less than 7, such as &amp;quot;com.pl&amp;quot;, then it is treated as one segment, so domains like &amp;quot;xxx.xxx.com.pl&amp;quot; are also valid in the hosts file.
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>

53
en/longclick/index.html Normal file
View file

@ -0,0 +1,53 @@
<!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>Long pressed link menu</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">Long pressed link menu
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/javascript">javascript</a> </li>
</ul>
<h4 id="to-run-commands">To run commands</h4>
<p>Each line of file &quot;<a href="file:///sdcard/uweb/default.longclick">/sdcard/uweb/default.longclick</a>&quot; has the following format: (same as <a href="../searchurl/cmds.html">default.cmds</a>)<br>
[Name]:[mimetype]:[command line]<br>
in which [command line] can have <a href="../searchurl/cmds.html">&quot;%c&quot; (cookie), &quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc.</p>
<h4 id="to-visit-url-and-load-javascript-file">To visit url and load javascript file</h4>
<p>All &quot;.js&quot; files under the folder &quot;<a href="file:///sdcard/uweb/longclick/">/sdcard/uweb/longclick</a>&quot; are part of the popup menu.<br>
These javascript files are in the following format:</p>
<ul>
<li>The very first line can begin with &quot;//&quot; followed by website url that can have <a href="../searchurl/cmds.html">&quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.</li>
<li>In the &quot;.js&quot; file, variable &quot;arguments&quot; can be used to get parameters. in which arguments[1] is the long-pressed link url, argument[2] is the text description and arguments[0] is the &quot;.js&quot; file name.</li>
</ul>
</div>
</body>
</html>

79
en/pccopy/index.html Normal file
View file

@ -0,0 +1,79 @@
<!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>Text selection</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">Text selection
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/termux">termux</a> </li>
<li><a href="../tags/ssh">ssh</a> </li>
<li><a href="../tags/PC">PC</a> </li>
<li><a href="../tags/clipboard">clipboard</a> </li>
<li><a href="../tags/Windows">Windows</a> </li>
</ul>
<p>Click the following links to install menus for long pressing the button &quot;link&quot;:<br>
<a href="i:0g/sdcard/uweb/default.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0g/sdcard/uweb/default.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0g/sdcard/uweb/default.select::deepL:/uweb:print 'https://www.deepl.com/translator {function tE(el,t){var e=new Event(t);el.dispatchEvent(e);}let s=document.querySelector(%22textarea%22);s.value=%60';cat;print '%60;tE(s,%22change%22)}'%0A">deepL</a></p>
<p>The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:<br>
[Name]:[mimetype]:[command line]</p>
<p>[mimetype] specifies input/output for [command line].<br>
It formats as &quot;[input mimetype]/[output mimetype]&quot;.<br>
[input mimetype] can be the following:</p>
<ul>
<li>&quot;html&quot;: rich text</li>
<li>&quot;&quot; (empty): text</li>
<li>&quot;.js&quot; file name under configuration folder. The js file is evaluated and its return value is passed to [command line] as standard input.</li>
</ul>
<p>[output mimetype] is same as the one defined in &quot;<a href="../searchurl/cmds.html">Commands</a>&quot;.</p>
<ul>
<li>regular mimetype such as &quot;text/html&quot;: output as the mimetype</li>
<li>&quot;uweb&quot;: output as a link</li>
<li>&quot;termux&quot;: output as termux command</li>
</ul>
<p><a target="_self" href="i:0h/sdcard/uweb/check.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/check.js">checked.js</a>: Evaluate checked.js and return value as standard input for the command line. For any file url ending with &quot;/&quot;, optionally append &quot;?[prefix][<em>[postfix]]&quot;. For example, &quot;file:///sdcard/?</em>.png&quot; lists all .png files under the folder &quot;/sdcard&quot;. Select files and process them with checked.js(such as &quot;copy to PC&quot; as the later example).</p>
<p>/sdcard/uweb/default.select sample file:<br>
copy2addressbar:uweb:printf i:15;cat<br>
copy2PCClipboard::ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>
<p>Here we assume that the user PC has IP address as &quot;192.168.2.102&quot;.<br>
To use ssh or scp, users need to install uweb compatible Termux provided on the <a href="../index.html">uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>
PCs need command &quot;xsel&quot; available to operate on copy/paste.</p>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View file

@ -118,6 +118,114 @@
hreflang="en"
href="/en/tags/"
/>
</url><url>
<loc>/en/tags/clipboard/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/tags/pc/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/pc/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/pc/"
/>
</url><url>
<loc>/en/tags/ssh/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/ssh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/ssh/"
/>
</url><url>
<loc>/en/tags/termux/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/termux/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/termux/"
/>
</url><url>
<loc>/en/pccopy/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/pccopy/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/pccopy/"
/>
</url><url>
<loc>/en/tags/windows/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/windows/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/windows/"
/>
</url><url>
<loc>/en/icons/</loc>
<lastmod>2022-02-06T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/icons/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/icons/"
/>
</url><url>
<loc>/en/longclick/</loc>
<lastmod>2020-11-06T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/longclick/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/longclick/"
/>
</url><url>
<loc>/en/tags/adblock/</loc>
</url><url>
<loc>/en/adblock_domain/</loc>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/adblock_domain/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/adblock_domain/"
/>
</url><url>
<loc>/en/categories/</loc>
<xhtml:link

View file

@ -0,0 +1,43 @@
<!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>adblock</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">adblock</h1>
<ul class="posts">
<li class="post">
<a href="../../adblock_domain">
<span>Blocking domain trees</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

19
en/tags/adblock/index.xml Normal file
View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>adblock on </title>
<link>/en/tags/adblock/</link>
<description>Recent content in adblock on </description>
<generator>Hugo -- gohugo.io</generator><atom:link href="/en/tags/adblock/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Blocking domain trees</title>
<link>/en/adblock_domain/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<description>hosts blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &amp;quot;yahoo.com&amp;quot; and &amp;quot;finance.yahoo.com&amp;quot;. If the length of the last 2 segments is less than 7, such as &amp;quot;com.pl&amp;quot;, then it is treated as one segment, so domains like &amp;quot;xxx.xxx.com.pl&amp;quot; are also valid in the hosts file.
Each line of the hosts file has the following format:</description>
</item>
</channel>
</rss>

View file

@ -0,0 +1,43 @@
<!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>clipboard</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">clipboard</h1>
<ul class="posts">
<li class="post">
<a href="../../pccopy">
<span>Text selection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>clipboard on </title>
<link>/en/tags/clipboard/</link>
<description>Recent content in clipboard on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/clipboard/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
</channel>
</rss>

View file

@ -3,9 +3,21 @@
<body>
<ul>
<li><a href="adblock">adblock</a> 1</li>
<li><a href="clipboard">clipboard</a> 1</li>
<li><a href="css">css</a> 1</li>
<li><a href="javascript">javascript</a> 2</li>
<li><a href="javascript">javascript</a> 3</li>
<li><a href="PC">PC</a> 1</li>
<li><a href="ssh">ssh</a> 1</li>
<li><a href="termux">termux</a> 1</li>
<li><a href="Windows">Windows</a> 1</li>
</ul>
</body>

View file

@ -15,6 +15,60 @@
<description></description>
</item>
<item>
<title>clipboard</title>
<link>/en/tags/clipboard/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/clipboard/</guid>
<description></description>
</item>
<item>
<title>PC</title>
<link>/en/tags/pc/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/pc/</guid>
<description></description>
</item>
<item>
<title>ssh</title>
<link>/en/tags/ssh/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/ssh/</guid>
<description></description>
</item>
<item>
<title>termux</title>
<link>/en/tags/termux/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/termux/</guid>
<description></description>
</item>
<item>
<title>Windows</title>
<link>/en/tags/windows/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/windows/</guid>
<description></description>
</item>
<item>
<title>adblock</title>
<link>/en/tags/adblock/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/tags/adblock/</guid>
<description></description>
</item>
<item>
<title>css</title>
<link>/en/tags/css/</link>

View file

@ -35,6 +35,12 @@
</a>
</li>
<li class="post">
<a href="../../longclick">
<span>Long pressed link menu</span>
</a>
</li>
<li class="post">
<a href="../../sitejs">
<span>Javascript and CSS for domains</span>

View file

@ -30,6 +30,20 @@ Toggle all checkboxes in forms
Enable selection</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &amp;quot;/sdcard/uweb/default.longclick&amp;quot; has the following format: (same as default.cmds)
[Name]:[mimetype]:[command line]
in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.
To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;/sdcard/uweb/longclick&amp;quot; are part of the popup menu.
These javascript files are in the following format:
The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>

43
en/tags/pc/index.html Normal file
View file

@ -0,0 +1,43 @@
<!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>PC</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">PC</h1>
<ul class="posts">
<li class="post">
<a href="../../pccopy">
<span>Text selection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

28
en/tags/pc/index.xml Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>PC on </title>
<link>/en/tags/pc/</link>
<description>Recent content in PC on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/pc/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
</channel>
</rss>

43
en/tags/ssh/index.html Normal file
View file

@ -0,0 +1,43 @@
<!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>ssh</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">ssh</h1>
<ul class="posts">
<li class="post">
<a href="../../pccopy">
<span>Text selection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

28
en/tags/ssh/index.xml Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>ssh on </title>
<link>/en/tags/ssh/</link>
<description>Recent content in ssh on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
</channel>
</rss>

43
en/tags/termux/index.html Normal file
View file

@ -0,0 +1,43 @@
<!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>termux</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">termux</h1>
<ul class="posts">
<li class="post">
<a href="../../pccopy">
<span>Text selection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

28
en/tags/termux/index.xml Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>termux on </title>
<link>/en/tags/termux/</link>
<description>Recent content in termux on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/termux/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
</channel>
</rss>

View file

@ -0,0 +1,43 @@
<!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>Windows</title>
<script type="text/javascript">
function nav2(page){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
location.href = href.substring(0,i+1)+page;
}
return false;
}
</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">Windows</h1>
<ul class="posts">
<li class="post">
<a href="../../pccopy">
<span>Text selection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

28
en/tags/windows/index.xml Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Windows on </title>
<link>/en/tags/windows/</link>
<description>Recent content in Windows on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/windows/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
</channel>
</rss>