diff --git a/README.md b/README.md index 4fddbbf..1cd5c61 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,19 @@ [pages](https://uwebzh.pages.dev/en) [stormkit](https://uweb.stormkit.dev/en) [surge](https://uweb.surge.sh/en/) +[gitlab](https://jamesfengcao.gitlab.io/uweb/en) [render](https://uwebzh.onrender.com/en) ) -- Tiny, less than 200k -- Efficient: run fast and less touches -- Powerful: supports user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. +- Tiny: less than 200k +- Fast: run fast, more apparently with thousands of user provided css/scripts +- Efficient: less touches, one click to reach any number of search engines without repeated input. +- Customizable: user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. +- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more with uweb compatible Termux. #### Main features TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.). -- One click to reach any number of search engines without repeated input. - Resizable floating video support. - User-defined global and site-specific CSS and javascript. - Bookmarklets (with option to auto apply to similar sites) diff --git a/README.zh.md b/README.zh.md index 8e51bf2..a5fe7a6 100644 --- a/README.zh.md +++ b/README.zh.md @@ -6,6 +6,7 @@ [pages](https://uwebzh.pages.dev/zh) [stormkit](https://uweb.stormkit.dev/en) [surge](https://uweb.surge.sh/en/) +[gitlab](https://jamesfengcao.gitlab.io/uweb/zh) [github](https://torappinfo.github.io/uwebzh/zh)) - 微:不到200K。 diff --git a/en/_posts/index.xml b/en/_posts/index.xml index f66465e..d7a4e9d 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -34,6 +34,7 @@ /en/links/ Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon): +Wait for network msg Certificate info Web fullscreen Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows: @@ -76,6 +77,22 @@ Toggle all checkboxes in forms Enable selection + + Commands + /en/cmds/ + Thu, 02 Jun 2022 00:00:00 +0000 + + /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 +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 + + Text selection /en/pccopy/ diff --git a/en/index.html b/en/index.html index be33733..c7ae7e8 100644 --- a/en/index.html +++ b/en/index.html @@ -113,6 +113,12 @@ +
  • + + Commands + +
  • +
  • Text selection diff --git a/en/index.xml b/en/index.xml index ad3a684..6cc9d6e 100644 --- a/en/index.xml +++ b/en/index.xml @@ -73,6 +73,7 @@ Note: "Engines" needs file "engine.search",whose format is sam /en/links/ Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon): +Wait for network msg Certificate info Web fullscreen Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows: @@ -167,6 +168,22 @@ Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache Clear logcat::logcat -c + + Commands + /en/cmds/ + Thu, 02 Jun 2022 00:00:00 +0000 + + /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 +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 + + Execute javascript codes /en/rjs/ diff --git a/en/links/index.html b/en/links/index.html index 2c479cf..a81b2ee 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -48,7 +48,8 @@

    Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon):
    -
    Certificate info

    +Wait for network msg

    +

    Certificate info

    Web fullscreen

    Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows:
    [Menu name]:[url][space][javascript code]

    diff --git a/en/sitemap.xml b/en/sitemap.xml index 6ac165b..8d401f5 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -173,6 +173,19 @@ hreflang="en" href="/en/cmds/" /> + + /en/cmds/ + 2022-06-02T00:00:00+00:00 + + /en/rjs/ 2022-06-01T00:00:00+00:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 872f713..e4386db 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -94,6 +94,32 @@ Enables all form elements BugMeNot + + 配置浏览器常用命令 + /zh/cmds/ + Wed, 01 Jun 2022 00:00:00 +0000 + + /zh/cmds/ + 超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。 +打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等 +配置文件"default.cmds"示例: +清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete +本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb +本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/. +VPN::am start -a android.net.vpn.SETTINGS +无线::am start -a android.settings.WIRELESS_SETTINGS +合并查询历史至自动填充: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 +清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache +清空logcat::logcat -c +输出logcat.log::logcat -d > logcat.log +复制cookie:/clip:printf '%c' +tgz install::toybox tar -xzf %f -C / +以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。 +发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat +发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500 +发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192. + + Android TV /zh/androidtv/ diff --git a/zh/index.html b/zh/index.html index f9c8b5b..58dc1fb 100644 --- a/zh/index.html +++ b/zh/index.html @@ -111,6 +111,12 @@
  • +
  • + + 配置浏览器常用命令 + +
  • +
  • Android TV diff --git a/zh/index.xml b/zh/index.xml index 0a5f6ca..3de772d 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -268,6 +268,32 @@ VPN::am start -a android.net.vpn.SETTINGS 输出logcat.log::logcat -d > logcat.log 复制cookie:/clip:printf '%c' tgz install::toybox tar -xzf %f -C / +以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。 +发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat +发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500 +发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192. + + + + 配置浏览器常用命令 + /zh/cmds/ + Wed, 01 Jun 2022 00:00:00 +0000 + + /zh/cmds/ + 超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。 +打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等 +配置文件"default.cmds"示例: +清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete +本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb +本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/. +VPN::am start -a android.net.vpn.SETTINGS +无线::am start -a android.settings.WIRELESS_SETTINGS +合并查询历史至自动填充: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 +清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache +清空logcat::logcat -c +输出logcat.log::logcat -d > logcat.log +复制cookie:/clip:printf '%c' +tgz install::toybox tar -xzf %f -C / 下面配置需要root权限: 解冻微信::su -c 'pm enable com.tencent.mm' 冻结微信::su -c 'pm disable com. diff --git a/zh/sitemap.xml b/zh/sitemap.xml index cce4279..cb972ed 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -147,6 +147,19 @@ hreflang="zh" href="/zh/cmds/" /> + + /zh/cmds/ + 2022-06-01T00:00:00+00:00 + + /zh/androidtv/ 2022-05-18T00:00:00+00:00