diff --git a/en/_posts/index.xml b/en/_posts/index.xml index d4f7d41..17dea1b 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 0000000..799e8c6 --- /dev/null +++ b/en/adblock_domain/index.html @@ -0,0 +1,46 @@ + + + + + + + + Blocking domain trees + + + +
+ + +
+
+ +
+

Blocking domain trees +
+ +

+ +

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.

+ +
+ + + diff --git a/en/icons/index.html b/en/icons/index.html new file mode 100644 index 0000000..0e47758 --- /dev/null +++ b/en/icons/index.html @@ -0,0 +1,45 @@ + + + + + + + + Toolbar customization + + + +
+ + +
+
+ +
+

Toolbar customization +
+ +

+ +

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格式图标文件。

+

用户可定义任意多个按钮(100个按钮毫无压力),其短按长按功能可在文件default.button及default.button2中定义,格式与文件default.link完全相同,每行从最后一个按钮开始重定义功能。

+

注意:刷新按钮及窗口按钮图标暂时不能重定义。

+ +
+ + + diff --git a/en/index.html b/en/index.html index 1e2788e..4004ce4 100644 --- a/en/index.html +++ b/en/index.html @@ -82,6 +82,30 @@ +
  • + + Text selection + +
  • + +
  • + + Toolbar customization + +
  • + +
  • + + Long pressed link menu + +
  • + +
  • + + Blocking domain trees + +
  • +
  • Javascript and CSS for domains diff --git a/en/index.xml b/en/index.xml index a93ac6f..679e352 100644 --- a/en/index.xml +++ b/en/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/longclick/index.html b/en/longclick/index.html new file mode 100644 index 0000000..d8bf0f0 --- /dev/null +++ b/en/longclick/index.html @@ -0,0 +1,53 @@ + + + + + + + + Long pressed link menu + + + +
    + + +
    +
    + +
    +

    Long pressed link menu +
    + +

    + +

    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. 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.
    • +
    + +
    + + + diff --git a/en/pccopy/index.html b/en/pccopy/index.html new file mode 100644 index 0000000..bd11b4f --- /dev/null +++ b/en/pccopy/index.html @@ -0,0 +1,79 @@ + + + + + + + + Text selection + + + +
    + + +
    +
    + +
    +

    Text selection +
    + +

    + +

    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
    • +
    • ".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).

    +

    /sdcard/uweb/default.select sample file:
    +copy2addressbar:uweb:printf i:15;cat
    +copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
    +richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
    +copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

    +

    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.

    + +
    + + + diff --git a/en/searchurl/cmds.html b/en/searchurl/cmds.html index 4ba9197..8f6c7c2 100644 --- a/en/searchurl/cmds.html +++ b/en/searchurl/cmds.html @@ -2,14 +2,25 @@ Commands

    Commands

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

    +

    Configuration file "/sdcard/uweb/default.cmds" examples:

    Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete

    VPN::am start -a android.net.vpn.SETTINGS

    wireless::am start -a android.settings.WIRELESS_SETTINGS

    Append query to autocomplete:uweb:cd /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc

    Backup cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.

    Restore cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.

    Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache

    Clear logcat::logcat -c

    logcat.log::logcat -d > /sdcard/uweb/logcat.log

    copy cookie:/clip:printf '%c'

    tgz install::toybox tar -xzf %f -C /

    Need root permissions:

    Need termux:

    cd:termux/*:cd %f;exit 1

    vim:termux/*:vim %f

    deduplicate history::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.rec>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.rec

    deduplicate bookmarks::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html

    deduplicate hosts::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts

    deduplicate siteconf::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf

    Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500

    Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500

    Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500

    Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500

    Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500

    Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500

    Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'

    ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'

    Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast

    Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'

    Clipboard2QR:clip/uweb:qrencode -o /sdcard/uweb/a.png;echo file:///sdcard/uweb/a.png

    "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.

    diff --git a/en/sitemap.xml b/en/sitemap.xml index 60ef019..3fe4d7b 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -118,6 +118,114 @@ hreflang="en" href="/en/tags/" /> + + /en/tags/clipboard/ + 2022-04-23T00:00:00+00:00 + + /en/tags/pc/ + 2022-04-23T00:00:00+00:00 + + + + /en/tags/ssh/ + 2022-04-23T00:00:00+00:00 + + + + /en/tags/termux/ + 2022-04-23T00:00:00+00:00 + + + + /en/pccopy/ + 2022-04-23T00:00:00+00:00 + + + + /en/tags/windows/ + 2022-04-23T00:00:00+00:00 + + + + /en/icons/ + 2022-02-06T00:00:00+00:00 + + + + /en/longclick/ + 2020-11-06T00:00:00+00:00 + + + + /en/tags/adblock/ + + /en/adblock_domain/ + + /en/categories/ + + + + + + + adblock + + + +
    + + +
    +
    + +
    +

    adblock

    + +
      +
    + + + diff --git a/en/tags/adblock/index.xml b/en/tags/adblock/index.xml new file mode 100644 index 0000000..f105e07 --- /dev/null +++ b/en/tags/adblock/index.xml @@ -0,0 +1,19 @@ + + + + adblock on + /en/tags/adblock/ + Recent content in adblock on + Hugo -- gohugo.io + + 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: + + + + diff --git a/en/tags/clipboard/index.html b/en/tags/clipboard/index.html new file mode 100644 index 0000000..09ec91f --- /dev/null +++ b/en/tags/clipboard/index.html @@ -0,0 +1,43 @@ + + + + + + + + clipboard + + + +
    + + +
    +
    + +
    +

    clipboard

    + +
      +
    + + + diff --git a/en/tags/clipboard/index.xml b/en/tags/clipboard/index.xml new file mode 100644 index 0000000..72f8e04 --- /dev/null +++ b/en/tags/clipboard/index.xml @@ -0,0 +1,28 @@ + + + + clipboard on + /en/tags/clipboard/ + Recent content in clipboard on + Hugo -- gohugo.io + Sat, 23 Apr 2022 00:00:00 +0000 + + 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 ". + + + + diff --git a/en/tags/index.html b/en/tags/index.html index 97e8f14..f577e31 100644 --- a/en/tags/index.html +++ b/en/tags/index.html @@ -3,9 +3,21 @@ diff --git a/en/tags/index.xml b/en/tags/index.xml index 638714a..dcdef48 100644 --- a/en/tags/index.xml +++ b/en/tags/index.xml @@ -15,6 +15,60 @@ + + clipboard + /en/tags/clipboard/ + Sat, 23 Apr 2022 00:00:00 +0000 + + /en/tags/clipboard/ + + + + + PC + /en/tags/pc/ + Sat, 23 Apr 2022 00:00:00 +0000 + + /en/tags/pc/ + + + + + ssh + /en/tags/ssh/ + Sat, 23 Apr 2022 00:00:00 +0000 + + /en/tags/ssh/ + + + + + termux + /en/tags/termux/ + Sat, 23 Apr 2022 00:00:00 +0000 + + /en/tags/termux/ + + + + + Windows + /en/tags/windows/ + Sat, 23 Apr 2022 00:00:00 +0000 + + /en/tags/windows/ + + + + + adblock + /en/tags/adblock/ + Mon, 01 Jan 0001 00:00:00 +0000 + + /en/tags/adblock/ + + + css /en/tags/css/ diff --git a/en/tags/javascript/index.html b/en/tags/javascript/index.html index 214d02b..2ec77f8 100644 --- a/en/tags/javascript/index.html +++ b/en/tags/javascript/index.html @@ -35,6 +35,12 @@
  • +
  • + + Long pressed link menu + +
  • +
  • Javascript and CSS for domains diff --git a/en/tags/javascript/index.xml b/en/tags/javascript/index.xml index 522c346..da183b9 100644 --- a/en/tags/javascript/index.xml +++ b/en/tags/javascript/index.xml @@ -30,6 +30,20 @@ Toggle all checkboxes in forms Enable selection + + 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. + + Javascript and CSS for domains /en/sitejs/ diff --git a/en/tags/pc/index.html b/en/tags/pc/index.html new file mode 100644 index 0000000..dff6c7d --- /dev/null +++ b/en/tags/pc/index.html @@ -0,0 +1,43 @@ + + + + + + + + PC + + + +
    + + +
    +
    + +
    +

    PC

    + +
      +
    + + + diff --git a/en/tags/pc/index.xml b/en/tags/pc/index.xml new file mode 100644 index 0000000..bec5147 --- /dev/null +++ b/en/tags/pc/index.xml @@ -0,0 +1,28 @@ + + + + PC on + /en/tags/pc/ + Recent content in PC on + Hugo -- gohugo.io + Sat, 23 Apr 2022 00:00:00 +0000 + + 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 ". + + + + diff --git a/en/tags/ssh/index.html b/en/tags/ssh/index.html new file mode 100644 index 0000000..8261db8 --- /dev/null +++ b/en/tags/ssh/index.html @@ -0,0 +1,43 @@ + + + + + + + + ssh + + + +
    + + +
    +
    + +
    +

    ssh

    + +
      +
    + + + diff --git a/en/tags/ssh/index.xml b/en/tags/ssh/index.xml new file mode 100644 index 0000000..02166af --- /dev/null +++ b/en/tags/ssh/index.xml @@ -0,0 +1,28 @@ + + + + ssh on + /en/tags/ssh/ + Recent content in ssh on + Hugo -- gohugo.io + Sat, 23 Apr 2022 00:00:00 +0000 + + 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 ". + + + + diff --git a/en/tags/termux/index.html b/en/tags/termux/index.html new file mode 100644 index 0000000..0866496 --- /dev/null +++ b/en/tags/termux/index.html @@ -0,0 +1,43 @@ + + + + + + + + termux + + + +
    + + +
    +
    + +
    +

    termux

    + +
      +
    + + + diff --git a/en/tags/termux/index.xml b/en/tags/termux/index.xml new file mode 100644 index 0000000..fd65f38 --- /dev/null +++ b/en/tags/termux/index.xml @@ -0,0 +1,28 @@ + + + + termux on + /en/tags/termux/ + Recent content in termux on + Hugo -- gohugo.io + Sat, 23 Apr 2022 00:00:00 +0000 + + 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 ". + + + + diff --git a/en/tags/windows/index.html b/en/tags/windows/index.html new file mode 100644 index 0000000..3ae96e3 --- /dev/null +++ b/en/tags/windows/index.html @@ -0,0 +1,43 @@ + + + + + + + + Windows + + + +
    + + +
    +
    + +
    +

    Windows

    + +
      +
    + + + diff --git a/en/tags/windows/index.xml b/en/tags/windows/index.xml new file mode 100644 index 0000000..853bd49 --- /dev/null +++ b/en/tags/windows/index.xml @@ -0,0 +1,28 @@ + + + + Windows on + /en/tags/windows/ + Recent content in Windows on + Hugo -- gohugo.io + Sat, 23 Apr 2022 00:00:00 +0000 + + 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 ". + + + + diff --git a/index.html b/index.html index d7ba57d..772ceb3 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,5 @@ - - - - zh/ + +itle> diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 39d0943..ff6adf2 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -86,7 +86,7 @@ Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引 gamezop 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。 "小说.html": 自动使用阅读模式 -href="i:0h/sdcard/uweb/bookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html) +href="i:0h/sdcard/uweb/bookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html) 所有书签都可通过"长按链接->命令->书签"保存链接为书签。书签菜单可至特色服务网页安装。 Mirror list mirror.js.org @@ -621,7 +621,7 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 "/clip" : 输出结果复制到剪贴板。 "clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。 "termux/*": 在termux中执行命令。 -"uweb": 输出结果作为链接来处理。 +"/uweb": 输出结果作为链接来处理。 下面是笔者使用的default.cmds配置(命令具体解释): 复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i" PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o" diff --git a/zh/adblock/index.html b/zh/adblock/index.html index a7a9ad6..33be7fa 100644 --- a/zh/adblock/index.html +++ b/zh/adblock/index.html @@ -61,7 +61,7 @@
  • -

    长按设置,选取"拦截外链脚本"。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow

    +

    长按设置,选取"拦截外链脚本"。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow

  • 长按[☰]按钮可隐藏浮动信息,移除横幅,清空定时器(防止定时触发不良信息),中断可疑事件(防止用户操作触发),等待(防止延迟触发)。

    diff --git a/zh/adblock_domain/index.html b/zh/adblock_domain/index.html index 5104427..c95f0e8 100644 --- a/zh/adblock_domain/index.html +++ b/zh/adblock_domain/index.html @@ -63,7 +63,7 @@ 如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。

  • -

    点击本链接自动用样例覆盖default.hosts

    +

    点击本链接自动用样例覆盖default.hosts

    diff --git a/zh/bookmark/index.html b/zh/bookmark/index.html index 8e3065a..61cf8d7 100644 --- a/zh/bookmark/index.html +++ b/zh/bookmark/index.html @@ -35,12 +35,12 @@

    gamezop

    点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
    -"小说.html": 自动使用阅读模式

    -

    href="i:0h/sdcard/uweb/bookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)

    +"小说.html": 自动使用阅读模式

    +

    href="i:0h/sdcard/uweb/bookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)

    所有书签都可通过"长按链接->命令->书签"保存链接为书签。书签菜单可至特色服务网页安装。
    Mirror list
    mirror.js.org

    -

    界面配置及杂项

    +

    界面配置及杂项

    以下书签需"长按以下链接->新窗口打开"才能在此网页正常执行。

    Termux命令书签

    需安装定制版termux及相应工具,
    diff --git a/zh/cmd/index.html b/zh/cmd/index.html index 2f4ceed..54e59e2 100644 --- a/zh/cmd/index.html +++ b/zh/cmd/index.html @@ -51,12 +51,11 @@ "/clip" : 输出结果复制到剪贴板。
    "clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。
    "termux/*": 在termux中执行命令。
    -"uweb": 输出结果作为链接来处理。

    +"/uweb": 输出结果作为链接来处理。

    下面是笔者使用的default.cmds配置(命令具体解释):

    复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
     PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o"
    -
    -
    + diff --git a/zh/filemanager/index.html b/zh/filemanager/index.html index 8241606..0508eb7 100644 --- a/zh/filemanager/index.html +++ b/zh/filemanager/index.html @@ -34,7 +34,7 @@

    超微浏览器访问以"/"结尾 (包括"/?"及后面参数)的"file://" url,则进入文件管理器。

    -

    对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有IMG开头的文件。此时可选定文件,并安装checked.js对选取文件进行批量处理。

    +

    对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有IMG开头的文件。此时可选定文件,并安装checked.js对选取文件进行批量处理。

    文件批量处理配置default.select例子:
    图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done

    diff --git a/zh/globalcss/index.html b/zh/globalcss/index.html index 32f8d25..105dd6d 100644 --- a/zh/globalcss/index.html +++ b/zh/globalcss/index.html @@ -34,11 +34,11 @@

    超微浏览器自动装载"/sdcard/uweb/css"目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:

    -

    强制使用默认字体
    -配合透明状态栏(沉浸)

    +

    强制使用默认字体
    +配合透明状态栏(沉浸)

    文件"/sdcard/uweb/night.css"为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:
    -webview 81+ 夜间模式
    -webview 80- 夜间模式

    +webview 81+ 夜间模式
    +webview 80- 夜间模式

    diff --git a/zh/html5/index.html b/zh/html5/index.html index 0d5a0b0..5396d90 100644 --- a/zh/html5/index.html +++ b/zh/html5/index.html @@ -33,17 +33,17 @@ -

    点击安装超大文件阅读器(支持txt, html, markdown)
    -点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)
    -点击安装plyr视频播放器
    -点击安装dplayer视频播放器
    -点击安装pdf阅读器
    -点击安装epub阅读器(作者:llili)
    -点击安装djvu阅读器
    +

    点击安装超大文件阅读器(支持txt, html, markdown)
    +点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)
    +点击安装plyr视频播放器
    +点击安装dplayer视频播放器
    +点击安装pdf阅读器
    +点击安装epub阅读器(作者:llili)
    +点击安装djvu阅读器
    相应的菜单安装可见浏览器特色服务

    超微配置目录下的子目录名如果以"app"开始(譬如"/sdcard/uweb/appPDF"),则这些"app"开头目录树下放置的html5应用将可获得功能增强。

    配置default.filecap并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。
    -点击配置pdf.js,djvu.js,epub.js,超大文件阅读器

    +点击配置pdf.js,djvu.js,epub.js,超大文件阅读器

    超大文件阅读器txtview.html url如下:
    file:///sdcard/uweb/app/txtview.html?url=[url]#page=[xxx]
    file:///sdcard/uweb/app/txtview.html?url=[url]#offset=[xxxx]&[length]
    diff --git a/zh/index.xml b/zh/index.xml index 8c5916d..9d5150b 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -86,7 +86,7 @@ Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引 gamezop 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。 "小说.html": 自动使用阅读模式 -href="i:0h/sdcard/uweb/bookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html) +href="i:0h/sdcard/uweb/bookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html) 所有书签都可通过"长按链接->命令->书签"保存链接为书签。书签菜单可至特色服务网页安装。 Mirror list mirror.js.org @@ -621,7 +621,7 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 "/clip" : 输出结果复制到剪贴板。 "clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。 "termux/*": 在termux中执行命令。 -"uweb": 输出结果作为链接来处理。 +"/uweb": 输出结果作为链接来处理。 下面是笔者使用的default.cmds配置(命令具体解释): 复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i" PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o" diff --git a/zh/links/index.html b/zh/links/index.html index 7df85c6..086919b 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -37,8 +37,8 @@ 显示网站安全证书
    迅雷盘离线

    网页全屏

    -

    点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等
    -点击安装离线下载(pcloud,furk,微云等)

    +

    点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等
    +点击安装离线下载(pcloud,furk,微云等)

    酷安扫描

    uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件"default.link"中,改动过的文件清后台重启动后生效。每行格式如下:
    [菜单名]:[url][空格][javascript脚本]
    diff --git a/zh/longclick/index.html b/zh/longclick/index.html index a01c463..a059be9 100644 --- a/zh/longclick/index.html +++ b/zh/longclick/index.html @@ -43,7 +43,7 @@

    长按链接弹出菜单显示/sdcard/uweb/longclick目录下所有js文件供用户挑选执行。
    js文件格式如下:

    diff --git a/zh/pccopy/index.html b/zh/pccopy/index.html index 37ac486..e2d181b 100644 --- a/zh/pccopy/index.html +++ b/zh/pccopy/index.html @@ -53,7 +53,7 @@ 搜狗翻译

    彩云小译
    deepL

    -

    点击安装"保存文本"等

    +

    点击安装"保存文本"等

    重启浏览器,长按“链接”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。

    配置文件"/sdcard/uweb/default.select"定义了超微浏览器对选中(富)文本/元素进行的操作。没有任何选中元素则以整个网页为操作对象。每行格式如下:
    [菜单名]:[mimetype]:[命令行]

    @@ -62,7 +62,7 @@ mimetype用来表示命令的输入输出类型。格式为"[输入mimetype html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
    /uweb: 选中文本为txt格式, 输出mimetype为特殊扩充uweb,超微将把输出作为链接来处理。
    /termux: 命令运行结果将作为termux下命令运行。
    -checked.js: 运行配置目录下checked.js,其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][[文件后缀]]"。譬如"file:///sdcard/?.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)

    +checked.js: 运行配置目录下checked.js,其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][[文件后缀]]"。譬如"file:///sdcard/?.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)

    配置/sdcard/uweb/default.select如下:
    复制文本到地址栏:uweb:printf i:15;cat
    笔记::(cat;echo;echo;)>>notes.txt
    diff --git a/zh/redirect/index.html b/zh/redirect/index.html index 7e029ef..c675856 100644 --- a/zh/redirect/index.html +++ b/zh/redirect/index.html @@ -40,7 +40,7 @@

    github mirror:fastgit
    github mirror 2
    github mirror 3

    -

    点击添加google recaptcha国内镜像

    +

    点击添加google recaptcha国内镜像

    使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。

    其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。

    本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。

    diff --git a/zh/searchcat/index.html b/zh/searchcat/index.html index 091df82..1da9f34 100644 --- a/zh/searchcat/index.html +++ b/zh/searchcat/index.html @@ -35,7 +35,7 @@
  • 搜索
  • -

    点击本链接自动安装分类多引擎文件至"/sdcard/uweb/bookmark"目录下

    +

    点击本链接自动安装分类多引擎文件至"/sdcard/uweb/bookmark"目录下

    超微浏览器中通过“设置”->“总目录”->“↑”->“Download”,点击后缀为.search的下载文件,超微浏览器将自动显示分类多引擎搜索。此时可按菜单键(或长按底部工具条后退按钮)选择“添加到桌面”方便以后访问。

    .search文件每行格式为如下几种:
    [搜索引擎名]:[不含%s的url]
    diff --git a/zh/sitemap.xml b/zh/sitemap.xml index bd5f2d2..2b2a5e3 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -142,18 +142,68 @@ /zh/tags/pc/ 2022-04-23T00:00:00+00:00 + + /zh/tags/ssh/ 2022-04-23T00:00:00+00:00 + + /zh/tags/termux/ 2022-04-23T00:00:00+00:00 + + /zh/tags/windows/ 2022-04-23T00:00:00+00:00 + + /zh/pccopy/ 2022-04-23T00:00:00+00:00 + + /zh/tags/%E5%89%AA%E8%B4%B4%E6%9D%BF/ 2022-04-23T00:00:00+00:00 @@ -182,6 +232,16 @@ /zh/icons/ 2022-02-06T00:00:00+00:00 + + /zh/tips/ 2021-11-01T00:00:00+00:00 @@ -206,6 +266,16 @@ /zh/longclick/ 2020-11-06T00:00:00+00:00 + + /zh/video/ 2020-09-22T00:00:00+00:00 @@ -260,6 +330,16 @@ /zh/hosts/ /zh/adblock_domain/ + + /zh/multiaccount/ diff --git a/zh/sitemap/index.html b/zh/sitemap/index.html index 26cc34e..1e91af1 100644 --- a/zh/sitemap/index.html +++ b/zh/sitemap/index.html @@ -60,7 +60,7 @@

  • 长按链接弹出菜单
  • 底部工具条定制
  • 手势
  • -
  • 高级个性化定制
  • +
  • 高级个性化定制
  • 高级设置

    内容类
    diff --git a/zh/tags/ssh/index.xml b/zh/tags/ssh/index.xml index 3a5f5ac..f1d8375 100644 --- a/zh/tags/ssh/index.xml +++ b/zh/tags/ssh/index.xml @@ -68,7 +68,7 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 "/clip" : 输出结果复制到剪贴板。 "clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。 "termux/*": 在termux中执行命令。 -"uweb": 输出结果作为链接来处理。 +"/uweb": 输出结果作为链接来处理。 下面是笔者使用的default.cmds配置(命令具体解释): 复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i" PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o"
    diff --git a/zh/tags/termux/index.xml b/zh/tags/termux/index.xml index 5ad576a..0e4100b 100644 --- a/zh/tags/termux/index.xml +++ b/zh/tags/termux/index.xml @@ -146,7 +146,7 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 "/clip" : 输出结果复制到剪贴板。 "clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。 "termux/*": 在termux中执行命令。 -"uweb": 输出结果作为链接来处理。 +"/uweb": 输出结果作为链接来处理。 下面是笔者使用的default.cmds配置(命令具体解释): 复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i" PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o" diff --git a/zh/tags/剪贴板/index.xml b/zh/tags/剪贴板/index.xml index 55f6a11..9a5a5ee 100644 --- a/zh/tags/剪贴板/index.xml +++ b/zh/tags/剪贴板/index.xml @@ -68,7 +68,7 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 "/clip" : 输出结果复制到剪贴板。 "clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。 "termux/*": 在termux中执行命令。 -"uweb": 输出结果作为链接来处理。 +"/uweb": 输出结果作为链接来处理。 下面是笔者使用的default.cmds配置(命令具体解释): 复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i" PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o" diff --git a/zh/tcron/index.html b/zh/tcron/index.html index 5b42904..e62d6db 100644 --- a/zh/tcron/index.html +++ b/zh/tcron/index.html @@ -51,7 +51,7 @@ set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin
    tcron /sdcard/a "cloud189-go sign;toybox touch /sdcard/a" 24
    #每30天清空baidu目录
    tcron /sdcard/b "rm -rf /sdcard/baidu/*;toybox touch /sdcard/b" 720

    -

    安装default.rc模板文件(termux)

    +

    安装default.rc模板文件(termux)

    可能用到的命令:
    termux中安装remind,可配置各类提醒功能,十分强大。
    apt install remind

    diff --git a/zh/tools/index.html b/zh/tools/index.html index 89d0ccf..1ead9ac 100644 --- a/zh/tools/index.html +++ b/zh/tools/index.html @@ -62,7 +62,7 @@

    Merriam Webster Unabridged
    安装mwu至主屏

    以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。

    -

    安装tdict词典工具

    +

    安装tdict词典工具

    安装完tdict词典工具以后,对/sdcard/uweb/dict目录下的汉语大字典文件如"dictXXX.xz"可在主屏.search文件配置如下字典查询:
    汉语大字典:c:zd xz %s dictXXX

    字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst,此时配置变为"zd zst %s dictXXX",相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。

    diff --git a/zh/video/index.html b/zh/video/index.html index cbbc125..d186617 100644 --- a/zh/video/index.html +++ b/zh/video/index.html @@ -73,7 +73,7 @@
  • 纪录片
  • 网络直播
  • -

    点击安装"视频播放增强(倍速等),635+版本功能已内置,仅供高级用户定制参考。"

    +

    点击安装"视频播放增强(倍速等),635+版本功能已内置,仅供高级用户定制参考。"