From 6302501dcaff9a3ee03038981cfc4222d22562f1 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 29 Jul 2022 09:00:37 +0800 Subject: [PATCH] rebuilding site Fri Jul 29 09:00:37 AM CST 2022 --- en/cmds/index.html | 4 +- en/index.xml | 24 +++--- en/{topposts => }/rjs/index.html | 0 en/{topposts => }/search/index.html | 0 en/sitemap.xml | 16 ++-- en/topposts/changelog/index.html | 52 ------------ en/topposts/cmds/index.html | 105 ----------------------- en/topposts/index.xml | 24 +++--- en/topposts/sitemap/index.html | 119 -------------------------- en/{topposts => }/urls/index.html | 0 zh/index.xml | 4 +- zh/sitemap.xml | 6 +- zh/sitemap/index.html | 4 + zh/topposts/index.xml | 4 +- zh/topposts/sitemap/index.html | 124 ---------------------------- 15 files changed, 45 insertions(+), 441 deletions(-) rename en/{topposts => }/rjs/index.html (100%) rename en/{topposts => }/search/index.html (100%) delete mode 100644 en/topposts/changelog/index.html delete mode 100644 en/topposts/cmds/index.html delete mode 100644 en/topposts/sitemap/index.html rename en/{topposts => }/urls/index.html (100%) delete mode 100644 zh/topposts/sitemap/index.html diff --git a/en/cmds/index.html b/en/cmds/index.html index 55256125..09385d13 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -53,8 +53,8 @@

Clear logcat::logcat -c

logcat.log::logcat -d > logcat.log

copy cookie:/clip:printf '%c'

-

config in Download::cd /data/data/info.torinfo.uweb;rm -rf files;mkdir -p /sdcard/Download/uweb;ln -s /sdcard/Download/uweb files

-

html5 in Download::cd /data/data/info.torinfo.uweb/files;rm -rf app;mkdir -p /sdcard/Download/app;ln -s /sdcard/Download/app

+

config in Download::cd /data/data/info.torinfo.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files

+

html5 in Download::cd /data/data/info.torinfo.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app

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

Need root permissions:

Need termux:
diff --git a/en/index.xml b/en/index.xml index 8ac9df04..9404e29f 100644 --- a/en/index.xml +++ b/en/index.xml @@ -8,10 +8,10 @@ Fri, 29 Jul 2022 00:00:00 +0000 Search engines - /en/topposts/search/ + /en/search/ Fri, 29 Jul 2022 00:00:00 +0000 - /en/topposts/search/ + /en/search/ Clicking the following links to install search engines to uweb's home screen. Recommended engines (append any of following to file "home5.search"): Engines:i:40%s_00 @@ -28,19 +28,19 @@ Note: "Engines" needs file "engine.search",whose format is sam Site map - /en/topposts/sitemap/ + /en/sitemap/ Thu, 28 Jul 2022 00:00:00 +0000 - /en/topposts/sitemap/ + /en/sitemap/ UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug Change log - /en/topposts/changelog/ + /en/changelog/ Sat, 09 Jul 2022 00:00:00 +0000 - /en/topposts/changelog/ + /en/changelog/ 903: Enhance html5 apps. (ex. mdict-js, a dictionary lookup app, works like native with minimal change) 901: Use in-app files folder for configuration @@ -117,10 +117,10 @@ Enable selection Url services - /en/topposts/urls/ + /en/urls/ Fri, 10 Jun 2022 00:00:00 +0000 - /en/topposts/urls/ + /en/urls/ Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the "image" button to popup the menu. Fullscreen video:i:5f Redirect/edit:e: @@ -153,10 +153,10 @@ trace.moe:https://trace.moe/?url= Commands - /en/topposts/cmds/ + /en/cmds/ Thu, 02 Jun 2022 00:00:00 +0000 - /en/topposts/cmds/ + /en/cmds/ 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 "default.cmds" examples: Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete @@ -169,10 +169,10 @@ Clear logcat::logcat -c Execute javascript codes - /en/topposts/rjs/ + /en/rjs/ Wed, 01 Jun 2022 00:00:00 +0000 - /en/topposts/rjs/ + /en/rjs/ javascript for domains Global javascript files locates in the subfolder "js" of app private folder. Long press button [☰] to configure. Click the following links to install: <a target=_self" href="i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/passwdsave.js">Save password diff --git a/en/topposts/rjs/index.html b/en/rjs/index.html similarity index 100% rename from en/topposts/rjs/index.html rename to en/rjs/index.html diff --git a/en/topposts/search/index.html b/en/search/index.html similarity index 100% rename from en/topposts/search/index.html rename to en/search/index.html diff --git a/en/sitemap.xml b/en/sitemap.xml index e81a3f91..21299b7b 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -15,7 +15,7 @@ href="/en/" /> - /en/topposts/search/ + /en/search/ 2022-07-29T00:00:00+00:00 /en/topposts/ @@ -31,20 +31,20 @@ href="/en/topposts/" /> - /en/topposts/sitemap/ + /en/sitemap/ 2022-07-28T00:00:00+00:00 - /en/topposts/changelog/ + /en/changelog/ 2022-07-09T00:00:00+00:00 /en/_posts/ @@ -138,13 +138,13 @@ href="/en/tags/" /> - /en/topposts/urls/ + /en/urls/ 2022-06-10T00:00:00+00:00 - /en/topposts/cmds/ + /en/cmds/ 2022-06-02T00:00:00+00:00 - /en/topposts/rjs/ + /en/rjs/ 2022-06-01T00:00:00+00:00 /en/tags/clipboard/ diff --git a/en/topposts/changelog/index.html b/en/topposts/changelog/index.html deleted file mode 100644 index a97f505a..00000000 --- a/en/topposts/changelog/index.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - Change log - - - -

