From 54f8ad1d3932e7eb533c94132ca9e71406e78a8c Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Tue, 30 Dec 2025 23:12:20 +0800
Subject: [PATCH] enhance url services with %u, %t support
---
en/_posts/index.xml | 27 ++++---
en/ebrowserreadme/index.html | 22 +++---
en/filemanager/index.html | 90 +++++++++++++++++++++++
en/index.html | 22 ++++--
en/index.xml | 43 ++++++-----
en/links/index.html | 14 ++--
en/sitemap.xml | 137 +++++++++++++++++++----------------
en/tags/clipboard/index.xml | 4 +-
en/tags/index.xml | 2 +-
en/tags/ssh/index.xml | 4 +-
en/tags/termux/index.xml | 4 +-
en/tags/windows/index.xml | 4 +-
en/textprocess/index.html | 8 +-
en/tips/index.html | 11 +--
en/topposts/index.xml | 16 ++--
en/unlist/index.xml | 2 +-
en/urls/index.html | 102 +++++++++++++-------------
misc/ebrowser/README.md | 18 ++---
misc/ebrowser/index.html | 14 ++--
misc/ebrowser/search.json | 1 +
sitemap.xml | 4 +-
zh/filemanager/index.html | 4 +
zh/index.html | 12 +--
zh/index.xml | 16 ++--
zh/sitemap.xml | 88 ++++++++++++----------
zh/topposts/index.xml | 16 ++--
zh/urls/index.html | 121 ++++++++++++++++---------------
27 files changed, 473 insertions(+), 333 deletions(-)
create mode 100644 en/filemanager/index.html
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 1a7ad290..9cd6a4b0 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -6,8 +6,22 @@
Recent content in _Posts on uweb browser: unlimited powerHugoen
- Fri, 05 Dec 2025 19:03:32 +0800
+ Mon, 08 Dec 2025 08:53:33 +0800
+
+ File manager
+ https://jamesfengcao.gitlab.io/uweb/en/filemanager/
+ Fri, 05 Dec 2025 00:00:00 +0000
+ https://jamesfengcao.gitlab.io/uweb/en/filemanager/
+ <p>Visiting file urls ending with "/" enters internal file manager.</p>
<p>When the current tab is internal file manager, visiting file url for a file shows the content of the file, long pressing button "🕔" -> Editor loads line-based editor for the file. If the file does not exist, saving creates a new file.</p>
<p>Running any command with address bar with the format "d::command line:" to execute "command line" in the current folder of the internal file manager. Ex:<br>
"d::touch a.txt:" to create a new file a.txt.<br>
"d::mkdir subdir:" to create a new folder names "subdir".<br>
"d::mv old new:" to rename the file "old" to be "new".</p>
+
+
+ Tips
+ https://jamesfengcao.gitlab.io/uweb/en/tips/
+ Fri, 05 Dec 2025 00:00:00 +0000
+ https://jamesfengcao.gitlab.io/uweb/en/tips/
+ <p><strong>Address bar autocompletion as input method when starting with space</strong><br>
When address bar text starts with space, the autocompletion selection is inserted to the focused element on the web page. It could be used to choose AI prompts.</p>
<p><strong>Text processing for clipboard data</strong><br>
On home screen, pressing the sharing button of the bottom toolbar popups the <a href="../textprocess/index.html#">text processing menu</a> for clipboard data.</p>
<p><strong>To show web pages in desktop mode</strong><br>
PC button + option "wide viewport" + global js "force page resizable".<br>
If some dialog is wider than the screen, press "📄" on the bottom toolbar.</p>
+ Phrases and input method
https://jamesfengcao.gitlab.io/uweb/en/input/
@@ -15,13 +29,6 @@
https://jamesfengcao.gitlab.io/uweb/en/input/<h4 id="defaultinput">"default.input"</h4>
<p>Click the following links to install menus popped by long pressing the share button (with arrow-out-of-square as icon) on the bottom toolbar:<br>
<a href="i:0gdefault.input::@AddrBar%0A">Address Bar</a><br>
<a href="i:0gdefault.input::%20\n%0A">New line</a><br>
<a href="i:0gdefault.input::@^Z@%1A%0A">CTRL-Z: undo</a><br>
<a href="i:0gdefault.input::@^Y@%19%0A">CTRL-Y: redo</a></p>
<p>Long pressing the share button in <a href="../index.html#">uweb browser</a> will popup menus defined in file "default.input", each line of which defines common phrase for user inputs. If the phrase begins with "@xxxx@", then "xxxx" part is the alias for the rest part of the string. Alias could be used for non-printable phrases.</p>
-
- Tips
- https://jamesfengcao.gitlab.io/uweb/en/tips/
- Sat, 11 Oct 2025 00:00:00 +0000
- https://jamesfengcao.gitlab.io/uweb/en/tips/
- <p><strong>Address bar autocompletion as input method when starting with space</strong><br>
When address bar text starts with space, the autocompletion selection is inserted to the focused element on the web page. It could be used to choose AI prompts.</p>
<p><strong>Text processing for clipboard data</strong><br>
On home screen, pressing the sharing button of the bottom toolbar popups the <a href="../textprocess/index.html#">text processing menu</a> for clipboard data.</p>
<p><strong>To show web pages in desktop mode</strong><br>
PC button + option "wide viewport" + global js "force page resizable".<br>
If some dialog is wider than the screen, press "📄" on the bottom toolbar.</p>
- Context menu
https://jamesfengcao.gitlab.io/uweb/en/longclick/
@@ -48,14 +55,14 @@
https://jamesfengcao.gitlab.io/uweb/en/textprocess/
Fri, 01 Dec 2023 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/textprocess/
- <p>Click the following links to install menus for long pressing the button "link":<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file "default.select" defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
+ <p>Click the following links to install menus for long pressing the button <code>link</code>:<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file <code>default.select</code> defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>Links
https://jamesfengcao.gitlab.io/uweb/en/links/
Sat, 28 Oct 2023 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/links/
- <h4 id="context-menu">Context menu</h4>
<p>The configuration file "image.link", "download.link" and "context.link" define the default "command" submenu of the context menus when a url link is long pressed.</p>
<h5 id="context-menu-for-images">Context menu for images</h5>
<p>Click the following links to install "command" submenu for image's context menu:<br>
<a href="i:0gimage.link::google:https://www.google.com/searchbyimage?image_url=%25u0A">google image</a></p>
<p><a href="i:0gimage.link::tineye:https://tineye.com/search?url=%25u0A">tineye</a></p>
<p><a href="i:0gimage.link::yandex:https://yandex.com/images/search?family=yes&rpt=imageview&url=%25u0A">yandex image</a></p>
<h5 id="download-options-menu---command">Download options menu -> "command"</h5>
<p>Click the following links to install "command" submenu for <b>download options menu</b>:<br>
<a href="i:0gdownload.link::pager:i:0m/js/view.html:%25u#p=1%0A">huge txt pager</a></p>
<p><a href="i:0gdownload.link::pager_2lnk:i:0m/js/view.html#/js/2lnk.js:%25u#p=1%0A">pager with urls converted to links</a></p>
+ <h4 id="context-menu">Context menu</h4>
<p>The configuration file <code>image.link</code>, <code>download.link</code> and <code>context.link</code> define the default <code>command</code> submenu of the context menus when a url link is long pressed.</p>
<h5 id="context-menu-for-images">Context menu for images</h5>
<p>Click the following links to install <code>command</code> submenu for image's context menu:<br>
<a href="i:0gimage.link::google:https://www.google.com/searchbyimage?image_url=%25u0A">google image</a></p>
<p><a href="i:0gimage.link::tineye:https://tineye.com/search?url=%25u0A">tineye</a></p>
<p><a href="i:0gimage.link::yandex:https://yandex.com/images/search?family=yes&rpt=imageview&url=%25u0A">yandex image</a></p>
<h5 id="download-options-menu---command">Download options menu -> <code>command</code></h5>
<p>Click the following links to install <code>command</code> submenu for <b>download options menu</b>:<br>
<a href="i:0gdownload.link::pager:i:0m/js/view.html:%25u#p=1%0A">huge txt pager</a></p>
<p><a href="i:0gdownload.link::pager_2lnk:i:0m/js/view.html#/js/2lnk.js:%25u#p=1%0A">pager with urls converted to links</a></p>Cron
diff --git a/en/ebrowserreadme/index.html b/en/ebrowserreadme/index.html
index 7a20596f..b10ef07d 100644
--- a/en/ebrowserreadme/index.html
+++ b/en/ebrowserreadme/index.html
@@ -53,25 +53,27 @@
much less memory footprint than edge/chrome browser and highly performant.
keyboard friendly with vim-style keymaps and command line support in address bar.
Install ebrowser and electron separatedly (Recommended)
Install ebrowser
-
Either download (Click the green "Code" button above the file list => Select "Download ZIP") and unzip from
+
Either download (Click the green Code button above the file list => Select Download ZIP) and unzip from
https://github.com/torappinfo/ebrowser
OR download and unzip ebrowser package directly from any of npm mirror sites like npmmirror or with nodejs by
npm install ebrowser
-
OR download/"git clone" files directly from any of mirror repositories and ebrowser is under the folder "misc/ebrowser".
+
OR download/git clone files directly from any of mirror repositories and ebrowser is under the folder misc/ebrowser.
Install electron
Before you can run ebrowser, you need to install electron either with nodejs by
npm install electron
@@ -84,8 +86,8 @@
electron [the-path-of-folder-with-downloaded-ebrowser-files]
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.
+
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.
Key shortcuts
Alt: show menu
@@ -99,7 +101,7 @@
CTRL+TAB: switch to next tab
CTRL+SHIFT+TAB: switch to previous tab
CTRL+W: close Tab
-
CTRL+SHIFT+R: enable global redirection ("gredirect.json")
+
CTRL+SHIFT+R: enable global redirection (gredirect.json)
CTRL+R: disable global redirection
ESC: remove focus. similar to vi normal mode.
F1: Help
@@ -107,12 +109,12 @@
F12: devtools
Address bar commands
-
Like any popular browser, the very first word in address bar if defined in "search.json" identifies a search engine. Moreover, the address bar serves as command line interface:
+
Like any popular browser, the very first word in address bar if defined in search.json identifies a search engine. Moreover, the address bar serves as command line interface:
"/" for find-in-page
":" for address bar commands
-
ac [bookmark/history path w/o ext] : load ".rec" file for autocomplete.
+
ac [bookmark/history path w/o ext] : load .rec file for autocomplete.
b [bookmarkfilename w/o ext] : bookmark current page in file.
bjs : Browser-level JavaScript execution.
bml [filename w/o extension] [arguments...]: load/execute the javascript file.
@@ -224,8 +226,8 @@
You can copy or modify the code/program under the terms of the GPL3.0 or later versions.
-
Last Modified: 12 November 2025
-optimize ebrowser README
+
Visiting file urls ending with "/" enters internal file manager.
+
When the current tab is internal file manager, visiting file url for a file shows the content of the file, long pressing button "🕔" -> Editor loads line-based editor for the file. If the file does not exist, saving creates a new file.
+
Running any command with address bar with the format "d::command line:" to execute "command line" in the current folder of the internal file manager. Ex:
+"d::touch a.txt:" to create a new file a.txt.
+"d::mkdir subdir:" to create a new folder names "subdir".
+"d::mv old new:" to rename the file "old" to be "new".
+
+
+
Last Modified: 5 December 2025
+add filemanager.md
+
Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows:
+
Long pressing the bookmark button in uweb browser will popup menus defined in file default.link. The file format is as follows:
[Menu name]:[one or more links delimited by " \n "]
and each link has the following format:
[url][space][javascript code]
@@ -340,8 +340,8 @@ Bundle of internal urls, if it is an "i:0" url, then it should have th
-
Last Modified: 22 August 2025
-cleanup cloud storage search engines
+
Last Modified: 8 December 2025
+use ` for terms
i:56 urls support CTRL_A to CTRL-Z
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 7dc669e6..92f94e21 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -2,8 +2,47 @@
+ https://jamesfengcao.gitlab.io/uweb/en/topposts/
+ 2025-12-30T23:10:52+08:00
+
+
+
+ https://jamesfengcao.gitlab.io/uweb/en/urls/
+ 2025-12-30T23:10:52+08:00
+
+
+
+ https://jamesfengcao.gitlab.io/uweb/en/
+ 2025-12-30T23:10:52+08:00
+
+
+ https://jamesfengcao.gitlab.io/uweb/en/_posts/
- 2025-12-05T19:03:32+08:00
+ 2025-12-08T08:53:33+08:00
+
+ https://jamesfengcao.gitlab.io/uweb/en/filemanager/
+ 2025-12-05T21:06:12+08:00
+
+
+
+ https://jamesfengcao.gitlab.io/uweb/en/tips/
+ 2025-12-05T21:09:32+08:00
+
+ https://jamesfengcao.gitlab.io/uweb/en/input/2025-11-13T18:49:05+08:00
@@ -27,32 +92,6 @@
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/input/"
/>
-
- https://jamesfengcao.gitlab.io/uweb/en/
- 2025-12-05T19:03:32+08:00
-
-
-
- https://jamesfengcao.gitlab.io/uweb/en/tips/
- 2025-12-05T19:03:32+08:00
-
- https://jamesfengcao.gitlab.io/uweb/en/longclick/2025-10-13T20:43:24+08:00
@@ -81,7 +120,7 @@
/>
https://jamesfengcao.gitlab.io/uweb/en/tags/
- 2025-11-06T19:14:30+08:00
+ 2025-12-08T08:53:33+08:00
-
- https://jamesfengcao.gitlab.io/uweb/en/topposts/
- 2025-12-05T07:43:12+08:00
-
- https://jamesfengcao.gitlab.io/uweb/en/globalcss/2024-10-13T16:43:18+08:00
@@ -152,10 +178,10 @@
2024-07-12T10:48:12+08:00https://jamesfengcao.gitlab.io/uweb/en/tags/clipboard/
- 2025-11-06T19:14:30+08:00
+ 2025-12-08T08:53:33+08:00https://jamesfengcao.gitlab.io/uweb/en/tags/ssh/
- 2025-11-06T19:14:30+08:00
+ 2025-12-08T08:53:33+08:00https://jamesfengcao.gitlab.io/uweb/en/tags/termux/
- 2025-11-06T19:14:30+08:00
+ 2025-12-08T08:53:33+08:00https://jamesfengcao.gitlab.io/uweb/en/textprocess/
- 2025-11-06T19:14:30+08:00
+ 2025-12-08T08:53:33+08:00https://jamesfengcao.gitlab.io/uweb/en/tags/windows/
- 2025-11-06T19:14:30+08:00
+ 2025-12-08T08:53:33+08:00https://jamesfengcao.gitlab.io/uweb/en/links/
- 2025-08-22T08:32:50+08:00
+ 2025-12-08T08:49:39+08:00
-
- https://jamesfengcao.gitlab.io/uweb/en/urls/
- 2025-04-08T23:19:03+08:00
-
- https://jamesfengcao.gitlab.io/uweb/en/cmds/2025-03-30T10:33:26+08:00
@@ -540,7 +553,7 @@
/>
https://jamesfengcao.gitlab.io/uweb/en/ebrowserreadme/
- 2025-11-12T20:15:41+08:00
+ 2025-12-08T08:44:26+08:00https://jamesfengcao.gitlab.io/uweb/en/mirrors/2025-11-12T18:13:17+08:00
@@ -571,7 +584,7 @@
/>
https://jamesfengcao.gitlab.io/uweb/en/unlist/
- 2025-11-12T20:15:41+08:00
+ 2025-12-08T08:44:26+08:00Recent content in Clipboard on uweb browser: unlimited power
Hugoen
- Thu, 06 Nov 2025 19:14:30 +0800
+ Mon, 08 Dec 2025 08:53:33 +0800Text selection/processing
https://jamesfengcao.gitlab.io/uweb/en/textprocess/
Fri, 01 Dec 2023 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/textprocess/
- <p>Click the following links to install menus for long pressing the button "link":<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file "default.select" defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
+ <p>Click the following links to install menus for long pressing the button <code>link</code>:<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file <code>default.select</code> defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
diff --git a/en/tags/index.xml b/en/tags/index.xml
index bd21fff3..cbb33c04 100644
--- a/en/tags/index.xml
+++ b/en/tags/index.xml
@@ -6,7 +6,7 @@
Recent content in Tags on uweb browser: unlimited powerHugoen
- Thu, 06 Nov 2025 19:14:30 +0800
+ Mon, 08 Dec 2025 08:53:33 +0800Javascript
diff --git a/en/tags/ssh/index.xml b/en/tags/ssh/index.xml
index b713c894..a626123d 100644
--- a/en/tags/ssh/index.xml
+++ b/en/tags/ssh/index.xml
@@ -6,14 +6,14 @@
Recent content in Ssh on uweb browser: unlimited powerHugoen
- Thu, 06 Nov 2025 19:14:30 +0800
+ Mon, 08 Dec 2025 08:53:33 +0800Text selection/processing
https://jamesfengcao.gitlab.io/uweb/en/textprocess/
Fri, 01 Dec 2023 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/textprocess/
- <p>Click the following links to install menus for long pressing the button "link":<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file "default.select" defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
+ <p>Click the following links to install menus for long pressing the button <code>link</code>:<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file <code>default.select</code> defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
diff --git a/en/tags/termux/index.xml b/en/tags/termux/index.xml
index 392f9af5..63ba07eb 100644
--- a/en/tags/termux/index.xml
+++ b/en/tags/termux/index.xml
@@ -6,14 +6,14 @@
Recent content in Termux on uweb browser: unlimited powerHugoen
- Thu, 06 Nov 2025 19:14:30 +0800
+ Mon, 08 Dec 2025 08:53:33 +0800Text selection/processing
https://jamesfengcao.gitlab.io/uweb/en/textprocess/
Fri, 01 Dec 2023 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/textprocess/
- <p>Click the following links to install menus for long pressing the button "link":<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file "default.select" defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
+ <p>Click the following links to install menus for long pressing the button <code>link</code>:<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file <code>default.select</code> defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>Tools
diff --git a/en/tags/windows/index.xml b/en/tags/windows/index.xml
index ffb010c5..2758f0a5 100644
--- a/en/tags/windows/index.xml
+++ b/en/tags/windows/index.xml
@@ -6,14 +6,14 @@
Recent content in Windows on uweb browser: unlimited powerHugoen
- Thu, 06 Nov 2025 19:14:30 +0800
+ Mon, 08 Dec 2025 08:53:33 +0800Text selection/processing
https://jamesfengcao.gitlab.io/uweb/en/textprocess/
Fri, 01 Dec 2023 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/textprocess/
- <p>Click the following links to install menus for long pressing the button "link":<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file "default.select" defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
+ <p>Click the following links to install menus for long pressing the button <code>link</code>:<br>
<a href="i:0gdefault.select::Share:/uwebS:%0A">Share</a></p>
<p><a href="i:0gdefault.select::Edit:/text/html:echo -n %22%3cmeta charset=utf-8%3e%3cbody contenteditable%3e%22;cat%0A">Edit</a></p>
<p><a href="i:0gdefault.select::AddrBar:/uwebAddr:%0A">Copy text to address bar</a></p>
<p><a href="i:0gdefault.select::notems:/uwebA:printf i:0/js/hash2textarea.js:https://note.ms/ric#;cat%0A">note.ms: cloud text sharing, please replace "ric" with your favorite ID</a></p>
<p><a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%22%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
<p>The file <code>default.select</code> defines text processing 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:<br>
[Name]:[mimetype]:[command line]</p>
diff --git a/en/textprocess/index.html b/en/textprocess/index.html
index 945a34a3..94bcd87d 100644
--- a/en/textprocess/index.html
+++ b/en/textprocess/index.html
@@ -56,7 +56,7 @@
The file "default.select" defines text processing 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:
+
The file default.select defines text processing 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]".
@@ -97,8 +97,8 @@ To use ssh or scp, users need to install uweb compatible Termux provided on the
PCs need command "xsel" available to operate on copy/paste.
-
Last Modified: 6 November 2025
-rewording
+
Last Modified: 8 December 2025
+use ` for terms
diff --git a/en/tips/index.html b/en/tips/index.html
index ce7efbdd..d8ab1a94 100644
--- a/en/tips/index.html
+++ b/en/tips/index.html
@@ -63,17 +63,12 @@ home5.html, home6.mht(or .search or .html), home7.mht(or .search or .html), ...
If the current page is not the internal file manager, visiting the configuration files with extensions such as .autoc, .links etc. applies them. Since clicking the file name in the internal file manager shows the content of the file instead, you can either bookmark it, or "open in new tab" to apply it.
Click download button on the bottom toolbar to save remote webpage
The resulted offline file can be used as one of the home screens.
-
Configuration folder and file managers
-
With bookmark, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
-
Internal file manager
-
Visiting file urls ending with "/" enters internal file manager, you can run any command with address bar with the format "d::command line:" to execute "command line" in the current folder of the internal file manager. For examples:
-"d::touch a.txt:" to create a new file a.txt.
-"d::mkdir subdir:" to create a new folder names "subdir".
-"d::mv old new:" to rename the file "old" to be "new".
+
Configuration folder and file manager
+With bookmark, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
Last Modified: 5 December 2025
-add documents to run shell command on address bar
+add filemanager.md
diff --git a/en/topposts/index.xml b/en/topposts/index.xml
index 850d72ba..c44399d0 100644
--- a/en/topposts/index.xml
+++ b/en/topposts/index.xml
@@ -6,8 +6,15 @@
Recent content in Topposts on uweb browser: unlimited powerHugoen
- Fri, 05 Dec 2025 07:43:12 +0800
+ Tue, 30 Dec 2025 23:10:52 +0800
+
+ Url services
+ https://jamesfengcao.gitlab.io/uweb/en/urls/
+ Tue, 30 Dec 2025 00:00:00 +0000
+ https://jamesfengcao.gitlab.io/uweb/en/urls/
+ <p>With uweb version 1144+, urls in configure file <code>default.urls</code> now support <a href="../cmds/index.html#">"%u","%t" etc.</a>. For lower versions, please remove the ending "%u" in each line.</p>
<p>Click the following links to install url services with <a href="../index.html#">uweb browser</a> or <a href="../ebrowserreadme/index.html#">ebrowser</a>. <b>Force exit and re-launch the app</b>, then long press the "image" button to popup the menu.</p>
<p><a href="i:01Fullscreen video:i:5f%25u">Fullscreen video:i:5f%u</a></p>
<p><a href="i:01Redirect/edit:e:%25u">Redirect/edit:e:%u</a></p>
<p><a href="i:01Save2autocomplete:i:51:%25u">Save2autocomplete:i:51:%u</a></p>
<p><a href="i:01Bookmark:i:52:%25u">Bookmark:i:52:%u</a></p>
<p><a href="i:01Note:i:53:%25u">Note:i:53:%u</a></p>
<p><a href="i:01Save engine:i:54:%25u">Save engine:i:54:%u</a></p>
<p><a href="i:01Save link:i:55:%25u">Save link:i:55:%u</a></p>
<p><a href="i:01Save to desktop:i:58%25u">Save to desktop:i:58%u</a></p>
<p><a href="i:01markdownview:i:0m-/js/mdview.html:%25u">markdownview:i:0m-/js/mdview.html:%u</a></p>
<p><a href="i:01Reader:i:0/js/reader.html:%25u">Reader:i:0/js/reader.html:%u</a></p>
+ Search engine query URLs
https://jamesfengcao.gitlab.io/uweb/en/search/
@@ -29,13 +36,6 @@
https://jamesfengcao.gitlab.io/uweb/en/sitemap/<p><a href="../mirrors/index.html#">Mirrors</a><br>
<a href="i:61ver:../../latest.html#">Check for updates</a></p>
<h4 id="ui">UI</h4>
<ul>
<li><a href="../search/index.html#">Search engines</a></li>
<li><a href="../searchurl/homescreen.html#">Home screens</a></li>
<li><a href="i:61:../searchurl/func.html">UI</a> (<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/func.html">gitee</a>)</li>
<li><a href="../searchurl/webdav.html#">webdav install-able menu generator</a></li>
</ul>
<h4 id="customization">Customization</h4>
<ul>
<li>Long pressing menus for toolbar buttons</li>
<li>User agents: default.uas</li>
<li><a href="../rjs/index.html#">Javascript</a></li>
<li><a href="../urls/index.html#">Url services</a></li>
<li><a href="../links/index.html#">Links</a></li>
<li><a href="../cmds/index.html#">Commands</a></li>
<li><a href="../rjs/index.html#">Remote javascript</a></li>
<li><a href="../textprocess/index.html#">Menu for selections</a></li>
<li><a href="../longclick/index.html#">Menu for long pressing hypertext</a></li>
<li><a href="../icons/index.html#">Toolbar</a></li>
<li><a href="../gesture/index.html#">Gestures</a></li>
<li><a href="../acmd/index.html#">Address bar command modes</a></li>
<li><a href="i:60config.html:../searchurl/config.html">Advanced</a></li>
</ul>
<h4 id="advanced">Advanced</h4>
<h5 id="content">Content</h5>
<ul>
<li><a href="../adblock/index.html#">AD blocking</a></li>
<li><a href="../globalcss/index.html#">CSS styles</a></li>
<li><a href="../redirect/index.html#">Redirection</a></li>
<li><a href="../offlinecache/index.html#">Offline cache</a></li>
<li><a href="../sitejs/index.html#">JS/CSS/HTML/preprocessing for domains</a></li>
<li><a href="../url2site/index.html#">Any urls as website</a></li>
</ul>
<h5 id="tools">Tools</h5>
<ul>
<li><a href="../bookmarklet/index.html#">Bookmarklets</a></li>
<li><a href="../tcron/index.html#">Cron & more</a></li>
<li><a href="../filecap/index.html#">Custom file handling</a></li>
<li><a href="../html5/index.html#">Html5 application</a></li>
<li><a href="../termux/index.html#">Termux</a></li>
</ul>
<h5 id="info">Info</h5>
<ul>
<li><a href="../../assets/help_en.html#">Manual</a></li>
<li><a href="../tips/index.html#">Tips</a></li>
<li><a href="../filenames/index.html#">Configuration files</a></li>
<li><a href="../bookmark/index.html#">Bookmarks</a></li>
</ul>
-
- Url services
- https://jamesfengcao.gitlab.io/uweb/en/urls/
- Fri, 10 Jun 2022 00:00:00 +0000
- https://jamesfengcao.gitlab.io/uweb/en/urls/
- <p>Click the following links to install url services with <a href="../index.html#">uweb browser</a> or <a href="../ebrowserreadme/index.html#">ebrowser</a>. <b>Force exit and re-launch the app</b>, then long press the "image" button to popup the menu.</p>
<p><a href="i:01Fullscreen video:i:5f">Fullscreen video:i:5f</a></p>
<p><a href="i:01Redirect/edit:e:">Redirect/edit:e:</a></p>
<p><a href="i:01Save2autocomplete:i:51:">Save2autocomplete:i:51:</a></p>
<p><a href="i:01Bookmark:i:52:">Bookmark:i:52:</a></p>
<p><a href="i:01Note:i:53:">Note:i:53:</a></p>
<p><a href="i:01Save engine:i:54:">Save engine:i:54:</a></p>
<p><a href="i:01Save link:i:55:">Save link:i:55:</a></p>
<p><a href="i:01Save to desktop:i:58">Save to desktop:i:58</a></p>
<p><a href="i:01markdownview:i:0m-/js/mdview.html:">markdownview:i:0m-/js/mdview.html:</a></p>
<p><a href="i:01Add to media storage::001">Add to media storage::001</a></p>
<p><a href="i:01Extract web app:i:0bsitecache/local/:">Extract web app:i:0bsitecache/local/:</a></p>
<p><a href="i:01tgurl:https://tx.me/share/url?url=">tgurl:https://tx.me/share/url?url=</a></p>
<p><a href="i:01tgdownload:https://tx.me/share/url?url=../../download ">tgdownload:https://tx.me/share/url?url=../../download </a></p>
<p><a href="i:01Compatible mode:i:5d">Compatible mode:i:5d</a></p>
<p><a href="i:01papago:https://papago.naver.net/website?locale=en&target=en&url=">papago:https://papago.naver.net/website?locale=en&target=en&url=</a></p>
<p><a href="i:01google translate:https://translate.google.com/translate?sl=auto&tl=en&u=">google translate:https://translate.google.com/translate?sl=auto&tl=en&u=</a></p>
<p><a href="i:01Source:view-source:">Source:view-source:</a></p>
<p><a href="i:01outline:https://www.outline.com/">outline:https://www.outline.com/</a></p>
- Commands
https://jamesfengcao.gitlab.io/uweb/en/cmds/
diff --git a/en/unlist/index.xml b/en/unlist/index.xml
index 67736993..d5221256 100644
--- a/en/unlist/index.xml
+++ b/en/unlist/index.xml
@@ -12,7 +12,7 @@
https://jamesfengcao.gitlab.io/uweb/en/ebrowserreadme/
Mon, 01 Jan 0001 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/ebrowserreadme/
- <script>function notRepo(){let u=location.href.replace(/#$/, '');return u.endsWith('index.html')||u.endsWith('readme/');}</script>
<!--%3cmeta http-equiv=refresh content=%220;url=%68ttps://gitee.com/jamesfengcao/uweb/raw/master/redirect.html#%22%3e-->
<h1 id="ebrowser-keyboard-friendly-minimal-suckless-web-browser"><a href="https://github.com/torappinfo/ebrowser">Ebrowser</a>: keyboard-friendly minimal suckless web browser</h1>
<p>Ebrowser is designed with the philosophy of <a href="https://github.com/torappinfo/uweb">Android uweb browser</a> (<a href="https://gitlab.com/jamesfengcao/uweb">gitlab</a>).</p>
<ul>
<li>lightweight (less than 20k bytes) without bundled electron.</li>
<li>much less memory footprint than edge/chrome browser and highly performant.</li>
<li>keyboard friendly with vim-style keymaps and command line support in address bar.</li>
<li><a href="https://uweb.surge.sh/en/redirect/index.html#" onclick="if(notRepo()){location='../redirect/index.html#';return false;}">global redirection</a> to bypass censorship.</li>
<li>user CSS/JS at will. Ex. pressing "md" in no-focus mode to preview markdown file.</li>
<li>global CSS/JS for all sites at will.</li>
<li>CSS/JS for domains, similar to <a href="https://jamesfengcao.gitlab.io/uweb/en/sitejs/index.html">uweb</a>, but use sitejs/[domain].js or sitecss/[domain].css, not [domain root].js/css.</li>
<li>customizable.</li>
<li>dark theme support.</li>
</ul>
<p>Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight.</p>
+ <script>function notRepo(){let u=location.href.replace(/#$/, '');return u.endsWith('index.html')||u.endsWith('readme/');}</script>
<!--%3cmeta http-equiv=refresh content=%220;url=%68ttps://gitee.com/jamesfengcao/uweb/raw/master/redirect.html#%22%3e-->
<h1 id="ebrowser-keyboard-friendly-minimal-suckless-web-browser"><a href="https://github.com/torappinfo/ebrowser">Ebrowser</a>: keyboard-friendly minimal suckless web browser</h1>
<p>Ebrowser is designed with the philosophy of <a href="https://github.com/torappinfo/uweb">Android uweb browser</a> (<a href="https://gitlab.com/jamesfengcao/uweb">gitlab</a>).</p>
<ul>
<li>lightweight (less than 20k bytes) without bundled electron.</li>
<li>much less memory footprint than edge/chrome browser and highly performant.</li>
<li>keyboard friendly with vim-style keymaps and command line support in address bar.</li>
<li><a href="https://uweb.surge.sh/en/redirect/index.html#" onclick="if(notRepo()){location='../redirect/index.html#';return false;}">global redirection</a> to bypass censorship.</li>
<li>user CSS/JS at will. Ex. pressing <code>md</code> in no-focus mode to preview markdown file.</li>
<li>global CSS/JS for all sites at will.</li>
<li>CSS/JS for domains, similar to <a href="https://jamesfengcao.gitlab.io/uweb/en/sitejs/index.html">uweb</a>, but use sitejs/[domain].js or sitecss/[domain].css, not [domain root].js/css.</li>
<li>customizable.</li>
<li>dark theme support.</li>
</ul>
<blockquote>
<p>Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight.</p>
diff --git a/en/urls/index.html b/en/urls/index.html
index c5452dbd..fa9d43c0 100644
--- a/en/urls/index.html
+++ b/en/urls/index.html
@@ -48,61 +48,63 @@
-
Click the following links to install url services with uweb browser or ebrowser. Force exit and re-launch the app, then long press the "image" button to popup the menu.
With uweb version 1144+, urls in configure file default.urls now support "%u","%t" etc.. For lower versions, please remove the ending "%u" in each line.
+
Click the following links to install url services with uweb browser or ebrowser. Force exit and re-launch the app, then long press the "image" button to popup the menu.
Last Modified: 30 December 2025
+urls.py to support enhanced default.urls
diff --git a/misc/ebrowser/README.md b/misc/ebrowser/README.md
index 31b9eb13..6a76932d 100644
--- a/misc/ebrowser/README.md
+++ b/misc/ebrowser/README.md
@@ -6,13 +6,13 @@ Ebrowser is designed with the philosophy of [Android uweb browser](https://githu
- much less memory footprint than edge/chrome browser and highly performant.
- keyboard friendly with vim-style keymaps and command line support in address bar.
- global redirection to bypass censorship.
-- user CSS/JS at will. Ex. pressing "md" in no-focus mode to preview markdown file.
+- user CSS/JS at will. Ex. pressing `md` in no-focus mode to preview markdown file.
- global CSS/JS for all sites at will.
- CSS/JS for domains, similar to [uweb](https://jamesfengcao.gitlab.io/uweb/en/sitejs/index.html), but use sitejs/[domain].js or sitecss/[domain].css, not [domain root].js/css.
- customizable.
- dark theme support.
-Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight.
+> Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight.
## Installing (for Windows, MacOS and Linux)
### Install with prebuilt binaries
@@ -20,7 +20,7 @@ You can find prebuilt binaries [here](https://github.com/torappinfo/ebrowser/rel
### Install ebrowser and electron separatedly (Recommended)
#### Install ebrowser
-Either download (Click the green "Code" button above the file list => Select "Download ZIP") and unzip from
+Either download (Click the green `Code` button above the file list => Select `Download ZIP`) and unzip from
https://github.com/torappinfo/ebrowser
@@ -28,7 +28,7 @@ OR download and unzip ebrowser package directly from any of npm mirror sites lik
npm install ebrowser
-OR download/"git clone" files directly from any of [mirror repositories](https://gitlab.com/jamesfengcao/uweb/-/blob/master/en/mirrors.md) and ebrowser is under the folder "misc/ebrowser".
+OR download/`git clone` files directly from any of [mirror repositories](https://gitlab.com/jamesfengcao/uweb/-/blob/master/en/mirrors.md) and ebrowser is under the folder `misc/ebrowser`.
#### Install electron
Before you can run ebrowser, you need to install electron either with nodejs by
@@ -46,9 +46,9 @@ OR
electron [the-path-of-folder-with-downloaded-ebrowser-files]
### Update app quickly without updating chromium
-Pressing "Alt" to show the menu bar and choose "Check for updates" under "Help". OR
+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.
+Type `:update` in the address bar and press `enter` key to update.
## Key shortcuts
- Alt: show menu
@@ -62,7 +62,7 @@ Type ":update" in the address bar and press "enter" key to update.
- CTRL+TAB: switch to next tab
- CTRL+SHIFT+TAB: switch to previous tab
- CTRL+W: close Tab
-- CTRL+SHIFT+R: enable global redirection ("gredirect.json")
+- CTRL+SHIFT+R: enable global redirection (`gredirect.json`)
- CTRL+R: disable global redirection
- ESC: remove focus. similar to vi normal mode.
- F1: Help
@@ -70,10 +70,10 @@ Type ":update" in the address bar and press "enter" key to update.
- F12: devtools
## Address bar commands
-Like any popular browser, the very first word in address bar if defined in "search.json" identifies a search engine. Moreover, the address bar serves as command line interface:
+Like any popular browser, the very first word in address bar if defined in `search.json` identifies a search engine. Moreover, the address bar serves as command line interface:
- "/" for find-in-page
- ":" for address bar commands
- - ac [bookmark/history path w/o ext] : load ".rec" file for autocomplete.
+ - ac [bookmark/history path w/o ext] : load `.rec` file for autocomplete.
- b [bookmarkfilename w/o ext] : bookmark current page in file.
- bjs : Browser-level JavaScript execution.
- bml [filename w/o extension] [arguments...]: load/execute the javascript file.
diff --git a/misc/ebrowser/index.html b/misc/ebrowser/index.html
index 76e3946a..71cff917 100644
--- a/misc/ebrowser/index.html
+++ b/misc/ebrowser/index.html
@@ -104,8 +104,6 @@ You should have received a copy of the GNU General Public License along with thi
mapKeys = JSON.parse(jsonStr);
}catch(e){}
});
- appendAutoc_rec(path.join(__dirname,'default.autoc'),null);
- appendAutoc_rec(path.join(__dirname,'bookmark.rec'),' ');
function initSearchEngines(jsonStr){
try{
@@ -279,6 +277,13 @@ You should have received a copy of the GNU General Public License along with thi
lastVal = null; //trigger full search
}catch(e){return;}
}
+ async function loadAutoc(){
+ await appendAutoc_rec(path.join(__dirname,'default.autoc'),null);
+ await appendAutoc_rec(path.join(__dirname,'bookmark.rec'),' ');
+
+ let inp = document.forms[0].q;
+ autocomplete(inp,inp.nextElementSibling,autocStrArray);
+ }
function keyPress(e){
var inputE = document.forms[0].q;
if (e.altKey||e.metaKey)
@@ -844,12 +849,9 @@ function autocomplete(inp,container,arr) {