From 3a6f6b546bf752fa0fba181d4cc3eabd9f1080fc Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 4 Oct 2024 10:34:03 +0800 Subject: [PATCH] uweb 1060 --- en/cmds/index.html | 9 +++++---- en/ebrowserreadme/index.html | 5 ++--- en/index.xml | 4 ++-- en/sitemap.xml | 10 +++++----- en/topposts/index.xml | 4 ++-- latest.html | 2 +- misc/ebrowser/README.md | 2 -- sitemap.xml | 2 +- 8 files changed, 18 insertions(+), 20 deletions(-) diff --git a/en/cmds/index.html b/en/cmds/index.html index 74b06fb6..02ac3147 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -50,6 +50,7 @@

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:

Quit & clear data:q:toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete

+

Clipboard2input:clip:cat>>default.input

Clear database::rm -rf /data/data/info.torapp.uweb/databases/*

Append query to autocomplete:uweb:cd /data/data/info.torapp.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.torapp.uweb/files/default.autoc

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

@@ -79,8 +80,8 @@

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

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

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

-

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

-

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

+

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

+

ClipboardFromPC:/clip:ssh fengcao@192.168.1.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

@@ -115,8 +116,8 @@ Clipboard2QR needs libqrencode.

-

Last Modified: 20 August 2024
-add mimetype 'q' for quit
+

Last Modified: 3 October 2024
+uweb version 1060


 

diff --git a/en/ebrowserreadme/index.html b/en/ebrowserreadme/index.html index acda9242..97e1ef3f 100644 --- a/en/ebrowserreadme/index.html +++ b/en/ebrowserreadme/index.html @@ -83,7 +83,6 @@
Update app quickly without updating chromium

Pressing "Alt" to show the menu bar and choose "Check for updates" under "Help". OR

Type ":update" in the address bar and press "enter" key to update.

-

Mirror urls could be used like ":update https://uwebzh.netlify.app/misc/ebrowser". All the mirrors listed on uweb browser could be used. The update url needs to be changed accordingly to be the folder "misc/ebrowser" under the mirror site root url.

Key shortcuts