- - - -
-
- -
-

Change log -
- -

- -

903: Enhance html5 apps. (ex. mdict-js, a dictionary lookup app, works like native with minimal change)
-901: Use in-app files folder for configuration

- -
- - - diff --git a/en/topposts/cmds/index.html b/en/topposts/cmds/index.html deleted file mode 100644 index 09385d13..00000000 --- a/en/topposts/cmds/index.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - 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.

-

Configuration file "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 /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc

-

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

-

Clear logcat::logcat -c

-

logcat.log::logcat -d > logcat.log

-

copy cookie:/clip:printf '%c'

-

config in Download::cd /data/data/info.torinfo.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files

-

html5 in Download::cd /data/data/info.torinfo.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app

-

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]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec

-

deduplicate bookmarks::awk '!s[$0]++' /data/data/info.torinfo.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/bookmark.html

-

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

-

deduplicate siteconf::toybox tac /data/data/info.torinfo.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/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/Download/a.png;echo file:///sdcard/Download/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.

-

More commands (click to install)

-

mdme: Show local markdown file

-

texme: Show local tex+markdown file

-

markdeep: Show local markdown+tex+diagrams file

-

remark slide: slide show for local markdown file

-

Code editor, open url in clipboard etc.

-

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

- - -
- - - diff --git a/en/topposts/index.xml b/en/topposts/index.xml index c3710691..22d8c172 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -8,10 +8,10 @@ Fri, 29 Jul 2022 00:00:00 +0000 Search engines - /en/topposts/search/ + /en/search/ Fri, 29 Jul 2022 00:00:00 +0000 - /en/topposts/search/ + /en/search/ Clicking the following links to install search engines to uweb's home screen. Recommended engines (append any of following to file "home5.search"): Engines:i:40%s_00 @@ -28,29 +28,29 @@ Note: "Engines" needs file "engine.search",whose format is sam Site map - /en/topposts/sitemap/ + /en/sitemap/ Thu, 28 Jul 2022 00:00:00 +0000 - /en/topposts/sitemap/ + /en/sitemap/ UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug Change log - /en/topposts/changelog/ + /en/changelog/ Sat, 09 Jul 2022 00:00:00 +0000 - /en/topposts/changelog/ + /en/changelog/ 903: Enhance html5 apps. (ex. mdict-js, a dictionary lookup app, works like native with minimal change) 901: Use in-app files folder for configuration Url services - /en/topposts/urls/ + /en/urls/ Fri, 10 Jun 2022 00:00:00 +0000 - /en/topposts/urls/ + /en/urls/ Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the "image" button to popup the menu. Fullscreen video:i:5f Redirect/edit:e: @@ -83,10 +83,10 @@ trace.moe:https://trace.moe/?url= Commands - /en/topposts/cmds/ + /en/cmds/ Thu, 02 Jun 2022 00:00:00 +0000 - /en/topposts/cmds/ + /en/cmds/ 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 "default.cmds" examples: Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete @@ -99,10 +99,10 @@ Clear logcat::logcat -c Execute javascript codes - /en/topposts/rjs/ + /en/rjs/ Wed, 01 Jun 2022 00:00:00 +0000 - /en/topposts/rjs/ + /en/rjs/ javascript for domains Global javascript files locates in the subfolder "js" of app private folder. Long press button [☰] to configure. Click the following links to install: <a target=_self" href="i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/passwdsave.js">Save password diff --git a/en/topposts/sitemap/index.html b/en/topposts/sitemap/index.html deleted file mode 100644 index a6a9b5b5..00000000 --- a/en/topposts/sitemap/index.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - Site map - - - -
- - - - - - - -
-
- - - - - diff --git a/en/topposts/urls/index.html b/en/urls/index.html similarity index 100% rename from en/topposts/urls/index.html rename to en/urls/index.html diff --git a/zh/index.xml b/zh/index.xml index 4feaf01a..8f5d5dea 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -96,10 +96,10 @@ BugMeNot
技巧网站导航 - /zh/topposts/sitemap/ + /zh/sitemap/ Sat, 28 May 2022 00:00:00 +0000 - /zh/topposts/sitemap/ + /zh/sitemap/ 界面配置 搜索引擎 主页 快速访问 界面配置及杂项 (gitee镜像) 备份与恢复 个性化 工具条按钮长按菜单 浏览器标识 js脚本 常用服务 常用链接 常用命令 远程脚本 选中文本类菜单 长按链接弹出菜单 底部工具条定制 手势 高级个性化定制 高级设置 内容类 信息隐藏 CSS样式 重定向 特定网址用户脚本及样式 网站离线资源 工具应用类 小书签 文件预处理 html5应用 文件管理器 工具汇总 终端应用及Termux 超级计算器 函数作图 定时脚本 离线下载 输入法辅助 部件检索 综合 配置文件列表 插件 使用技巧 使用技巧 视频 安卓系统出错诊断 diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 2559b59e..d403e2a0 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -96,17 +96,17 @@ href="/zh/topposts/" /> - /zh/topposts/sitemap/ + /zh/sitemap/ 2022-05-28T00:00:00+00:00 /zh/androidtv/ diff --git a/zh/sitemap/index.html b/zh/sitemap/index.html index b39298f1..2c3390d0 100644 --- a/zh/sitemap/index.html +++ b/zh/sitemap/index.html @@ -30,6 +30,10 @@
+ + + +
diff --git a/zh/topposts/index.xml b/zh/topposts/index.xml index b9b0b848..4a383d35 100644 --- a/zh/topposts/index.xml +++ b/zh/topposts/index.xml @@ -8,10 +8,10 @@ Sat, 28 May 2022 00:00:00 +0000 技巧网站导航 - /zh/topposts/sitemap/ + /zh/sitemap/ Sat, 28 May 2022 00:00:00 +0000 - /zh/topposts/sitemap/ + /zh/sitemap/ 界面配置 搜索引擎 主页 快速访问 界面配置及杂项 (gitee镜像) 备份与恢复 个性化 工具条按钮长按菜单 浏览器标识 js脚本 常用服务 常用链接 常用命令 远程脚本 选中文本类菜单 长按链接弹出菜单 底部工具条定制 手势 高级个性化定制 高级设置 内容类 信息隐藏 CSS样式 重定向 特定网址用户脚本及样式 网站离线资源 工具应用类 小书签 文件预处理 html5应用 文件管理器 工具汇总 终端应用及Termux 超级计算器 函数作图 定时脚本 离线下载 输入法辅助 部件检索 综合 配置文件列表 插件 使用技巧 使用技巧 视频 安卓系统出错诊断 diff --git a/zh/topposts/sitemap/index.html b/zh/topposts/sitemap/index.html deleted file mode 100644 index 2c3390d0..00000000 --- a/zh/topposts/sitemap/index.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - 技巧网站导航 - - - -
- - - - - - - -
-
- - - - -