From adea7f49a0a37b551b1ba8e98a3751a952293e72 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Mon, 4 Jul 2022 16:12:06 +0800
Subject: [PATCH] rebuilding site Mon Jul 4 04:12:06 PM CST 2022
---
en/_posts/index.xml | 53 +++++++++++++++++
en/adblock_domain/index.html | 46 +++++++++++++++
en/icons/index.html | 45 ++++++++++++++
en/index.html | 24 ++++++++
en/index.xml | 53 +++++++++++++++++
en/longclick/index.html | 53 +++++++++++++++++
en/pccopy/index.html | 79 +++++++++++++++++++++++++
en/searchurl/cmds.html | 15 ++++-
en/sitemap.xml | 108 ++++++++++++++++++++++++++++++++++
en/tags/adblock/index.html | 43 ++++++++++++++
en/tags/adblock/index.xml | 19 ++++++
en/tags/clipboard/index.html | 43 ++++++++++++++
en/tags/clipboard/index.xml | 28 +++++++++
en/tags/index.html | 14 ++++-
en/tags/index.xml | 54 +++++++++++++++++
en/tags/javascript/index.html | 6 ++
en/tags/javascript/index.xml | 14 +++++
en/tags/pc/index.html | 43 ++++++++++++++
en/tags/pc/index.xml | 28 +++++++++
en/tags/ssh/index.html | 43 ++++++++++++++
en/tags/ssh/index.xml | 28 +++++++++
en/tags/termux/index.html | 43 ++++++++++++++
en/tags/termux/index.xml | 28 +++++++++
en/tags/windows/index.html | 43 ++++++++++++++
en/tags/windows/index.xml | 28 +++++++++
index.html | 6 +-
zh/_posts/index.xml | 4 +-
zh/adblock/index.html | 2 +-
zh/adblock_domain/index.html | 2 +-
zh/bookmark/index.html | 6 +-
zh/cmd/index.html | 5 +-
zh/filemanager/index.html | 2 +-
zh/globalcss/index.html | 8 +--
zh/html5/index.html | 16 ++---
zh/index.xml | 4 +-
zh/links/index.html | 4 +-
zh/longclick/index.html | 2 +-
zh/pccopy/index.html | 4 +-
zh/redirect/index.html | 2 +-
zh/searchcat/index.html | 2 +-
zh/sitemap.xml | 80 +++++++++++++++++++++++++
zh/sitemap/index.html | 2 +-
zh/tags/ssh/index.xml | 2 +-
zh/tags/termux/index.xml | 2 +-
zh/tags/剪贴板/index.xml | 2 +-
zh/tcron/index.html | 2 +-
zh/tools/index.html | 2 +-
zh/video/index.html | 2 +-
48 files changed, 1098 insertions(+), 46 deletions(-)
create mode 100644 en/adblock_domain/index.html
create mode 100644 en/icons/index.html
create mode 100644 en/longclick/index.html
create mode 100644 en/pccopy/index.html
create mode 100644 en/tags/adblock/index.html
create mode 100644 en/tags/adblock/index.xml
create mode 100644 en/tags/clipboard/index.html
create mode 100644 en/tags/clipboard/index.xml
create mode 100644 en/tags/pc/index.html
create mode 100644 en/tags/pc/index.xml
create mode 100644 en/tags/ssh/index.html
create mode 100644 en/tags/ssh/index.xml
create mode 100644 en/tags/termux/index.html
create mode 100644 en/tags/termux/index.xml
create mode 100644 en/tags/windows/index.html
create mode 100644 en/tags/windows/index.xml
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index d4f7d411..17dea1bf 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -81,6 +81,59 @@ Toggle all checkboxes in forms
Enable selection
+
+ Text selection
+ /en/pccopy/
+ Sat, 23 Apr 2022 00:00:00 +0000
+
+ /en/pccopy/
+ Click the following links to install menus for long pressing the button "link":
+google Translate
+bing translate
+deepL
+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:
+[Name]:[mimetype]:[command line]
+[mimetype] specifies input/output for [command line].
+It formats as "[input mimetype]/[output mimetype]".
+[input mimetype] can be the following:
+"html": rich text "" (empty): text ".
+
+
+
+ Toolbar customization
+ /en/icons/
+ Sun, 06 Feb 2022 00:00:00 +0000
+
+ /en/icons/
+ If subfolder "icon" exists, then files named as "0","1","2"...
+are used for icons in the bottom toolbar. file "0" to replace the left arrow button, "1" for right arrow button, "2" for the setting button,"3" for the home screen button,...
+If a new button is defined (file name "20" exists), uweb also supports VectorDrawable with "android compiled XML" format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。
+
+
+
+ Long pressed link menu
+ /en/longclick/
+ Fri, 06 Nov 2020 00:00:00 +0000
+
+ /en/longclick/
+ To run commands Each line of file "/sdcard/uweb/default.longclick" has the following format: (same as default.cmds)
+[Name]:[mimetype]:[command line]
+in which [command line] can have "%c" (cookie), "%u" (current url), "%t" (title) etc.
+To visit url and load javascript file All ".js" files under the folder "/sdcard/uweb/longclick" are part of the popup menu.
+These javascript files are in the following format:
+The very first line can begin with "//" followed by website url that can have "%u" (current url), "%t" (title) etc.
+
+
+
+ Blocking domain trees
+ /en/adblock_domain/
+ Mon, 01 Jan 0001 00:00:00 +0000
+
+ /en/adblock_domain/
+ hosts 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.
+Each line of the hosts file has the following format:
+
+
Javascript and CSS for domains
/en/sitejs/
diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html
new file mode 100644
index 00000000..799e8c68
--- /dev/null
+++ b/en/adblock_domain/index.html
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+ Blocking domain trees
+
+
+
+
+ HomeTags
+
+
+
+
+
hosts 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.
+
Each line of the hosts file has the following format:
+[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
+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.
If subfolder "icon" exists, then files named as "0","1","2"...
+are used for icons in the bottom toolbar. file "0" to replace the left arrow button, "1" for right arrow button, "2" for the setting button,"3" for the home screen button,...
+
If a new button is defined (file name "20" exists), uweb also supports VectorDrawable with "android compiled XML" format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。
+
+ Text selection
+ /en/pccopy/
+ Sat, 23 Apr 2022 00:00:00 +0000
+
+ /en/pccopy/
+ Click the following links to install menus for long pressing the button "link":
+google Translate
+bing translate
+deepL
+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:
+[Name]:[mimetype]:[command line]
+[mimetype] specifies input/output for [command line].
+It formats as "[input mimetype]/[output mimetype]".
+[input mimetype] can be the following:
+"html": rich text "" (empty): text ".
+
+
+
+ Toolbar customization
+ /en/icons/
+ Sun, 06 Feb 2022 00:00:00 +0000
+
+ /en/icons/
+ If subfolder "icon" exists, then files named as "0","1","2"...
+are used for icons in the bottom toolbar. file "0" to replace the left arrow button, "1" for right arrow button, "2" for the setting button,"3" for the home screen button,...
+If a new button is defined (file name "20" exists), uweb also supports VectorDrawable with "android compiled XML" format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。
+
+
+
+ Long pressed link menu
+ /en/longclick/
+ Fri, 06 Nov 2020 00:00:00 +0000
+
+ /en/longclick/
+ To run commands Each line of file "/sdcard/uweb/default.longclick" has the following format: (same as default.cmds)
+[Name]:[mimetype]:[command line]
+in which [command line] can have "%c" (cookie), "%u" (current url), "%t" (title) etc.
+To visit url and load javascript file All ".js" files under the folder "/sdcard/uweb/longclick" are part of the popup menu.
+These javascript files are in the following format:
+The very first line can begin with "//" followed by website url that can have "%u" (current url), "%t" (title) etc.
+
+
+
+ Blocking domain trees
+ /en/adblock_domain/
+ Mon, 01 Jan 0001 00:00:00 +0000
+
+ /en/adblock_domain/
+ hosts 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.
+Each line of the hosts file has the following format:
+
+
Javascript and CSS for domains
/en/sitejs/
diff --git a/en/longclick/index.html b/en/longclick/index.html
new file mode 100644
index 00000000..d8bf0f08
--- /dev/null
+++ b/en/longclick/index.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ Long pressed link menu
+
+
+
+
+ HomeTags
+
+
+
+
+
All ".js" files under the folder "/sdcard/uweb/longclick" are part of the popup menu.
+These javascript files are in the following format:
+
+
The very first line can begin with "//" followed by website url that can have "%u" (current url), "%t" (title) etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.
+
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.
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:
+[Name]:[mimetype]:[command line]
+
[mimetype] specifies input/output for [command line].
+It formats as "[input mimetype]/[output mimetype]".
+[input mimetype] can be the following:
+
+
"html": rich text
+
"" (empty): text
+
".js" file name under configuration folder. The js file is evaluated and its return value is passed to [command line] as standard input.
+
+
[output mimetype] is same as the one defined in "Commands".
+
+
regular mimetype such as "text/html": output as the mimetype
+
"uweb": output as a link
+
"termux": output as termux command
+
+
checked.js: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][[postfix]]". For example, "file:///sdcard/?.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).
Here we assume that the user PC has IP address as "192.168.2.102".
+To use ssh or scp, users need to install uweb compatible Termux provided on the uweb apk download page, and install openssl under termux (apt install openssl).
+PCs need command "xsel" available to operate on copy/paste.
-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.
-
"/sdcard/uweb/default.cmds" examples:
+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.
"Send url" needs to modify Android TV ip address.
Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).
Clipboard broadcast needs socat(apt install socat)。
Clipboard2QR needs libqrencode.
+
".cmds" file format
+
Each line has the following format:
+[Name]:[mimetype]:[command line]
+
[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).
+[mimetype] have the following formats:
+- regular mimetype such as "text/html" to indicate the content type of the command output.
+- "clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard.
+- "/clip": copy the command output to clipboard.
+- "clip/text/html" : clipboard as input, and the command output is processed as "text/html".
+- "termux/*": command line is executed under termux.
+- "/uweb": the command output is processed as links.