ebrowser v1.0.51: download.json to add user-defined context-menu

This commit is contained in:
James Feng Cao 2024-06-30 17:04:50 +08:00
parent f3ea023929
commit 5e3172ece0
16 changed files with 118 additions and 45 deletions

View file

@ -50,7 +50,8 @@
<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#">global redirection</a> to bypass censorship.</li>
<li>user scripts at will. Ex. pressing &quot;md&quot; in no-focus mode to preview markdown file.</li>
<li>user CSS/JS at will. Ex. pressing &quot;md&quot; 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>
</ul>
@ -117,7 +118,7 @@ npm install ebrowser
<li>np : no proxy.</li>
<li>up [proxyName] : use proxy. privous proxy or the first proxy in proxy.json w/o [proxyName]. &quot;:up&quot; command also disables global and domain redirections, which are not restored by &quot;:np&quot;.</li>
<li>ua [useragentName] : set user agent for future tabs. default user agent w/o arguments.</li>
<li>update [updateurl] : update the app. updateurl is optional.</li>
<li>update [filename] : update the app w/o argument, otherwise retrive the [filename] from remote. The filename could be any file on <a href="https://jamesfengcao.gitlab.io/uweb/en/readme/index.html">mirror sites</a> (this repository is part of it).</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 &quot;{}&quot; to capture long screenshot as vector graphics.</li>
</ul>
</li>
@ -147,6 +148,7 @@ npm install ebrowser
<li>&quot;mapkeys.json&quot;: keys-addressbarCommands pairs. The addressbar commands are multiple lines of address bar command separated by &quot;\n&quot;.</li>
<li>&quot;proxy.json&quot;: name-<a href="https://www.electronjs.org/docs/latest/api/structures/proxy-config">ProxyConfig</a> pairs</li>
<li>&quot;uas.json&quot; : name-useragent pairs</li>
<li>&quot;download.json&quot; : 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 &quot;%u&quot; as the downloaded url.</li>
</ul>
<h4 id="javascript-at-three-levels">Javascript at three levels</h4>
<ul>
@ -191,7 +193,7 @@ npm install ebrowser
<p>You can copy or modify the code/program under the terms of the GPL3.0 or later versions.</p>
</div>
<p>Last Modified: 29 June 2024<br>
<p>Last Modified: 30 June 2024<br>
<br>
<pre></pre>
</p>

View file

@ -6,7 +6,7 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Sat, 29 Jun 2024 21:05:42 +0800</lastBuildDate>
<lastBuildDate>Sun, 30 Jun 2024 16:27:47 +0800</lastBuildDate>
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
@ -55,7 +55,7 @@
<link>/en/search/</link>
<pubDate>Tue, 07 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/search/</guid>
<description>Clicking the following links to install search engines with uweb browser.&#xA;AI:&#xA;andi:https://andisearch.com/?q=&#xA;thinkany:https://thinkany.so/search?q=&#xA;phind:https://phind-ai.com/search?q=&#xA;devv:https://devv.ai/search?agentMode=false&amp;amp;q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;explorer:https://explorer.globe.engineer/?q=&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;yoursearch:https://app.yoursearch.ai/?q=&#xA;chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s&#xA;lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html&#xA;bingvideo:https://www.bing.com/videos/search?q=&#xA;vsearch:https://www.vsearch.me/s?q=</description>
<description>Clicking the following links to install search engines with uweb browser.&#xA;AI:&#xA;andi:https://andisearch.com/?q=&#xA;thinkany:https://thinkany.so/search?q=&#xA;phind:https://phind-ai.com/search?q=&#xA;iask:https://iask.ai/?q=&#xA;devv:https://devv.ai/search?agentMode=false&amp;amp;q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;explorer:https://explorer.globe.engineer/?q=&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;yoursearch:https://app.yoursearch.ai/?q=&#xA;awesomerepo:https://www.awesome-repositories.com/s/results-with-ai/&#xA;chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s&#xA;lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html</description>
</item>
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
@ -216,7 +216,7 @@
<link>/en/ebrowserreadme/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/ebrowserreadme/</guid>
<description>Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).&#xA;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 &amp;quot;md&amp;quot; in no-focus mode to preview markdown file. CSS/JS for domains, similar to uweb, but use sitejs/[domain].</description>
<description>Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).&#xA;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 &amp;quot;md&amp;quot; in no-focus mode to preview markdown file. global CSS/JS for all sites at will.</description>
</item>
<item>
<title></title>

View file

