mirror of https://github.com/torappinfo/uweb
rebuilding site Mon Jul 4 04:12:06 PM CST 2022
parent
0ef2ef46fe
commit
adea7f49a0
@ -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 "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" 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 "http(s)://"]<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>
|
@ -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 "<a href="file:///sdcard/uweb/default.longclick">/sdcard/uweb/default.longclick</a>" 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">"%c" (cookie), "%u" (current url), "%t" (title)</a> etc.</p>
|
||||||
|
<h4 id="to-visit-url-and-load-javascript-file">To visit url and load javascript file</h4>
|
||||||
|
<p>All ".js" files under the folder "<a href="file:///sdcard/uweb/longclick/">/sdcard/uweb/longclick</a>" 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 "//" followed by website url that can have <a href="../searchurl/cmds.html">"%u" (current url), "%t" (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 ".js" file, variable "arguments" 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 ".js" file name.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -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 "link":<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 "/sdcard/uweb/default.select" 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 "[input mimetype]/[output mimetype]".<br>
|
||||||
|
[input mimetype] can be the following:</p>
|
||||||
|
<ul>
|
||||||
|
<li>"html": rich text</li>
|
||||||
|
<li>"" (empty): text</li>
|
||||||
|
<li>".js" 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 "<a href="../searchurl/cmds.html">Commands</a>".</p>
|
||||||
|
<ul>
|
||||||
|
<li>regular mimetype such as "text/html": output as the mimetype</li>
|
||||||
|
<li>"uweb": output as a link</li>
|
||||||
|
<li>"termux": 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 "/", optionally append "?[prefix][<em>[postfix]]". For example, "file:///sdcard/?</em>.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" 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 "DISPLAY=:0 xsel -i"<br>
|
||||||
|
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<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 "192.168.2.102".<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 "xsel" available to operate on copy/paste.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because one or more lines are too long
@ -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>
|
@ -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 &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.
|
||||||
|
Each line of the hosts file has the following format:</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
@ -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>
|
@ -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 &quot;link&quot;:
|
||||||
|
google Translate
|
||||||
|
bing translate
|
||||||
|
deepL
|
||||||
|
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:
|
||||||
|
[Name]:[mimetype]:[command line]
|
||||||
|
[mimetype] specifies input/output for [command line].
|
||||||
|
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
||||||
|
[input mimetype] can be the following:
|
||||||
|
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
@ -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>
|
@ -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 &quot;link&quot;:
|
||||||
|
google Translate
|
||||||
|
bing translate
|
||||||
|
deepL
|
||||||
|
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:
|
||||||
|
[Name]:[mimetype]:[command line]
|
||||||
|
[mimetype] specifies input/output for [command line].
|
||||||
|
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
||||||
|
[input mimetype] can be the following:
|
||||||
|
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
@ -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>
|
@ -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 &quot;link&quot;:
|
||||||
|
google Translate
|
||||||
|
bing translate
|
||||||
|
deepL
|
||||||
|
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:
|
||||||
|
[Name]:[mimetype]:[command line]
|
||||||
|
[mimetype] specifies input/output for [command line].
|
||||||
|
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
||||||
|
[input mimetype] can be the following:
|
||||||
|
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
@ -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>
|
@ -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 &quot;link&quot;:
|
||||||
|
google Translate
|
||||||
|
bing translate
|
||||||
|
deepL
|
||||||
|
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:
|
||||||
|
[Name]:[mimetype]:[command line]
|
||||||
|
[mimetype] specifies input/output for [command line].
|
||||||
|
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
||||||
|
[input mimetype] can be the following:
|
||||||
|
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
@ -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>
|
@ -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 &quot;link&quot;:
|
||||||
|
google Translate
|
||||||
|
bing translate
|
||||||
|
deepL
|
||||||
|
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:
|
||||||
|
[Name]:[mimetype]:[command line]
|
||||||
|
[mimetype] specifies input/output for [command line].
|
||||||
|
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
||||||
|
[input mimetype] can be the following:
|
||||||
|
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
Loading…
Reference in New Issue