diff --git a/en/download.md b/en/download.md
index cc726cea..6fd0dff9 100644
--- a/en/download.md
+++ b/en/download.md
@@ -28,8 +28,8 @@
[pagure](https://releases.pagure.org/uwebapk/)
-[novasync](https://novasync.cn/s/vZJFz)
-
[baidu](https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb)
[蓝奏](https://pan.lanzouu.com/b0qpxnob)
+
+
diff --git a/en/index.xml b/en/index.xml
index 1fb69edd..25cd6d2f 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -6,7 +6,7 @@
Recent content on uweb browser: unlimited powerHugoen
- Tue, 29 Jul 2025 14:59:44 +0800
+ Tue, 19 Aug 2025 08:40:54 +0800popup menu for Long pressed link and downloading
@@ -132,7 +132,7 @@
https://jamesfengcao.gitlab.io/uweb/en/changelog/
Fri, 16 Sep 2022 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/changelog/
- <p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxystore.samsung.com/detail/info.torapp.uweb">Galaxy.Store</a></p>
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/">bitbucket</a></p>
<p><a href="https://uweb-browser-for-geeks.en.uptodown.com/android" title="uweb"><img src="https://stc.utdstc.com/img/mediakit/download-gio-big.png" alt=""></a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://codeberg.org/jamesfengcao/pages/releases">codeberg</a></p>
<p><a href="https://uno.teracloud.jp/share/1162dfa8376e1609">infinicloud</a></p>
<p><a href="https://gitee.com/jamesfengcao/uweb/releases">gitee</a></p>
<p><a href="https://gitea.com/torappinfo/uweb/releases">gitea</a></p>
<p><a href="https://gitdab.com/jamesfengcao/uweb/releases">gitdab</a></p>
<p><a href="https://gitnet.fr/jamesfengcao/uweb/releases">gitnet</a></p>
<p><a href="https://tildegit.org/jamesfengcao/uweb/releases">tildegit</a></p>
<p><a href="https://git.froggi.es/jamesfengcao/uweb/releases">froggi</a></p>
<p><a href="https://notabug.org/torappinfo/uweb/releases">NotABug</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="https://novasync.cn/s/vZJFz">novasync</a></p>
<p><a href="https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb">baidu</a></p>
<p><a href="https://pan.lanzouu.com/b0qpxnob">蓝奏</a></p>
<h4 id="main-features"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs"><a id="log">Change logs<a></h4>
<p>1104: support command context submenus (image.link, download.link & context.link).<br>
1075: global redirection works for login and AI sites like devv.ai and duck.ai.<br>
1073: support http/https/socks proxies with username and password<br>
1036: TV mode: reuse "engine.search" as live TV channel urls.<br>
1034: click share button on homescreen to process clipboard text.<br>
1030: Allow downloading with global redirection<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
998: <a href="../rjs/index.html">Bookmarklets</a> to support CSP sites.<br>
991: <a href="../redirect/index.html">global url redirection</a> support.<br>
988: <a href="../adblock_domain/index.html">hosts</a> file to support response headers.<br>
983: support <a href="../adblock_domain/index.html">"hosts"</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
955: Address bar: <a href="../acmd/index.html">":!" or "!"</a> for command line support (.js/.sh files as executables).<br>
949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size<br>
946: Option "use offline cache" to support serverless local websites.</p>
+ <p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxystore.samsung.com/detail/info.torapp.uweb">Galaxy.Store</a></p>
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/">bitbucket</a></p>
<p><a href="https://uweb-browser-for-geeks.en.uptodown.com/android" title="uweb"><img src="https://stc.utdstc.com/img/mediakit/download-gio-big.png" alt=""></a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://codeberg.org/jamesfengcao/pages/releases">codeberg</a></p>
<p><a href="https://uno.teracloud.jp/share/1162dfa8376e1609">infinicloud</a></p>
<p><a href="https://gitee.com/jamesfengcao/uweb/releases">gitee</a></p>
<p><a href="https://gitea.com/torappinfo/uweb/releases">gitea</a></p>
<p><a href="https://gitdab.com/jamesfengcao/uweb/releases">gitdab</a></p>
<p><a href="https://gitnet.fr/jamesfengcao/uweb/releases">gitnet</a></p>
<p><a href="https://tildegit.org/jamesfengcao/uweb/releases">tildegit</a></p>
<p><a href="https://git.froggi.es/jamesfengcao/uweb/releases">froggi</a></p>
<p><a href="https://notabug.org/torappinfo/uweb/releases">NotABug</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb">baidu</a></p>
<p><a href="https://pan.lanzouu.com/b0qpxnob">蓝奏</a></p>
<h4 id="main-features"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs"><a id="log">Change logs<a></h4>
<p>1104: support command context submenus (image.link, download.link & context.link).<br>
1075: global redirection works for login and AI sites like devv.ai and duck.ai.<br>
1073: support http/https/socks proxies with username and password<br>
1036: TV mode: reuse "engine.search" as live TV channel urls.<br>
1034: click share button on homescreen to process clipboard text.<br>
1030: Allow downloading with global redirection<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
998: <a href="../rjs/index.html">Bookmarklets</a> to support CSP sites.<br>
991: <a href="../redirect/index.html">global url redirection</a> support.<br>
988: <a href="../adblock_domain/index.html">hosts</a> file to support response headers.<br>
983: support <a href="../adblock_domain/index.html">"hosts"</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
955: Address bar: <a href="../acmd/index.html">":!" or "!"</a> for command line support (.js/.sh files as executables).<br>
949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size<br>
946: Option "use offline cache" to support serverless local websites.</p>Configuration
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 62e9dc76..59efdc5c 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -55,7 +55,7 @@
/>
https://jamesfengcao.gitlab.io/uweb/en/
- 2025-07-29T14:59:44+08:00
+ 2025-08-19T08:40:54+08:00https://jamesfengcao.gitlab.io/uweb/en/topposts/
- 2025-07-17T10:13:25+08:00
+ 2025-08-19T08:40:54+08:002024-04-07T19:01:03+08:00
https://jamesfengcao.gitlab.io/uweb/en/changelog/
- 2025-03-07T13:41:55+08:00
+ 2025-08-19T08:40:54+08:00https://jamesfengcao.gitlab.io/uweb/en/sitemap/2025-04-09T00:47:06+08:00
diff --git a/en/topposts/index.xml b/en/topposts/index.xml
index 719e1873..057a6a74 100644
--- a/en/topposts/index.xml
+++ b/en/topposts/index.xml
@@ -6,7 +6,7 @@
Recent content in Topposts on uweb browser: unlimited powerHugoen
- Thu, 17 Jul 2025 10:13:25 +0800
+ Tue, 19 Aug 2025 08:40:54 +0800Search engine query URLs
@@ -20,7 +20,7 @@
https://jamesfengcao.gitlab.io/uweb/en/changelog/
Fri, 16 Sep 2022 00:00:00 +0000https://jamesfengcao.gitlab.io/uweb/en/changelog/
- <p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxystore.samsung.com/detail/info.torapp.uweb">Galaxy.Store</a></p>
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/">bitbucket</a></p>
<p><a href="https://uweb-browser-for-geeks.en.uptodown.com/android" title="uweb"><img src="https://stc.utdstc.com/img/mediakit/download-gio-big.png" alt=""></a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://codeberg.org/jamesfengcao/pages/releases">codeberg</a></p>
<p><a href="https://uno.teracloud.jp/share/1162dfa8376e1609">infinicloud</a></p>
<p><a href="https://gitee.com/jamesfengcao/uweb/releases">gitee</a></p>
<p><a href="https://gitea.com/torappinfo/uweb/releases">gitea</a></p>
<p><a href="https://gitdab.com/jamesfengcao/uweb/releases">gitdab</a></p>
<p><a href="https://gitnet.fr/jamesfengcao/uweb/releases">gitnet</a></p>
<p><a href="https://tildegit.org/jamesfengcao/uweb/releases">tildegit</a></p>
<p><a href="https://git.froggi.es/jamesfengcao/uweb/releases">froggi</a></p>
<p><a href="https://notabug.org/torappinfo/uweb/releases">NotABug</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="https://novasync.cn/s/vZJFz">novasync</a></p>
<p><a href="https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb">baidu</a></p>
<p><a href="https://pan.lanzouu.com/b0qpxnob">蓝奏</a></p>
<h4 id="main-features"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs"><a id="log">Change logs<a></h4>
<p>1104: support command context submenus (image.link, download.link & context.link).<br>
1075: global redirection works for login and AI sites like devv.ai and duck.ai.<br>
1073: support http/https/socks proxies with username and password<br>
1036: TV mode: reuse "engine.search" as live TV channel urls.<br>
1034: click share button on homescreen to process clipboard text.<br>
1030: Allow downloading with global redirection<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
998: <a href="../rjs/index.html">Bookmarklets</a> to support CSP sites.<br>
991: <a href="../redirect/index.html">global url redirection</a> support.<br>
988: <a href="../adblock_domain/index.html">hosts</a> file to support response headers.<br>
983: support <a href="../adblock_domain/index.html">"hosts"</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
955: Address bar: <a href="../acmd/index.html">":!" or "!"</a> for command line support (.js/.sh files as executables).<br>
949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size<br>
946: Option "use offline cache" to support serverless local websites.</p>
+ <p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxystore.samsung.com/detail/info.torapp.uweb">Galaxy.Store</a></p>
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/">bitbucket</a></p>
<p><a href="https://uweb-browser-for-geeks.en.uptodown.com/android" title="uweb"><img src="https://stc.utdstc.com/img/mediakit/download-gio-big.png" alt=""></a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://codeberg.org/jamesfengcao/pages/releases">codeberg</a></p>
<p><a href="https://uno.teracloud.jp/share/1162dfa8376e1609">infinicloud</a></p>
<p><a href="https://gitee.com/jamesfengcao/uweb/releases">gitee</a></p>
<p><a href="https://gitea.com/torappinfo/uweb/releases">gitea</a></p>
<p><a href="https://gitdab.com/jamesfengcao/uweb/releases">gitdab</a></p>
<p><a href="https://gitnet.fr/jamesfengcao/uweb/releases">gitnet</a></p>
<p><a href="https://tildegit.org/jamesfengcao/uweb/releases">tildegit</a></p>
<p><a href="https://git.froggi.es/jamesfengcao/uweb/releases">froggi</a></p>
<p><a href="https://notabug.org/torappinfo/uweb/releases">NotABug</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb">baidu</a></p>
<p><a href="https://pan.lanzouu.com/b0qpxnob">蓝奏</a></p>
<h4 id="main-features"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs"><a id="log">Change logs<a></h4>
<p>1104: support command context submenus (image.link, download.link & context.link).<br>
1075: global redirection works for login and AI sites like devv.ai and duck.ai.<br>
1073: support http/https/socks proxies with username and password<br>
1036: TV mode: reuse "engine.search" as live TV channel urls.<br>
1034: click share button on homescreen to process clipboard text.<br>
1030: Allow downloading with global redirection<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
998: <a href="../rjs/index.html">Bookmarklets</a> to support CSP sites.<br>
991: <a href="../redirect/index.html">global url redirection</a> support.<br>
988: <a href="../adblock_domain/index.html">hosts</a> file to support response headers.<br>
983: support <a href="../adblock_domain/index.html">"hosts"</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
955: Address bar: <a href="../acmd/index.html">":!" or "!"</a> for command line support (.js/.sh files as executables).<br>
949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size<br>
946: Option "use offline cache" to support serverless local websites.</p>Configuration
diff --git a/misc/ebrowser/webview.js b/misc/ebrowser/webview.js
index beba6158..623d9a50 100644
--- a/misc/ebrowser/webview.js
+++ b/misc/ebrowser/webview.js
@@ -10,8 +10,11 @@ const {
session, protocol, dialog, ipcMain
} = require('electron')
let win;
+const fs = require('fs');
+const process = require('process')
+const noStdin = fs.fstatSync(0).isCharacterDevice();
-if(!app.requestSingleInstanceLock())
+if(noStdin && !app.requestSingleInstanceLock())
app.quit()
else {
app.on('ready', createWindow);
@@ -28,7 +31,6 @@ else {
})
}
Menu.setApplicationMenu(null);
-const fs = require('fs');
const path = require('path')
const https = require('https');
const url = require('url');
@@ -44,7 +46,6 @@ var translateRes;
var repositoryurl = "https://gitlab.com/jamesfengcao/uweb/-/raw/master/misc/ebrowser/";
const readline = require('readline');
-const process = require('process')
var gredirects = [];
var gredirect;
var redirects;
@@ -626,7 +627,8 @@ function cmdlineProcess(argv,cwd,extra){
let url=argv.slice(i1st).join(" ");
win.webContents.executeJavaScript("{let v=`"+url+"`;document.forms[0].q.value=v;handleQuery(v)}",false);
win.setTitle(url);
- }
+ }else if(!noStdin)
+ handle_stdin(5000);
}
async function cbScheme_redir(req){
@@ -872,3 +874,33 @@ function bangcommand(q,offset){
}
}
+function handle_stdin(timeoutMs){
+ let timeoutId;
+ let isComplete = false;
+ let url = '';
+ const handler = ()=>{
+ if(url.length<6 || (58!==url.charCodeAt(4) && 58!==url.charCodeAt(5)))
+ url = 'data:text/html;charset=utf-8,'+url;
+ win.webContents.executeJavaScript("{let v=`"+url+"`;handleQuery(v)}",false);
+ };
+ timeoutId = setTimeout(() => {
+ if (!isComplete) {
+ isComplete = true;
+ handler();
+ }
+ }, timeoutMs);
+
+ process.stdin.setEncoding('utf8');
+ process.stdin.on('data', (chunk) => {
+ url += chunk;
+ });
+ process.stdin.on('end', () => {
+ if (!isComplete) {
+ isComplete = true;
+ clearTimeout(timeoutId);
+ handler();
+ }
+ });
+ // Important: Resume stdin to start reading
+ process.stdin.resume();
+}
diff --git a/sitemap.xml b/sitemap.xml
index f74abf7a..e7766b0f 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
https://jamesfengcao.gitlab.io/uweb/en/sitemap.xml
- 2025-07-29T14:59:44+08:00
+ 2025-08-19T08:40:54+08:00