@ -52,6 +52,7 @@
<a href="i:00andi:https://andisearch.com/?q=">andi:https://andisearch.com/?q=</a></p>
<p><a href="i:00thinkany:https://thinkany.so/search?q=">thinkany:https://thinkany.so/search?q=</a></p>
<p><a href="i:00phind:https://phind-ai.com/search?q=">phind:https://phind-ai.com/search?q=</a></p>
<p><a href="i:00iask:https://iask.ai/?q=">iask:https://iask.ai/?q=</a></p>
<p><a href="i:00devv:https://devv.ai/search?agentMode=false&q=">devv:https://devv.ai/search?agentMode=false&amp;q=</a></p>
<p><a href="i:00perplexity:https://www.perplexity.ai/?q=">perplexity:https://www.perplexity.ai/?q=</a></p>
<p><a href="i:00youChat:https://you.com/search?tbm=youchat&q=">youChat:https://you.com/search?tbm=youchat&amp;q=</a></p>
@ -62,6 +63,7 @@
<p><a href="i:00explorer:https://explorer.globe.engineer/?q=">explorer:https://explorer.globe.engineer/?q=</a></p>
<p><a href="i:00consensus:https://consensus.app/results/?synthesize=on&q=">consensus:https://consensus.app/results/?synthesize=on&amp;q=</a></p>
<p><a href="i:00yoursearch:https://app.yoursearch.ai/?q=">yoursearch:https://app.yoursearch.ai/?q=</a></p>
<p><a href="i:00awesomerepo:https://www.awesome-repositories.com/s/results-with-ai/">awesomerepo:https://www.awesome-repositories.com/s/results-with-ai/</a></p>
<p><a href="i:00chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s">chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s</a></p>
<p><a href="i:00lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s">lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s</a></p>
<p>Recommended engines (click or append any of the following to the file &quot;home5.search&quot;)<br>
@ -259,7 +261,7 @@
<a href="https://alternativeto.net/software/google-search/?feature=web-search">alternativeto</a></p>
</div>
<p>Last Modified: 8 June 2024<br>
<p>Last Modified: 30 June 2024<br>
add more AI search engines<br>
<pre>Add AI engines
</pre>

View file

@ -71,7 +71,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2024-06-29T21:05:42+08:00</lastmod>
<lastmod>2024-06-30T16:27:47+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -168,7 +168,7 @@
/>
</url><url>
<loc>/en/search/</loc>
<lastmod>2024-06-08T10:09:00+08:00</lastmod>
<lastmod>2024-06-30T16:27:47+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -181,7 +181,7 @@
/>
</url><url>
<loc>/en/topposts/</loc>
<lastmod>2024-06-18T08:06:41+08:00</lastmod>
<lastmod>2024-06-30T16:27:47+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -508,7 +508,7 @@
/>
</url><url>
<loc>/en/ebrowserreadme/</loc>
<lastmod>2024-06-29T21:05:42+08:00</lastmod>
<lastmod>2024-06-30T15:28:25+08:00</lastmod>
</url><url>
<loc>/en/mirrors/</loc>
<lastmod>2024-06-18T23:17:17+08:00</lastmod>
@ -539,7 +539,7 @@
/>
</url><url>
<loc>/en/unlist/</loc>
<lastmod>2024-06-29T21:05:42+08:00</lastmod>
<lastmod>2024-06-30T15:28:25+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View file

@ -6,14 +6,14 @@
<description>Recent content in Topposts on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Tue, 18 Jun 2024 08:06:41 +0800</lastBuildDate>
<lastBuildDate>Sun, 30 Jun 2024 16:27:47 +0800</lastBuildDate>
<atom:link href="/en/topposts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Search engines</title>
<link>/en/search/</link>
<pubDate>Tue, 07 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/search/</guid>
<description>Clicking the following links to install search engines with uweb browser.&#xA;AI:&#xA;andi:https://andisearch.com/?q=&#xA;thinkany:https://thinkany.so/search?q=&#xA;phind:https://phind-ai.com/search?q=&#xA;devv:https://devv.ai/search?agentMode=false&amp;amp;q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;explorer:https://explorer.globe.engineer/?q=&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;yoursearch:https://app.yoursearch.ai/?q=&#xA;chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s&#xA;lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html&#xA;bingvideo:https://www.bing.com/videos/search?q=&#xA;vsearch:https://www.vsearch.me/s?q=</description>
<description>Clicking the following links to install search engines with uweb browser.&#xA;AI:&#xA;andi:https://andisearch.com/?q=&#xA;thinkany:https://thinkany.so/search?q=&#xA;phind:https://phind-ai.com/search?q=&#xA;iask:https://iask.ai/?q=&#xA;devv:https://devv.ai/search?agentMode=false&amp;amp;q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;explorer:https://explorer.globe.engineer/?q=&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;yoursearch:https://app.yoursearch.ai/?q=&#xA;awesomerepo:https://www.awesome-repositories.com/s/results-with-ai/&#xA;chatGPT:i:0/js/hash2textarea.js:https://chat.openai.com/#%s&#xA;lepton:i:0/js/hash2input.js:https://search.lepton.run/#%s&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html</description>
</item>
<item>
<title>Downloads</title>

View file

@ -12,7 +12,7 @@
<link>/en/ebrowserreadme/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/ebrowserreadme/</guid>
<description>Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).&#xA;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 &amp;quot;md&amp;quot; in no-focus mode to preview markdown file. CSS/JS for domains, similar to uweb, but use sitejs/[domain].</description>
<description>Ebrowser: keyboard-friendly minimal suckless web browser Ebrowser is designed with the philosophy of Android uweb browser (gitlab).&#xA;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 &amp;quot;md&amp;quot; in no-focus mode to preview markdown file. global CSS/JS for all sites at will.</description>
</item>
<item>
<title></title>