mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser updates
This commit is contained in:
parent
2cc5b79da4
commit
eba6f63b7f
13 changed files with 113 additions and 53 deletions
23
ebrowser.md
23
ebrowser.md
|
@ -4,22 +4,29 @@ Ebrowser is designed with the philosophy of [Android uweb browser](https://githu
|
||||||
- lightweight (less than 20k bytes) without bundled electron.
|
- lightweight (less than 20k bytes) without bundled electron.
|
||||||
- much less memory footprint than edge/chrome browser and highly performant.
|
- much less memory footprint than edge/chrome browser and highly performant.
|
||||||
- keyboard friendly with vim-style keymaps and command line support in address bar.
|
- keyboard friendly with vim-style keymaps and command line support in address bar.
|
||||||
- global redirection to bypass censorship.
|
- [global redirection](https://uweb.surge.sh/en/redirect/index.html#) to bypass censorship.
|
||||||
- user scripts at will. Ex. pressing "tr" to translate the page (need mapkeys.json config).
|
- user scripts at will. Ex. pressing "tr" to translate the page (need mapkeys.json config).
|
||||||
- customizable.
|
- customizable.
|
||||||
|
|
||||||
Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight. Recommend to install electron separately.
|
Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight. Recommend to install electron separately.
|
||||||
|
|
||||||
#### Install (for Windows, MacOS and Linux)
|
#### Installing (for Windows, MacOS and Linux)
|
||||||
Install ebrowser with nodejs installed
|
##### Install with prebuilt binaries
|
||||||
|
You can find prebuilt binaries [here](https://github.com/torappinfo/ebrowser/releases).
|
||||||
|
|
||||||
|
##### Install with nodejs installed
|
||||||
|
|
||||||
|
npm install electron
|
||||||
npm install ebrowser
|
npm install ebrowser
|
||||||
|
|
||||||
Run ebrowser
|
Run ebrowser
|
||||||
|
|
||||||
electron ~/node_modules/ebrowser
|
electron ~/node_modules/ebrowser
|
||||||
|
|
||||||
|
Later on, you can run "npm install electron" to update electron/chromium or "npm install ebrowser" to update ebrowser independently.
|
||||||
|
|
||||||
#### Key shortcuts
|
#### Key shortcuts
|
||||||
|
- F1: Help
|
||||||
- CTRL+C: stop loading
|
- CTRL+C: stop loading
|
||||||
- CTRL+G: address bar to show page url
|
- CTRL+G: address bar to show page url
|
||||||
- CTRL+L: focus to address bar
|
- CTRL+L: focus to address bar
|
||||||
|
@ -53,11 +60,12 @@ Run ebrowser
|
||||||
- nh/uh for No/Use url history.
|
- nh/uh for No/Use url history.
|
||||||
- nj/uj for No/Use external Javascript files.
|
- nj/uj for No/Use external Javascript files.
|
||||||
- nr/ur for No/Use "redirect.json" for domain redirection.
|
- nr/ur for No/Use "redirect.json" for domain redirection.
|
||||||
- np : no proxy
|
- np : no proxy.
|
||||||
- up [proxyName] : use proxy. privous proxy or the first proxy in proxy.json w/o [proxyName].
|
- 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.
|
- ua [useragentName] : set user agent for future tabs. default user agent w/o arguments.
|
||||||
- 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.
|
- 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
|
- "!" address bar commands
|
||||||
|
"!xx ..." evaluates "xx.js" with the whole address bar text as arguments[0].
|
||||||
|
|
||||||
#### Commands in no-focus mode (this mode is similar to vi Normal mode)
|
#### Commands in no-focus mode (this mode is similar to vi Normal mode)
|
||||||
Pressing "ESC" to enter no-focus mode if not sure.
|
Pressing "ESC" to enter no-focus mode if not sure.
|
||||||
|
@ -88,3 +96,6 @@ The other commands are defined in "mapkeys.json", which will map keys to address
|
||||||
|
|
||||||
- Adjust window width and use addressbar command line ":Pdf {}" to export vector graphics.
|
- Adjust window width and use addressbar command line ":Pdf {}" to export vector graphics.
|
||||||
- Use imageMagick to convert to any other vector graphics format.
|
- Use imageMagick to convert to any other vector graphics format.
|
||||||
|
|
||||||
|
#### License
|
||||||
|
You can copy or modify the code/program under the terms of the GPL3.0 or later versions.
|
|
@ -49,20 +49,25 @@
|
||||||
<li>lightweight (less than 20k bytes) without bundled electron.</li>
|
<li>lightweight (less than 20k bytes) without bundled electron.</li>
|
||||||
<li>much less memory footprint than edge/chrome browser and highly performant.</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>keyboard friendly with vim-style keymaps and command line support in address bar.</li>
|
||||||
<li>global redirection to bypass censorship.</li>
|
<li><a href="https://uweb.surge.sh/en/redirect/index.html#">global redirection</a> to bypass censorship.</li>
|
||||||
<li>user scripts at will. Ex. pressing "tr" to translate the page (need mapkeys.json config).</li>
|
<li>user scripts at will. Ex. pressing "tr" to translate the page (need mapkeys.json config).</li>
|
||||||
<li>customizable.</li>
|
<li>customizable.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight. Recommend to install electron separately.</p>
|
<p>Note: Usually electron apps are heavyweight as they use browsers for simple things. Ebrowser uses core chromium effectively and very lightweight. Recommend to install electron separately.</p>
|
||||||
<h4 id="install-for-windows-macos-and-linux">Install (for Windows, MacOS and Linux)</h4>
|
<h4 id="installing-for-windows-macos-and-linux">Installing (for Windows, MacOS and Linux)</h4>
|
||||||
<p>Install ebrowser with nodejs installed</p>
|
<h5 id="install-with-prebuilt-binaries">Install with prebuilt binaries</h5>
|
||||||
<pre><code>npm install ebrowser
|
<p>You can find prebuilt binaries <a href="https://github.com/torappinfo/ebrowser/releases">here</a>.</p>
|
||||||
|
<h5 id="install-with-nodejs-installed">Install with nodejs installed</h5>
|
||||||
|
<pre><code>npm install electron
|
||||||
|
npm install ebrowser
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>Run ebrowser</p>
|
<p>Run ebrowser</p>
|
||||||
<pre><code>electron ~/node_modules/ebrowser
|
<pre><code>electron ~/node_modules/ebrowser
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<p>Later on, you can run "npm install electron" to update electron/chromium or "npm install ebrowser" to update ebrowser independently.</p>
|
||||||
<h4 id="key-shortcuts">Key shortcuts</h4>
|
<h4 id="key-shortcuts">Key shortcuts</h4>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>F1: Help</li>
|
||||||
<li>CTRL+C: stop loading</li>
|
<li>CTRL+C: stop loading</li>
|
||||||
<li>CTRL+G: address bar to show page url</li>
|
<li>CTRL+G: address bar to show page url</li>
|
||||||
<li>CTRL+L: focus to address bar</li>
|
<li>CTRL+L: focus to address bar</li>
|
||||||
|
@ -101,13 +106,14 @@
|
||||||
<li>nh/uh for No/Use url history.</li>
|
<li>nh/uh for No/Use url history.</li>
|
||||||
<li>nj/uj for No/Use external Javascript files.</li>
|
<li>nj/uj for No/Use external Javascript files.</li>
|
||||||
<li>nr/ur for No/Use "redirect.json" for domain redirection.</li>
|
<li>nr/ur for No/Use "redirect.json" for domain redirection.</li>
|
||||||
<li>np : no proxy</li>
|
<li>np : no proxy.</li>
|
||||||
<li>up [proxyName] : use proxy. privous proxy or the first proxy in proxy.json w/o [proxyName].</li>
|
<li>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".</li>
|
||||||
<li>ua [useragentName] : set user agent for future tabs. default user agent w/o arguments.</li>
|
<li>ua [useragentName] : set user agent for future tabs. default user agent w/o arguments.</li>
|
||||||
<li>pdf [filename w/o extension] {<a href="https://www.electronjs.org/docs/latest/api/web-contents#contentsprinttopdfoptions">options</a>} : print to PDF file. All arguments are optional; empty option "{}" to capture long screenshot as vector graphics.</li>
|
<li>pdf [filename w/o extension] {<a href="https://www.electronjs.org/docs/latest/api/web-contents#contentsprinttopdfoptions">options</a>} : print to PDF file. All arguments are optional; empty option "{}" to capture long screenshot as vector graphics.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>":!" address bar commands</li>
|
<li>"!" address bar commands<br>
|
||||||
|
"!xx ..." evaluates "xx.js" with the whole address bar text as arguments[0].</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="commands-in-no-focus-mode-this-mode-is-similar-to-vi-normal-mode">Commands in no-focus mode (this mode is similar to vi Normal mode)</h4>
|
<h4 id="commands-in-no-focus-mode-this-mode-is-similar-to-vi-normal-mode">Commands in no-focus mode (this mode is similar to vi Normal mode)</h4>
|
||||||
<p>Pressing "ESC" to enter no-focus mode if not sure.</p>
|
<p>Pressing "ESC" to enter no-focus mode if not sure.</p>
|
||||||
|
@ -150,9 +156,11 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h4 id="license">License</h4>
|
||||||
|
<p>You can copy or modify the code/program under the terms of the GPL3.0 or later versions.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 15 June 2024<br>
|
<p>Last Modified: 18 June 2024<br>
|
||||||
<br>
|
<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<description>Recent content on uweb browser: unlimited power</description>
|
<description>Recent content on uweb browser: unlimited power</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>en</language>
|
<language>en</language>
|
||||||
<lastBuildDate>Sat, 15 Jun 2024 09:56:42 +0800</lastBuildDate>
|
<lastBuildDate>Tue, 18 Jun 2024 10:22:59 +0800</lastBuildDate>
|
||||||
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<item>
|
<item>
|
||||||
<title>Text selection/processing</title>
|
<title>Text selection/processing</title>
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
<p><a href="i:04Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
|
<p><a href="i:04Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
|
||||||
<p><a href="i:04Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
|
<p><a href="i:04Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
|
||||||
<p><a href="i:04Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
|
<p><a href="i:04Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
|
||||||
<p><a href="i:04markdown:['https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js'];var d=document;var md=d.querySelector('pre').innerText;var c=new showdown.Converter({emoji:true,underline:true,});c.setFlavor('github');d.body.innerHTML=c.makeHtml(md);d.title=d.title||d.body.firstElementChild.innerText.trim();">markdown:['https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js'];var d=document;var md=d.querySelector('pre').innerText;var c=new showdown.Converter({emoji:true,underline:true,});c.setFlavor('github');d.body.innerHTML=c.makeHtml(md);d.title=d.title||d.body.firstElementChild.innerText.trim();</a></p>
|
<p><a href="i:04markdown:['https://cdn.jsdelivr.net/npm/marked@12.0.2/marked.min.js'];var d=document;d.body.innerHTML=marked.parse(d.body.textContent);d.title=d.title||d.body.firstElementChild.innerText.trim();">markdown:['https://cdn.jsdelivr.net/npm/marked@12.0.2/marked.min.js'];var d=document;d.body.innerHTML=marked.parse(d.body.textContent);d.title=d.title||d.body.firstElementChild.innerText.trim();</a></p>
|
||||||
<p><a href="i:04mermaid:;loadModuleJS(`import mermaid from 'https://unpkg.com/mermaid/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true});`)">mermaid:;loadModuleJS(<code>import mermaid from 'https://unpkg.com/mermaid/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true});</code>)</a></p>
|
<p><a href="i:04mermaid:;loadModuleJS(`import mermaid from 'https://unpkg.com/mermaid/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true});`)">mermaid:;loadModuleJS(<code>import mermaid from 'https://unpkg.com/mermaid/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true});</code>)</a></p>
|
||||||
<p><a href="i:04mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']">mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']</a></p>
|
<p><a href="i:04mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']">mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']</a></p>
|
||||||
<p><a href="i:04New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a></p>
|
<p><a href="i:04New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a></p>
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
<p>All remote js (default.rjs) are allowed to execute on CSP sites. Local js files without remote resource access work fine when under the folder "bookmarklet", others needs to be refered in default.rjs as http urls such as "https://local/..." (<a href="../html5/index.html#">html5</a> or <a href="../offlinecache/index.html#">offline cache</a>) .</p>
|
<p>All remote js (default.rjs) are allowed to execute on CSP sites. Local js files without remote resource access work fine when under the folder "bookmarklet", others needs to be refered in default.rjs as http urls such as "https://local/..." (<a href="../html5/index.html#">html5</a> or <a href="../offlinecache/index.html#">offline cache</a>) .</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 8 April 2024<br>
|
<p>Last Modified: 18 June 2024<br>
|
||||||
fix typos<br>
|
fix typos<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/</loc>
|
<loc>/en/</loc>
|
||||||
<lastmod>2024-06-15T09:56:42+08:00</lastmod>
|
<lastmod>2024-06-18T10:22:59+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
@ -181,7 +181,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/topposts/</loc>
|
<loc>/en/topposts/</loc>
|
||||||
<lastmod>2024-06-08T10:09:00+08:00</lastmod>
|
<lastmod>2024-06-18T08:06:41+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
@ -359,7 +359,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/rjs/</loc>
|
<loc>/en/rjs/</loc>
|
||||||
<lastmod>2024-04-08T18:08:11+08:00</lastmod>
|
<lastmod>2024-06-18T08:06:41+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
@ -508,7 +508,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/ebrowserreadme/</loc>
|
<loc>/en/ebrowserreadme/</loc>
|
||||||
<lastmod>2024-06-15T09:56:42+08:00</lastmod>
|
<lastmod>2024-06-18T10:22:59+08:00</lastmod>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/mirrors/</loc>
|
<loc>/en/mirrors/</loc>
|
||||||
<lastmod>2024-04-06T10:20:49+08:00</lastmod>
|
<lastmod>2024-04-06T10:20:49+08:00</lastmod>
|
||||||
|
@ -539,7 +539,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/unlist/</loc>
|
<loc>/en/unlist/</loc>
|
||||||
<lastmod>2024-06-15T09:56:42+08:00</lastmod>
|
<lastmod>2024-06-18T10:22:59+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<description>Recent content in Topposts on uweb browser: unlimited power</description>
|
<description>Recent content in Topposts on uweb browser: unlimited power</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>en</language>
|
<language>en</language>
|
||||||
<lastBuildDate>Sat, 08 Jun 2024 10:09:00 +0800</lastBuildDate>
|
<lastBuildDate>Tue, 18 Jun 2024 08:06:41 +0800</lastBuildDate>
|
||||||
<atom:link href="/en/topposts/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/en/topposts/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<item>
|
<item>
|
||||||
<title>Search engines</title>
|
<title>Search engines</title>
|
||||||
|
|
|
@ -11,6 +11,7 @@ Copyright (C) 2024 Richard Hao Cao
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
div.webviews{
|
div.webviews{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -133,7 +134,7 @@ Copyright (C) 2024 Richard Hao Cao
|
||||||
let opt = document.createElement('option');
|
let opt = document.createElement('option');
|
||||||
let iS;
|
let iS;
|
||||||
if(delimit && (iS=line.lastIndexOf(delimit))>0){
|
if(delimit && (iS=line.lastIndexOf(delimit))>0){
|
||||||
opt.value = line.substring(iS+delimit.length);
|
opt.value = line.substring(iS+1);
|
||||||
opt.textContent = line.substring(0,iS);
|
opt.textContent = line.substring(0,iS);
|
||||||
}else
|
}else
|
||||||
opt.value = line;
|
opt.value = line;
|
||||||
|
@ -187,10 +188,6 @@ Copyright (C) 2024 Richard Hao Cao
|
||||||
|
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case "!":
|
case "!":
|
||||||
inputE.value = ":";
|
|
||||||
inputE.focus();
|
|
||||||
lastKeys = null;
|
|
||||||
return;
|
|
||||||
case "/":
|
case "/":
|
||||||
case ":":
|
case ":":
|
||||||
inputE.value = "";
|
inputE.value = "";
|
||||||
|
@ -213,7 +210,7 @@ Copyright (C) 2024 Richard Hao Cao
|
||||||
function getQ(){return document.forms[0].q.value;}
|
function getQ(){return document.forms[0].q.value;}
|
||||||
function bang(query, iSpace){
|
function bang(query, iSpace){
|
||||||
let se=defaultSE;
|
let se=defaultSE;
|
||||||
if(iSpace>0){
|
{
|
||||||
let name = query.slice(0,iSpace);
|
let name = query.slice(0,iSpace);
|
||||||
let engine = engines[name];
|
let engine = engines[name];
|
||||||
if(engine){
|
if(engine){
|
||||||
|
@ -286,11 +283,32 @@ Copyright (C) 2024 Richard Hao Cao
|
||||||
}
|
}
|
||||||
print2PDF(filename,options);
|
print2PDF(filename,options);
|
||||||
}
|
}
|
||||||
|
function bangcommand(q){
|
||||||
|
let iS = q.indexOf(' ',1);
|
||||||
|
if(iS<0) iS=q.length;
|
||||||
|
let fname = q.substring(1,iS);
|
||||||
|
let fpath = path.join(__dirname,fname+'.js');
|
||||||
|
if (fs.existsSync(fpath)) {
|
||||||
|
fs.readFile(fpath, 'utf8',(err, js)=>{
|
||||||
|
if (err) {
|
||||||
|
console.log(err);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const prefix = "(function(){";
|
||||||
|
const postfix = "})(`";
|
||||||
|
const end ="`)";
|
||||||
|
const fjs = `${prefix}${js}${postfix}${q}${end}`;
|
||||||
|
eval(fjs);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
function handleQuery(q){
|
function handleQuery(q){
|
||||||
if(q.length>1){
|
if(q.length>1){
|
||||||
let c0=q.charCodeAt(0);
|
let c0=q.charCodeAt(0);
|
||||||
switch(c0){
|
switch(c0){
|
||||||
|
case 33://"!"
|
||||||
|
bangcommand(q);
|
||||||
|
return;
|
||||||
case 47://"/"
|
case 47://"/"
|
||||||
tabs.children[iTab].findInPage(q.substring(1));
|
tabs.children[iTab].findInPage(q.substring(1));
|
||||||
return;
|
return;
|
||||||
|
@ -305,29 +323,31 @@ Copyright (C) 2024 Richard Hao Cao
|
||||||
}
|
}
|
||||||
var url=q;
|
var url=q;
|
||||||
do {
|
do {
|
||||||
if(q.length>7){
|
if(q.length>12){
|
||||||
let c6 = q.charCodeAt(6);
|
let c6 = q.charCodeAt(6);
|
||||||
if(47==c6){// '/'
|
if(47===c6){// '/'
|
||||||
let c5 = q.charCodeAt(5);
|
let c5 = q.charCodeAt(5);
|
||||||
if(47==c5 && 58==q.charCodeAt(4))//http/file urls
|
if(47===c5 && 58===q.charCodeAt(4))//http/file urls
|
||||||
break;
|
break;
|
||||||
if(58==c5 && 47==q.charCodeAt(7))//https://
|
if(58===c5 && 47===q.charCodeAt(7))//https://
|
||||||
break;
|
break;
|
||||||
}else if(q.startsWith("javascript:")){
|
}else if(q.startsWith("javascript:")){
|
||||||
tabs.children[iTab].executeJavaScript(q.substring(11),false);
|
tabs.children[iTab].executeJavaScript(q.substring(11),false);
|
||||||
return;
|
return;
|
||||||
}
|
}else if(q.startsWith("view-source:")) break;
|
||||||
|
else if(q.startsWith("data:")) break;
|
||||||
}
|
}
|
||||||
let iS = q.indexOf(' ');
|
let iS = q.indexOf(' ');
|
||||||
if(iS<0){
|
if(iS<0){
|
||||||
if(q.length>5){
|
if(q.length>5 && 58===q.charCodeAt(5)){// about:
|
||||||
if(58==q.charCodeAt(5))
|
break;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if(q.indexOf('.')>0){
|
if(q.indexOf('.')>0){
|
||||||
url = 'https://'+q;
|
url = 'https://'+q;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
url = defaultSE.replace('%s',q);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
url = bang(q, iS);
|
url = bang(q, iS);
|
||||||
}while(false);
|
}while(false);
|
||||||
|
|
|
@ -198,13 +198,19 @@ function addrCommand(cmd){
|
||||||
bJS = true; return;
|
bJS = true; return;
|
||||||
case "np":
|
case "np":
|
||||||
session.defaultSession.setProxy ({mode:"direct"});
|
session.defaultSession.setProxy ({mode:"direct"});
|
||||||
|
bRedirect = true;
|
||||||
return;
|
return;
|
||||||
case "up":
|
case "up":
|
||||||
if(args.length>1)
|
if(args.length>1)
|
||||||
proxy = proxies[args[1]]; //retrieve proxy
|
proxy = proxies[args[1]]; //retrieve proxy
|
||||||
if(proxy)
|
if(proxy){
|
||||||
|
if(gredirect){
|
||||||
|
gredirect=null;
|
||||||
|
unregisterHandler();
|
||||||
|
}
|
||||||
|
bRedirect = false;
|
||||||
session.defaultSession.setProxy(proxy);
|
session.defaultSession.setProxy(proxy);
|
||||||
bRedirect = false;
|
}
|
||||||
return;
|
return;
|
||||||
case "nr":
|
case "nr":
|
||||||
bRedirect = false; return;
|
bRedirect = false; return;
|
||||||
|
@ -325,6 +331,10 @@ function topMenu(){
|
||||||
{
|
{
|
||||||
label: '',
|
label: '',
|
||||||
submenu: [
|
submenu: [
|
||||||
|
{ label: 'Help', accelerator: 'F1', click: ()=>{
|
||||||
|
let js="tabs.children[iTab].src='file://'+__dirname+'/README.md'";
|
||||||
|
win.webContents.executeJavaScript(js,false)
|
||||||
|
}},
|
||||||
{ label: 'Stop', accelerator: 'Ctrl+C', click: ()=>{
|
{ label: 'Stop', accelerator: 'Ctrl+C', click: ()=>{
|
||||||
let js="tabs.children[iTab].stop()"
|
let js="tabs.children[iTab].stop()"
|
||||||
win.webContents.executeJavaScript(js,false)
|
win.webContents.executeJavaScript(js,false)
|
||||||
|
@ -381,6 +391,18 @@ function topMenu(){
|
||||||
let js="tabs.children[iTab].goForward()";
|
let js="tabs.children[iTab].goForward()";
|
||||||
win.webContents.executeJavaScript(js,false);
|
win.webContents.executeJavaScript(js,false);
|
||||||
}},
|
}},
|
||||||
|
{ label: 'Zoom in', accelerator: 'Ctrl+Shift+=', click: ()=>{
|
||||||
|
let js="{let t=tabs.children[iTab];let s=t.getZoomFactor()*1.2;t.setZoomFactor(s)}";
|
||||||
|
win.webContents.executeJavaScript(js,false);
|
||||||
|
}},
|
||||||
|
{ label: 'Zoom out', accelerator: 'Ctrl+-', click: ()=>{
|
||||||
|
let js="{let t=tabs.children[iTab];let s=t.getZoomFactor()/1.2;t.setZoomFactor(s)}";
|
||||||
|
win.webContents.executeJavaScript(js,false);
|
||||||
|
}},
|
||||||
|
{ label: 'Default zoom', accelerator: 'Ctrl+0', click: ()=>{
|
||||||
|
let js="tabs.children[iTab].setZoomFactor(1)";
|
||||||
|
win.webContents.executeJavaScript(js,false);
|
||||||
|
}},
|
||||||
{ label: 'No focus', accelerator: 'Esc', click: ()=>{
|
{ label: 'No focus', accelerator: 'Esc', click: ()=>{
|
||||||
let js = `{let e=document.activeElement;
|
let js = `{let e=document.activeElement;
|
||||||
if(e)e.blur();try{tabs.children[iTab].stopFindInPage('clearSelection')}catch(er){}}`;
|
if(e)e.blur();try{tabs.children[iTab].stopFindInPage('clearSelection')}catch(er){}}`;
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>/en/sitemap.xml</loc>
|
<loc>/en/sitemap.xml</loc>
|
||||||
|
|
||||||
<lastmod>2024-06-15T09:56:42+08:00</lastmod>
|
<lastmod>2024-06-18T10:22:59+08:00</lastmod>
|
||||||
|
|
||||||
</sitemap>
|
</sitemap>
|
||||||
|
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>/zh/sitemap.xml</loc>
|
<loc>/zh/sitemap.xml</loc>
|
||||||
|
|
||||||
<lastmod>2024-06-13T08:05:27+08:00</lastmod>
|
<lastmod>2024-06-18T08:06:18+08:00</lastmod>
|
||||||
|
|
||||||
</sitemap>
|
</sitemap>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<description>Recent content on 超微浏览器: 威、快、高效、极致优化</description>
|
<description>Recent content on 超微浏览器: 威、快、高效、极致优化</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>zh</language>
|
<language>zh</language>
|
||||||
<lastBuildDate>Thu, 13 Jun 2024 08:05:27 +0800</lastBuildDate>
|
<lastBuildDate>Tue, 18 Jun 2024 08:06:18 +0800</lastBuildDate>
|
||||||
<atom:link href="/zh/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/zh/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<item>
|
<item>
|
||||||
<title>操作选中(富)文本/元素</title>
|
<title>操作选中(富)文本/元素</title>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
<link>/zh/search/</link>
|
<link>/zh/search/</link>
|
||||||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||||||
<guid>/zh/search/</guid>
|
<guid>/zh/search/</guid>
|
||||||
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。
AI引擎:
gitcode:https://gitcode.com/aisearch?q=
metaso:https://metaso.cn/?q=
kaisou:https://kaisouai.com?q=
miku:https://www.hellomiku.com/search?q=
360AI:https://so.360.com/s?q=
gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s
tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s
xunfei:i:0/js/hash2textarea.js:https://xinghuo.xfyun.cn/desk#%s
baiduAI:i:0/js/hash2editable.js:https://chat.baidu.com/#%s
chatglm:i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s
doubao:i:0/js/hash2textarea.js:https://www.doubao.com/chat/#%s
baichuan:i:0/js/hash2textarea.js:https://www.baichuan-ai.com/chat#%s
bocha:i:0/js/hash2textarea.js:https://bochaai.com/#%s
yuewen:i:0/js/hash2textarea.js:https://yuewen.cn/chats/new#%s
镜像:
google:i:0mhttps://loud-moth-21.deno.dev/:https://google.com/search?q=%s
推荐引擎(将下面文本添加到home5.search中):
顺序:i:40%s_00
apkdl:https://apkdl.in/app/search?q=
apkbog:https://www.apkbog.com/en/apks/search/
知乎:https://www.zhihu.com/search?type=content&amp;q=
bilibili:https://m.bilibili.com/search?keyword=
抖音:https://www.douyin.com/search/%s?source=normal_search
高德地图:https://ditu.amap.com/search?query=
京东:https://search.jd.com/Search?enc=utf-8&amp;keyword=
淘宝:https://taobao.com/search?q=
苏宁:https://m.suning.com/search/%s/
拼多多:http://mobile.yangkeduo.com/search_result.html?search_key=
优惠券:http://mall.yhm11.com/index.php?r=l&amp;kw=
百度图片:http://image.baidu.com/search/index?tn=baiduimage&amp;word=
bing图片:http://bing.com/images/search?q=
搜狗表情:https://pic.sogou.com/pic/emo/searchList.jsp?keyword=
微信:https://weixin.sogou.com/weixin?type=2&amp;s_from=input&amp;query=
大百科全书:http://h.bkzx.cn/search?sublibId=2&amp;query=
wolfram:https://www.wolframalpha.com/input/?i=
bookmarkearth:https://www.bookmarkearth.com/s/search?q=
答案答案:https://daandaan.com/search?q=
问答库:https://m.asklib.com/s/
ACG:http://www.acgsou.com/?bound=content&amp;local=1&amp;keyword=
动漫花园:https://share.dmhy.org/topics/list?keyword=
末日动漫:https://share.acgnx.se/search.php?keyword=
慢慢买:http://s.manmanbuy.com/default.aspx?key=
购物党:https://gwdang.com/search?s_product=
快搜比价:https://ks.pconline.com.cn/product.shtml?q=
比一比价:http://www.b1bj.com/s.aspx?key=
盒子比价:http://www.boxz.com/search/
buzz:https://search.buzz.im/?search=
toplinks:https://www.toplinks.cc/s/?keyword=
注:顺序搜索需文件engine.search,格式与home5.search相同,但其中url关键词部分必须用“%s”标识。用此引擎搜索的网页按前进键自动用下一引擎搜索。
除了批量添加引擎外,超微可以将任意支持搜索的网址添加为搜索引擎。方法如下:
访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&quot;添加为搜索引擎&quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&quot;&amp;&quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:
google:https://google.com/search?q=
必应:https://www.bing.com/search?q=
必应CN:https://cn.bing.com/search?q=
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
seekr:https://www.seekr.com/search?query=
sese:https://sese.yyj.moe/search?q=
you:https://you.com/search?q=
神马:http://m.sm.cn/s?q=
夸克:https://quark.sm.cn/s?q=
无追:https://www.wuzhuiso.com/s?q=
360:http://www.so.com/s?q=
搜狗:https://m.sogou.com/web?query=
ecosia:https://www.ecosia.org/search?q=</description>
|
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。
AI引擎:
gitcode:https://gitcode.com/aisearch?q=
metaso:https://metaso.cn/?q=
kaisou:https://kaisouai.com?q=
360AI:https://so.360.com/s?q=
gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s
tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s
xunfei:i:0/js/hash2textarea.js:https://xinghuo.xfyun.cn/desk#%s
baiduAI:i:0/js/hash2editable.js:https://chat.baidu.com/#%s
chatglm:i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s
doubao:i:0/js/hash2textarea.js:https://www.doubao.com/chat/#%s
baichuan:i:0/js/hash2textarea.js:https://www.baichuan-ai.com/chat#%s
bocha:i:0/js/hash2textarea.js:https://bochaai.com/#%s
yuewen:i:0/js/hash2textarea.js:https://yuewen.cn/chats/new#%s
镜像:
google:i:0mhttps://loud-moth-21.deno.dev/:https://google.com/search?q=%s
推荐引擎(将下面文本添加到home5.search中):
顺序:i:40%s_00
apkdl:https://apkdl.in/app/search?q=
apkbog:https://www.apkbog.com/en/apks/search/
知乎:https://www.zhihu.com/search?type=content&amp;q=
bilibili:https://m.bilibili.com/search?keyword=
抖音:https://www.douyin.com/search/%s?source=normal_search
高德地图:https://ditu.amap.com/search?query=
京东:https://search.jd.com/Search?enc=utf-8&amp;keyword=
淘宝:https://taobao.com/search?q=
苏宁:https://m.suning.com/search/%s/
拼多多:http://mobile.yangkeduo.com/search_result.html?search_key=
优惠券:http://mall.yhm11.com/index.php?r=l&amp;kw=
百度图片:http://image.baidu.com/search/index?tn=baiduimage&amp;word=
bing图片:http://bing.com/images/search?q=
搜狗表情:https://pic.sogou.com/pic/emo/searchList.jsp?keyword=
微信:https://weixin.sogou.com/weixin?type=2&amp;s_from=input&amp;query=
大百科全书:http://h.bkzx.cn/search?sublibId=2&amp;query=
wolfram:https://www.wolframalpha.com/input/?i=
bookmarkearth:https://www.bookmarkearth.com/s/search?q=
答案答案:https://daandaan.com/search?q=
问答库:https://m.asklib.com/s/
ACG:http://www.acgsou.com/?bound=content&amp;local=1&amp;keyword=
动漫花园:https://share.dmhy.org/topics/list?keyword=
末日动漫:https://share.acgnx.se/search.php?keyword=
慢慢买:http://s.manmanbuy.com/default.aspx?key=
购物党:https://gwdang.com/search?s_product=
快搜比价:https://ks.pconline.com.cn/product.shtml?q=
比一比价:http://www.b1bj.com/s.aspx?key=
盒子比价:http://www.boxz.com/search/
buzz:https://search.buzz.im/?search=
toplinks:https://www.toplinks.cc/s/?keyword=
注:顺序搜索需文件engine.search,格式与home5.search相同,但其中url关键词部分必须用“%s”标识。用此引擎搜索的网页按前进键自动用下一引擎搜索。
除了批量添加引擎外,超微可以将任意支持搜索的网址添加为搜索引擎。方法如下:
访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&quot;添加为搜索引擎&quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&quot;&amp;&quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:
google:https://google.com/search?q=
必应:https://www.bing.com/search?q=
必应CN:https://cn.bing.com/search?q=
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
seekr:https://www.seekr.com/search?query=
sese:https://sese.yyj.moe/search?q=
you:https://you.com/search?q=
神马:http://m.sm.cn/s?q=
夸克:https://quark.sm.cn/s?q=
无追:https://www.wuzhuiso.com/s?q=
360:http://www.so.com/s?q=
搜狗:https://m.sogou.com/web?query=
ecosia:https://www.ecosia.org/search?q=
萌搜:https://mengso.com/search?q=</description>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<title>html5应用</title>
|
<title>html5应用</title>
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
<a href="i:00gitcode:https://gitcode.com/aisearch?q=">gitcode:https://gitcode.com/aisearch?q=</a></p>
|
<a href="i:00gitcode:https://gitcode.com/aisearch?q=">gitcode:https://gitcode.com/aisearch?q=</a></p>
|
||||||
<p><a href="i:00metaso:https://metaso.cn/?q=">metaso:https://metaso.cn/?q=</a></p>
|
<p><a href="i:00metaso:https://metaso.cn/?q=">metaso:https://metaso.cn/?q=</a></p>
|
||||||
<p><a href="i:00kaisou:https://kaisouai.com?q=">kaisou:https://kaisouai.com?q=</a></p>
|
<p><a href="i:00kaisou:https://kaisouai.com?q=">kaisou:https://kaisouai.com?q=</a></p>
|
||||||
<p><a href="i:00miku:https://www.hellomiku.com/search?q=">miku:https://www.hellomiku.com/search?q=</a></p>
|
|
||||||
<p><a href="i:00360AI:https://so.360.com/s?q=">360AI:https://so.360.com/s?q=</a></p>
|
<p><a href="i:00360AI:https://so.360.com/s?q=">360AI:https://so.360.com/s?q=</a></p>
|
||||||
<p><a href="i:00gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s">gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s</a></p>
|
<p><a href="i:00gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s">gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s</a></p>
|
||||||
<p><a href="i:00tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s">tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s</a></p>
|
<p><a href="i:00tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s">tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s</a></p>
|
||||||
|
@ -326,7 +325,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 10 June 2024<br>
|
<p>Last Modified: 18 June 2024<br>
|
||||||
add more AI search engines<br>
|
add more AI search engines<br>
|
||||||
<pre>24.02.26 添加网盘搜索引擎
|
<pre>24.02.26 添加网盘搜索引擎
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/</loc>
|
<loc>/zh/</loc>
|
||||||
<lastmod>2024-06-13T08:05:27+08:00</lastmod>
|
<lastmod>2024-06-18T08:06:18+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
|
@ -181,7 +181,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/topposts/</loc>
|
<loc>/zh/topposts/</loc>
|
||||||
<lastmod>2024-06-13T07:45:53+08:00</lastmod>
|
<lastmod>2024-06-18T08:06:18+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
|
@ -194,7 +194,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/search/</loc>
|
<loc>/zh/search/</loc>
|
||||||
<lastmod>2024-06-10T11:27:49+08:00</lastmod>
|
<lastmod>2024-06-18T08:06:18+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
<description>Recent content in Topposts on 超微浏览器: 威、快、高效、极致优化</description>
|
<description>Recent content in Topposts on 超微浏览器: 威、快、高效、极致优化</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>zh</language>
|
<language>zh</language>
|
||||||
<lastBuildDate>Thu, 13 Jun 2024 07:45:53 +0800</lastBuildDate>
|
<lastBuildDate>Tue, 18 Jun 2024 08:06:18 +0800</lastBuildDate>
|
||||||
<atom:link href="/zh/topposts/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/zh/topposts/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<item>
|
<item>
|
||||||
<title>浏览器多搜索引擎一键直达</title>
|
<title>浏览器多搜索引擎一键直达</title>
|
||||||
<link>/zh/search/</link>
|
<link>/zh/search/</link>
|
||||||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||||||
<guid>/zh/search/</guid>
|
<guid>/zh/search/</guid>
|
||||||
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。
AI引擎:
gitcode:https://gitcode.com/aisearch?q=
metaso:https://metaso.cn/?q=
kaisou:https://kaisouai.com?q=
miku:https://www.hellomiku.com/search?q=
360AI:https://so.360.com/s?q=
gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s
tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s
xunfei:i:0/js/hash2textarea.js:https://xinghuo.xfyun.cn/desk#%s
baiduAI:i:0/js/hash2editable.js:https://chat.baidu.com/#%s
chatglm:i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s
doubao:i:0/js/hash2textarea.js:https://www.doubao.com/chat/#%s
baichuan:i:0/js/hash2textarea.js:https://www.baichuan-ai.com/chat#%s
bocha:i:0/js/hash2textarea.js:https://bochaai.com/#%s
yuewen:i:0/js/hash2textarea.js:https://yuewen.cn/chats/new#%s
镜像:
google:i:0mhttps://loud-moth-21.deno.dev/:https://google.com/search?q=%s
推荐引擎(将下面文本添加到home5.search中):
顺序:i:40%s_00
apkdl:https://apkdl.in/app/search?q=
apkbog:https://www.apkbog.com/en/apks/search/
知乎:https://www.zhihu.com/search?type=content&amp;q=
bilibili:https://m.bilibili.com/search?keyword=
抖音:https://www.douyin.com/search/%s?source=normal_search
高德地图:https://ditu.amap.com/search?query=
京东:https://search.jd.com/Search?enc=utf-8&amp;keyword=
淘宝:https://taobao.com/search?q=
苏宁:https://m.suning.com/search/%s/
拼多多:http://mobile.yangkeduo.com/search_result.html?search_key=
优惠券:http://mall.yhm11.com/index.php?r=l&amp;kw=
百度图片:http://image.baidu.com/search/index?tn=baiduimage&amp;word=
bing图片:http://bing.com/images/search?q=
搜狗表情:https://pic.sogou.com/pic/emo/searchList.jsp?keyword=
微信:https://weixin.sogou.com/weixin?type=2&amp;s_from=input&amp;query=
大百科全书:http://h.bkzx.cn/search?sublibId=2&amp;query=
wolfram:https://www.wolframalpha.com/input/?i=
bookmarkearth:https://www.bookmarkearth.com/s/search?q=
答案答案:https://daandaan.com/search?q=
问答库:https://m.asklib.com/s/
ACG:http://www.acgsou.com/?bound=content&amp;local=1&amp;keyword=
动漫花园:https://share.dmhy.org/topics/list?keyword=
末日动漫:https://share.acgnx.se/search.php?keyword=
慢慢买:http://s.manmanbuy.com/default.aspx?key=
购物党:https://gwdang.com/search?s_product=
快搜比价:https://ks.pconline.com.cn/product.shtml?q=
比一比价:http://www.b1bj.com/s.aspx?key=
盒子比价:http://www.boxz.com/search/
buzz:https://search.buzz.im/?search=
toplinks:https://www.toplinks.cc/s/?keyword=
注:顺序搜索需文件engine.search,格式与home5.search相同,但其中url关键词部分必须用“%s”标识。用此引擎搜索的网页按前进键自动用下一引擎搜索。
除了批量添加引擎外,超微可以将任意支持搜索的网址添加为搜索引擎。方法如下:
访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&quot;添加为搜索引擎&quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&quot;&amp;&quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:
google:https://google.com/search?q=
必应:https://www.bing.com/search?q=
必应CN:https://cn.bing.com/search?q=
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
seekr:https://www.seekr.com/search?query=
sese:https://sese.yyj.moe/search?q=
you:https://you.com/search?q=
神马:http://m.sm.cn/s?q=
夸克:https://quark.sm.cn/s?q=
无追:https://www.wuzhuiso.com/s?q=
360:http://www.so.com/s?q=
搜狗:https://m.sogou.com/web?query=
ecosia:https://www.ecosia.org/search?q=</description>
|
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。
AI引擎:
gitcode:https://gitcode.com/aisearch?q=
metaso:https://metaso.cn/?q=
kaisou:https://kaisouai.com?q=
360AI:https://so.360.com/s?q=
gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s
tiangong:i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s
xunfei:i:0/js/hash2textarea.js:https://xinghuo.xfyun.cn/desk#%s
baiduAI:i:0/js/hash2editable.js:https://chat.baidu.com/#%s
chatglm:i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s
doubao:i:0/js/hash2textarea.js:https://www.doubao.com/chat/#%s
baichuan:i:0/js/hash2textarea.js:https://www.baichuan-ai.com/chat#%s
bocha:i:0/js/hash2textarea.js:https://bochaai.com/#%s
yuewen:i:0/js/hash2textarea.js:https://yuewen.cn/chats/new#%s
镜像:
google:i:0mhttps://loud-moth-21.deno.dev/:https://google.com/search?q=%s
推荐引擎(将下面文本添加到home5.search中):
顺序:i:40%s_00
apkdl:https://apkdl.in/app/search?q=
apkbog:https://www.apkbog.com/en/apks/search/
知乎:https://www.zhihu.com/search?type=content&amp;q=
bilibili:https://m.bilibili.com/search?keyword=
抖音:https://www.douyin.com/search/%s?source=normal_search
高德地图:https://ditu.amap.com/search?query=
京东:https://search.jd.com/Search?enc=utf-8&amp;keyword=
淘宝:https://taobao.com/search?q=
苏宁:https://m.suning.com/search/%s/
拼多多:http://mobile.yangkeduo.com/search_result.html?search_key=
优惠券:http://mall.yhm11.com/index.php?r=l&amp;kw=
百度图片:http://image.baidu.com/search/index?tn=baiduimage&amp;word=
bing图片:http://bing.com/images/search?q=
搜狗表情:https://pic.sogou.com/pic/emo/searchList.jsp?keyword=
微信:https://weixin.sogou.com/weixin?type=2&amp;s_from=input&amp;query=
大百科全书:http://h.bkzx.cn/search?sublibId=2&amp;query=
wolfram:https://www.wolframalpha.com/input/?i=
bookmarkearth:https://www.bookmarkearth.com/s/search?q=
答案答案:https://daandaan.com/search?q=
问答库:https://m.asklib.com/s/
ACG:http://www.acgsou.com/?bound=content&amp;local=1&amp;keyword=
动漫花园:https://share.dmhy.org/topics/list?keyword=
末日动漫:https://share.acgnx.se/search.php?keyword=
慢慢买:http://s.manmanbuy.com/default.aspx?key=
购物党:https://gwdang.com/search?s_product=
快搜比价:https://ks.pconline.com.cn/product.shtml?q=
比一比价:http://www.b1bj.com/s.aspx?key=
盒子比价:http://www.boxz.com/search/
buzz:https://search.buzz.im/?search=
toplinks:https://www.toplinks.cc/s/?keyword=
注:顺序搜索需文件engine.search,格式与home5.search相同,但其中url关键词部分必须用“%s”标识。用此引擎搜索的网页按前进键自动用下一引擎搜索。
除了批量添加引擎外,超微可以将任意支持搜索的网址添加为搜索引擎。方法如下:
访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&quot;添加为搜索引擎&quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&quot;&amp;&quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:
google:https://google.com/search?q=
必应:https://www.bing.com/search?q=
必应CN:https://cn.bing.com/search?q=
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
seekr:https://www.seekr.com/search?query=
sese:https://sese.yyj.moe/search?q=
you:https://you.com/search?q=
神马:http://m.sm.cn/s?q=
夸克:https://quark.sm.cn/s?q=
无追:https://www.wuzhuiso.com/s?q=
360:http://www.so.com/s?q=
搜狗:https://m.sogou.com/web?query=
ecosia:https://www.ecosia.org/search?q=
萌搜:https://mengso.com/search?q=</description>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<title>配置总览</title>
|
<title>配置总览</title>
|
||||||
|
|
Loading…
Reference in a new issue