user scripts 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, but use sitejs/[domain].js or sitecss/[domain].css, not [domain root].js/css.
customizable.
@@ -117,7 +118,7 @@ npm install ebrowser
np : no proxy.
up [proxyName] : use proxy. privous proxy or the first proxy in proxy.json w/o [proxyName]. ":up" command also disables global and domain redirections, which are not restored by ":np".
ua [useragentName] : set user agent for future tabs. default user agent w/o arguments.
-
update [updateurl] : update the app. updateurl is optional.
+
update [filename] : update the app w/o argument, otherwise retrive the [filename] from remote. The filename could be any file on mirror sites (this repository is part of it).
pdf [filename w/o extension] {options} : print to PDF file. All arguments are optional; empty option "{}" to capture long screenshot as vector graphics.
@@ -147,6 +148,7 @@ npm install ebrowser
"mapkeys.json": keys-addressbarCommands pairs. The addressbar commands are multiple lines of address bar command separated by "\n".
"download.json" : array of strings to define buttons for downloading dialog. The even-indexed strings are texts to show on the button. The odd-indexed strings are address bar commands with "%u" as the downloaded url.
Javascript at three levels
@@ -191,7 +193,7 @@ npm install ebrowser
You can copy or modify the code/program under the terms of the GPL3.0 or later versions.
-
Last Modified: 29 June 2024
+
Last Modified: 30 June 2024
diff --git a/en/index.xml b/en/index.xml
index 9ca7acc..e9b183a 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -6,7 +6,7 @@
Recent content on uweb browser: unlimited powerHugoen
- Sat, 29 Jun 2024 21:05:42 +0800
+ Sun, 30 Jun 2024 16:27:47 +0800Text selection/processing
@@ -55,7 +55,7 @@
/en/search/
Tue, 07 Mar 2023 00:00:00 +0000/en/search/
- Clicking the following links to install search engines with uweb browser.
AI:
andi:https://andisearch.com/?q=
thinkany:https://thinkany.so/search?q=
phind:https://phind-ai.com/search?q=
devv:https://devv.ai/search?agentMode=false&q=
perplexity:https://www.perplexity.ai/?q=
youChat:https://you.com/search?tbm=youchat&q=
youWrite:https://you.com/search?tbm=youwrite&q=
youImagine:https://you.com/search?tbm=imagine&q=
you:https://you.com/search?q=
medisearch:https://medisearch.io/results/
explorer:https://explorer.globe.engineer/?q=
consensus:https://consensus.app/results/?synthesize=on&q=
yoursearch:https://app.yoursearch.ai/?q=
chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s
lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s
Recommended engines (click or append any of the following to the file "home5.search"):
Engines:i:40%s_00
bing image:http://bing.com/images/search?q=
google image:http://www.google.com/images?as_q=
flickr:http://www.flickr.com/photos/tags/
Yandex image:https://yandex.com/images/search?text=
wiki:https://en.wikipedia.org/wiki/Special:Search?search=
wikipedia:http://en.wikipedia.org/?search=
wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=
Youtube:https://www.youtube.com/results?search_query=
eBay:https://www.ebay.com/sch/i.html?_nkw=
Quora:https://www.quora.com/search?q=
Pinterest:https://www.pinterest.com/search/pins/?q=
LinkedIn:https://www.linkedin.com/search/results/all/?keywords=
Netflix:https://www.netflix.com/search?q=
Spotify:https://open.spotify.com/search/
Medium:https://medium.com/search?q=
TripAdvisor:https://www.tripadvisor.com/Search?q=
incaption:https://incaptions.com/
answer:http://mobile.answers.com/
twitter:https://twitter.com/search?q=
Facebook:https://www.facebook.com/search/str/%s/keywords_search
Instagram:https://www.instagram.com/explore/tags/%s/
social-search:https://www.social-searcher.com/social-buzz/?q5=
reddit:http://reddit.com/search?q=
boardreader:https://boardreader.com/s/%s.html
bingvideo:https://www.bing.com/videos/search?q=
vsearch:https://www.vsearch.me/s?q=
+ Clicking the following links to install search engines with uweb browser.
AI:
andi:https://andisearch.com/?q=
thinkany:https://thinkany.so/search?q=
phind:https://phind-ai.com/search?q=
iask:https://iask.ai/?q=
devv:https://devv.ai/search?agentMode=false&q=
perplexity:https://www.perplexity.ai/?q=
youChat:https://you.com/search?tbm=youchat&q=
youWrite:https://you.com/search?tbm=youwrite&q=
youImagine:https://you.com/search?tbm=imagine&q=
you:https://you.com/search?q=
medisearch:https://medisearch.io/results/
explorer:https://explorer.globe.engineer/?q=
consensus:https://consensus.app/results/?synthesize=on&q=
yoursearch:https://app.yoursearch.ai/?q=
awesomerepo:https://www.awesome-repositories.com/s/results-with-ai/
chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s
lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s
Recommended engines (click or append any of the following to the file "home5.search"):
Engines:i:40%s_00
bing image:http://bing.com/images/search?q=
google image:http://www.google.com/images?as_q=
flickr:http://www.flickr.com/photos/tags/
Yandex image:https://yandex.com/images/search?text=
wiki:https://en.wikipedia.org/wiki/Special:Search?search=
wikipedia:http://en.wikipedia.org/?search=
wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=
Youtube:https://www.youtube.com/results?search_query=
eBay:https://www.ebay.com/sch/i.html?_nkw=
Quora:https://www.quora.com/search?q=
Pinterest:https://www.pinterest.com/search/pins/?q=
LinkedIn:https://www.linkedin.com/search/results/all/?keywords=
Netflix:https://www.netflix.com/search?q=
Spotify:https://open.spotify.com/search/
Medium:https://medium.com/search?q=
TripAdvisor:https://www.tripadvisor.com/Search?q=
incaption:https://incaptions.com/
answer:http://mobile.answers.com/
twitter:https://twitter.com/search?q=
Facebook:https://www.facebook.com/search/str/%s/keywords_search
Instagram:https://www.instagram.com/explore/tags/%s/
social-search:https://www.social-searcher.com/social-buzz/?q5=
reddit:http://reddit.com/search?q=
boardreader:https://boardreader.com/s/%s.htmlJS/CSS/HTML/preprocessing for domains
@@ -216,7 +216,7 @@
/en/ebrowserreadme/
Mon, 01 Jan 0001 00:00:00 +0000/en/ebrowserreadme/
- Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).
lightweight (less than 20k bytes) without bundled electron. 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 scripts at will. Ex. pressing "md" in no-focus mode to preview markdown file. CSS/JS for domains, similar to uweb, but use sitejs/[domain].
+ Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).
lightweight (less than 20k bytes) without bundled electron. 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. global CSS/JS for all sites at will.
diff --git a/en/search/index.html b/en/search/index.html
index a2dab5d..5813962 100644
--- a/en/search/index.html
+++ b/en/search/index.html
@@ -52,6 +52,7 @@
andi:https://andisearch.com/?q=
Recommended engines (click or append any of the following to the file "home5.search"):
@@ -259,7 +261,7 @@
alternativeto
-
Last Modified: 8 June 2024
+
Last Modified: 30 June 2024
add more AI search engines
Add AI engines
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 247fee2..4fe0852 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -71,7 +71,7 @@
/>
/en/
- 2024-06-29T21:05:42+08:00
+ 2024-06-30T16:27:47+08:00/en/search/
- 2024-06-08T10:09:00+08:00
+ 2024-06-30T16:27:47+08:00/en/topposts/
- 2024-06-18T08:06:41+08:00
+ 2024-06-30T16:27:47+08:00/en/ebrowserreadme/
- 2024-06-29T21:05:42+08:00
+ 2024-06-30T15:28:25+08:00/en/mirrors/2024-06-18T23:17:17+08:00
@@ -539,7 +539,7 @@
/>
/en/unlist/
- 2024-06-29T21:05:42+08:00
+ 2024-06-30T15:28:25+08:00Recent content in Topposts on uweb browser: unlimited power
Hugoen
- Tue, 18 Jun 2024 08:06:41 +0800
+ Sun, 30 Jun 2024 16:27:47 +0800Search engines
/en/search/
Tue, 07 Mar 2023 00:00:00 +0000/en/search/
- Clicking the following links to install search engines with uweb browser.
AI:
andi:https://andisearch.com/?q=
thinkany:https://thinkany.so/search?q=
phind:https://phind-ai.com/search?q=
devv:https://devv.ai/search?agentMode=false&q=
perplexity:https://www.perplexity.ai/?q=
youChat:https://you.com/search?tbm=youchat&q=
youWrite:https://you.com/search?tbm=youwrite&q=
youImagine:https://you.com/search?tbm=imagine&q=
you:https://you.com/search?q=
medisearch:https://medisearch.io/results/
explorer:https://explorer.globe.engineer/?q=
consensus:https://consensus.app/results/?synthesize=on&q=
yoursearch:https://app.yoursearch.ai/?q=
chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s
lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s
Recommended engines (click or append any of the following to the file "home5.search"):
Engines:i:40%s_00
bing image:http://bing.com/images/search?q=
google image:http://www.google.com/images?as_q=
flickr:http://www.flickr.com/photos/tags/
Yandex image:https://yandex.com/images/search?text=
wiki:https://en.wikipedia.org/wiki/Special:Search?search=
wikipedia:http://en.wikipedia.org/?search=
wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=
Youtube:https://www.youtube.com/results?search_query=
eBay:https://www.ebay.com/sch/i.html?_nkw=
Quora:https://www.quora.com/search?q=
Pinterest:https://www.pinterest.com/search/pins/?q=
LinkedIn:https://www.linkedin.com/search/results/all/?keywords=
Netflix:https://www.netflix.com/search?q=
Spotify:https://open.spotify.com/search/
Medium:https://medium.com/search?q=
TripAdvisor:https://www.tripadvisor.com/Search?q=
incaption:https://incaptions.com/
answer:http://mobile.answers.com/
twitter:https://twitter.com/search?q=
Facebook:https://www.facebook.com/search/str/%s/keywords_search
Instagram:https://www.instagram.com/explore/tags/%s/
social-search:https://www.social-searcher.com/social-buzz/?q5=
reddit:http://reddit.com/search?q=
boardreader:https://boardreader.com/s/%s.html
bingvideo:https://www.bing.com/videos/search?q=
vsearch:https://www.vsearch.me/s?q=
+ Clicking the following links to install search engines with uweb browser.
AI:
andi:https://andisearch.com/?q=
thinkany:https://thinkany.so/search?q=
phind:https://phind-ai.com/search?q=
iask:https://iask.ai/?q=
devv:https://devv.ai/search?agentMode=false&q=
perplexity:https://www.perplexity.ai/?q=
youChat:https://you.com/search?tbm=youchat&q=
youWrite:https://you.com/search?tbm=youwrite&q=
youImagine:https://you.com/search?tbm=imagine&q=
you:https://you.com/search?q=
medisearch:https://medisearch.io/results/
explorer:https://explorer.globe.engineer/?q=
consensus:https://consensus.app/results/?synthesize=on&q=
yoursearch:https://app.yoursearch.ai/?q=
awesomerepo:https://www.awesome-repositories.com/s/results-with-ai/
chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s
lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s
Recommended engines (click or append any of the following to the file "home5.search"):
Engines:i:40%s_00
bing image:http://bing.com/images/search?q=
google image:http://www.google.com/images?as_q=
flickr:http://www.flickr.com/photos/tags/
Yandex image:https://yandex.com/images/search?text=
wiki:https://en.wikipedia.org/wiki/Special:Search?search=
wikipedia:http://en.wikipedia.org/?search=
wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=
Youtube:https://www.youtube.com/results?search_query=
eBay:https://www.ebay.com/sch/i.html?_nkw=
Quora:https://www.quora.com/search?q=
Pinterest:https://www.pinterest.com/search/pins/?q=
LinkedIn:https://www.linkedin.com/search/results/all/?keywords=
Netflix:https://www.netflix.com/search?q=
Spotify:https://open.spotify.com/search/
Medium:https://medium.com/search?q=
TripAdvisor:https://www.tripadvisor.com/Search?q=
incaption:https://incaptions.com/
answer:http://mobile.answers.com/
twitter:https://twitter.com/search?q=
Facebook:https://www.facebook.com/search/str/%s/keywords_search
Instagram:https://www.instagram.com/explore/tags/%s/
social-search:https://www.social-searcher.com/social-buzz/?q5=
reddit:http://reddit.com/search?q=
boardreader:https://boardreader.com/s/%s.htmlDownloads
diff --git a/en/unlist/index.xml b/en/unlist/index.xml
index 0a26342..846479f 100644
--- a/en/unlist/index.xml
+++ b/en/unlist/index.xml
@@ -12,7 +12,7 @@
/en/ebrowserreadme/
Mon, 01 Jan 0001 00:00:00 +0000/en/ebrowserreadme/
- Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).
lightweight (less than 20k bytes) without bundled electron. 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 scripts at will. Ex. pressing "md" in no-focus mode to preview markdown file. CSS/JS for domains, similar to uweb, but use sitejs/[domain].
+ Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).
lightweight (less than 20k bytes) without bundled electron. 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. global CSS/JS for all sites at will.
diff --git a/misc/ebrowser/README.md b/misc/ebrowser/README.md
index 8530fc4..6837f73 100644
--- a/misc/ebrowser/README.md
+++ b/misc/ebrowser/README.md
@@ -5,7 +5,8 @@ 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](https://uweb.surge.sh/en/redirect/index.html#) to bypass censorship.
-- user scripts 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.
@@ -74,7 +75,7 @@ Like any popular browser, the very first word in address bar if defined in "sear
- np : no proxy.
- up [proxyName] : use proxy. privous proxy or the first proxy in proxy.json w/o [proxyName]. ":up" command also disables global and domain redirections, which are not restored by ":np".
- ua [useragentName] : set user agent for future tabs. default user agent w/o arguments.
- - update [updateurl] : update the app. updateurl is optional.
+ - update [filename] : update the app w/o argument, otherwise retrive the [filename] from remote. The filename could be any file on [mirror sites](https://jamesfengcao.gitlab.io/uweb/en/readme/index.html) (this repository is part of it).
- pdf [filename w/o extension] {[options](https://www.electronjs.org/docs/latest/api/web-contents#contentsprinttopdfoptions)} : print to PDF file. All arguments are optional; empty option "{}" to capture long screenshot as vector graphics.
- "!" address bar commands
"!xx ..." evaluates "xx.js" with the whole text as arguments[0].
@@ -98,6 +99,7 @@ The other commands are defined in "mapkeys.json", which will map keys to address
- "mapkeys.json": keys-addressbarCommands pairs. The addressbar commands are multiple lines of address bar command separated by "\n".
- "proxy.json": name-[ProxyConfig](https://www.electronjs.org/docs/latest/api/structures/proxy-config) pairs
- "uas.json" : name-useragent pairs
+- "download.json" : array of strings to define buttons for downloading dialog. The even-indexed strings are texts to show on the button. The odd-indexed strings are address bar commands with "%u" as the downloaded url.
#### Javascript at three levels
- Web page: url like "javascript:" or bookmarklet command ":bml" runs in web page.
diff --git a/misc/ebrowser/index.html b/misc/ebrowser/index.html
index 5eddc6b..2555d83 100644
--- a/misc/ebrowser/index.html
+++ b/misc/ebrowser/index.html
@@ -71,6 +71,9 @@ You should have received a copy of the GNU General Public License along with thi
var bQueryHistory = false;
let sitecssP = path.join(__dirname,"sitecss");
let sitejsP = path.join(__dirname,"sitejs");
+ let gjsA = [];
+ let gcssA = [];
+ let gcssJSA = [];
var bDomainJS = fs.existsSync(sitejsP);
var bDomainCSS = fs.existsSync(sitecssP);
var autocMode = 0; //0 for substring, 1 for startsWith
@@ -141,12 +144,16 @@ You should have received a copy of the GNU General Public License along with thi
tabs.children[iTab].classList.add('curWV');
}
async function loadJSFile(tab,jsF){
- if(fs.existsSync(jsF)){
try {
let js = await fs.promises.readFile(jsF,'utf8');
tab.executeJavaScript(js,false);
}catch(e){}
- }
+ }
+ async function loadCSSFile(tab,jsF){
+ try {
+ let js = await fs.promises.readFile(jsF,'utf8');
+ tab.insertCSS(css);
+ }catch(e){}
}
function cbStartLoading(e){
if(!bDomainCSS) return;
@@ -158,14 +165,15 @@ You should have received a copy of the GNU General Public License along with thi
let jsF = path.join(sitecssP, domain+".js");
loadJSFile(tab,jsF);
jsF = path.join(sitecssP, domain+".css");
- if(fs.existsSync(jsF)){
- (async ()=>{
- try {
- let css = await fs.promises.readFile(jsF,'utf8');
- tab.insertCSS(css);
- }catch(e){}
- })();
- }
+ loadCSSFile(tab,jsF);
+ gcssA.forEach((fname)=>{
+ jsF = path.join(__dirname, fname);
+ loadCSSFile(tab,jsF);
+ });
+ gcssJSA.forEach((fname)=>{
+ jsF = path.join(__dirname, fname);
+ loadJSFile(tab,jsF);
+ });
}
function cbFinishLoad(e){
let tab = e.target;
@@ -184,6 +192,10 @@ You should have received a copy of the GNU General Public License along with thi
let jsF = path.join(sitejsP, domain+".js");
loadJSFile(tab,jsF);
}
+ gjsA.forEach((fname)=>{
+ let jsF = path.join(__dirname, fname);
+ loadJSFile(tab,jsF);
+ });
}
function initTab(tab){
tab.allowpopups = true;
diff --git a/misc/ebrowser/package.json b/misc/ebrowser/package.json
index 0dfdf97..ad1d837 100644
--- a/misc/ebrowser/package.json
+++ b/misc/ebrowser/package.json
@@ -1,4 +1,4 @@
-{"version":"1.0.45",
+{"version":"1.0.51",
"name": "ebrowser",
"description": "The keyboard-friendly minimal suckless web browser",
"main": "webview.js",
diff --git a/misc/ebrowser/search.json b/misc/ebrowser/search.json
index 429a0c6..c69c9f8 100644
--- a/misc/ebrowser/search.json
+++ b/misc/ebrowser/search.json
@@ -9,6 +9,7 @@
"andi":"https://andisearch.com/?q=%s",
"ph":"https://phind-ai.com/search?q=%s",
"gf":"https://greasyfork.org/en/scripts?filter_locale=0&sort=updated&q=%s",
+ "repo":"https://www.awesome-repositories.com/s/results-with-ai/%s",
"dev":"https://devv.ai/search?agentMode=false&q=%s",
"you":"https://you.com/search?tbm=youchat&q=%s",
"p":"https://www.perplexity.ai/?q=%s",
diff --git a/misc/ebrowser/webview.js b/misc/ebrowser/webview.js
index 8e9c380..0304f5e 100644
--- a/misc/ebrowser/webview.js
+++ b/misc/ebrowser/webview.js
@@ -50,6 +50,7 @@ var bForwardCookie = false;
var proxies = {};
var proxy;
var useragents = {};
+var downloadMenus; //[]
var defaultUA =
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/" +
process.versions.chrome +" Safari/537.36";
@@ -115,10 +116,45 @@ async function createWindow () {
cmdlineProcess(process.argv, process.cwd(), 0);
//app.commandLine.appendSwitch ('trace-warnings');
+ fs.readFile(path.join(__dirname,'download.json'), 'utf8', (err, jsonStr) => {
+ if (err) return;
+ try {
+ downloadMenus = JSON.parse(jsonStr);
+ }catch (e){console.log(e)}
+ });
+
win.webContents.on('page-title-updated',(event,cmd)=>{
addrCommand(cmd);
});
+ session.defaultSession.on("will-download", (e, item) => {
+ //item.setSavePath(save)
+ if(!downloadMenus) return;
+ let buttons = ["OK", "Cancel", translate("Copy")];
+ buttons.push(downloadMenus.filter((item, index) => (index&1) === 0));
+ const button = dialog.showMessageBoxSync(mainWindow, {
+ "type": "question",
+ "title": translate("Download"),
+ "message": `Do you want to download the file?`,
+ "buttons": buttons,
+ "defaultId": 0,
+ });
+ switch(button) {
+ case 0:
+ return;
+ case 1:
+ break;
+ case 2:
+ clipboard.writeText(item.getURL());
+ break;
+ default:
+ let cmd = downloadMenus[2*button-5].replace('%u',item.getURL());
+ let js = `handleQuery(\`${cmd}\`)`;
+ win.webContents.executeJavaScript(js,false);
+ }
+ e.preventDefault();
+ });
+
win.webContents.on('console-message',cbConsoleMsg);
}
@@ -238,12 +274,16 @@ function addrCommand(cmd){
case "update":
let updateurl;
if(1==args.length)
- updateurl = repositoryurl;
+ updateApp(repositoryurl);
else {
- updateurl = args[1];
- if(!updateurl.endsWith("/")) updateurl = updateurl +"/";
+ filename = args[1];
+ let iSlash = filename.lastIndexOf('/');
+ if(iSlash>0){
+ let folder = path.join(__dirname,filename.substring(0,iSlash));
+ fs.mkdirSync(folder,{ recursive: true });
+ }
+ fetch2file(repositoryurl,filename);
}
- updateApp(updateurl);
return;
}
}
@@ -317,24 +357,36 @@ function cbTitleUpdate(event,title){
function menuArray(labelprefix, linkUrl){
const menuTemplate = [
{
- label: labelprefix+'Open Link',
+ label: labelprefix+translate('Open'),
click: () => {
shell.openExternal(linkUrl);
}
},
{
- label: labelprefix+'Copy Link',
+ label: labelprefix+translate('Copy'),
click: () => {
clipboard.writeText(linkUrl);
}
},
{
- label: labelprefix+'Download',
+ label: labelprefix+translate('Download'),
click: () => {
win.contentView.children[i].webContents.downloadURL(linkUrl);
}
},
];
+ if(downloadMenus){
+ for(let i=0; i {
+ let cmd = downloadMenus[i+1].replace('%u',linkUrl);
+ let js = `handleQuery(\`${cmd}\`)`;
+ win.webContents.executeJavaScript(js,false);
+ }
+ });
+ }
+ }
return menuTemplate;
}
diff --git a/sitemap.xml b/sitemap.xml
index ea0286f..ef49616 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,14 +4,14 @@
/en/sitemap.xml
- 2024-06-29T21:05:42+08:00
+ 2024-06-30T16:27:47+08:00/zh/sitemap.xml
- 2024-06-29T22:03:52+08:00
+ 2024-06-29T22:26:41+08:00
diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml
index 29660ac..22659b2 100644
--- a/zh/_posts/index.xml
+++ b/zh/_posts/index.xml
@@ -6,7 +6,7 @@
Recent content in _Posts on 超微浏览器: 威、快、高效、极致优化Hugozh
- Fri, 28 Jun 2024 15:52:31 +0800
+ Sat, 29 Jun 2024 22:26:41 +0800操作选中(富)文本/元素
@@ -83,7 +83,7 @@
/zh/bookmark/
Wed, 18 May 2022 00:00:00 +0000/zh/bookmark/
- 所有书签都可通过"长按链接->命令->书签"保存链接为书签。书签菜单可至特色服务网页安装。
AI/chatGPT:
kimi taichu 文本/文件共享
网络剪贴板 txtpad getnote cmd.im Wait for url from other devices
gamezop
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
"小说.html": 自动使用阅读模式
href="i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)
镜像 google镜像
Google等镜像
Termux命令书签 以下书签需"长按以下链接->新窗口打开"才能在此网页正常执行。
需安装定制版termux及相应工具,
计算器bc
全能计算器bc
+ 所有书签都可通过"长按链接->命令->书签"保存链接为书签。书签菜单可至特色服务网页安装。
AI/chatGPT:
kimi yuanbao taichu deepseek 文本/文件共享
网络剪贴板 txtpad getnote cmd.im Wait for url from other devices
gamezop
分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
"小说.html": 自动使用阅读模式
href="i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)
镜像 google镜像
Google等镜像
Termux命令书签 以下书签需"长按以下链接->新窗口打开"才能在此网页正常执行。
需安装定制版termux及相应工具,
计算器bc
全能计算器bc利用用户自定义样式屏蔽不良信息
diff --git a/zh/bookmark/index.html b/zh/bookmark/index.html
index 2528995..f5da2d1 100644
--- a/zh/bookmark/index.html
+++ b/zh/bookmark/index.html
@@ -51,7 +51,9 @@
AI/chatGPT: