mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser 1.0.58
This commit is contained in:
parent
47777c299e
commit
e469cb1a87
22 changed files with 217 additions and 64 deletions
|
@ -43,13 +43,14 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<h3 id="ebrowserhttpsgithubcomtorappinfoebrowser-keyboard-friendly-minimal-suckless-web-browser"><a href="https://github.com/torappinfo/ebrowser">Ebrowser</a>: keyboard-friendly minimal suckless web browser</h3>
|
||||
<script>function notRepo(){let u=location.href.replace(/#$/, '');return u.endsWith('index.html')||u.endsWith('readme/');}</script>
|
||||
<h3 id="ebrowserhttpsgithubcomtorappinfoebrowser-keyboard-friendly-minimal-suckless-web-browser"><a href="https://github.com/torappinfo/ebrowser">Ebrowser</a>: keyboard-friendly minimal suckless web browser</h3>
|
||||
<p>Ebrowser is designed with the philosophy of <a href="https://github.com/torappinfo/uweb">Android uweb browser</a> (<a href="https://gitlab.com/jamesfengcao/uweb">gitlab</a>).</p>
|
||||
<ul>
|
||||
<li>lightweight (less than 20k bytes) without bundled electron.</li>
|
||||
<li>much less memory footprint than edge/chrome browser and highly performant.</li>
|
||||
<li>keyboard friendly with vim-style keymaps and command line support in address bar.</li>
|
||||
<li><a href="https://uweb.surge.sh/en/redirect/index.html#">global redirection</a> to bypass censorship.</li>
|
||||
<li><a href="https://uweb.surge.sh/en/redirect/index.html#" onclick="if(notRepo()){location='../redirect/index.html#';return false;}">global redirection</a> to bypass censorship.</li>
|
||||
<li>user CSS/JS at will. Ex. pressing "md" in no-focus mode to preview markdown file.</li>
|
||||
<li>global CSS/JS for all sites at will.</li>
|
||||
<li>CSS/JS for domains, similar to <a href="https://jamesfengcao.gitlab.io/uweb/en/sitejs/index.html">uweb</a>, but use sitejs/[domain].js or sitecss/[domain].css, not [domain root].js/css.</li>
|
||||
|
@ -141,15 +142,20 @@ npm install ebrowser
|
|||
<h4 id="configuration-files">Configuration files</h4>
|
||||
<ul>
|
||||
<li>"config": lines of address bar commands.</li>
|
||||
<li>"search.json": <a href="https://jamesfengcao.gitlab.io/uweb/en/search/index.html">search engines</a> as shortcut-queryUrl pairs, where "%s" would be replaced by search query.</li>
|
||||
<li>"search.json": <a href="https://jamesfengcao.gitlab.io/uweb/en/search/index.html" onclick="if(notRepo()){location='../search/index.html#';return false;}">search engines</a> as shortcut-queryUrl pairs, where "%s" would be replaced by search query.</li>
|
||||
<li>"default.autoc": predefined strings for address bar auto completion.</li>
|
||||
<li>"gredirect.json": global redirection urls as array of urls</li>
|
||||
<li>"redirect.json": domain-replacementDomain pairs, default to be applied.</li>
|
||||
<li>"mapkeys.json": keys-addressbarCommands pairs. The addressbar commands are multiple lines of address bar command separated by "\n".</li>
|
||||
<li>"proxy.json": name-<a href="https://www.electronjs.org/docs/latest/api/structures/proxy-config">ProxyConfig</a> pairs</li>
|
||||
<li>"uas.json" : name-useragent pairs</li>
|
||||
<li>"menu.json": array of strings for <a href="https://jamesfengcao.gitlab.io/uweb/en/urls/index.html">user-defined menus</a>. The array has submenu name and address bar commands alternately.</li>
|
||||
<li>"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.</li>
|
||||
<li>"uas.json" : name-<a href="https://jamesfengcao.gitlab.io/uweb/en/useragents/index.html" onclick="if(notRepo()){location='../useragents/index.html#';return false;}">useragent</a> pairs.</li>
|
||||
<li>Customized menus: json files as array of strings with menuitem name and address bar commands alternately.
|
||||
<ul>
|
||||
<li>"menu.json": array of strings for <a href="https://jamesfengcao.gitlab.io/uweb/en/urls/index.html" onclick="if(notRepo()){location='../urls/index.html#';return false;}">user-defined menus</a>. The array has submenu name and address bar commands alternately. The odd-indexed strings are address bar commands with "%u" as the downloaded url.</li>
|
||||
<li>"select.json": to define menus for text selections. The odd-indexed strings are address bar commands with "%s" as the text selection.</li>
|
||||
<li>"download.json" : array of strings to define context menu and 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.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 id="javascript-at-three-levels">Javascript at three levels</h4>
|
||||
<ul>
|
||||
|
@ -194,8 +200,8 @@ 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: 4 July 2024<br>
|
||||
<br>
|
||||
<p>Last Modified: 12 July 2024<br>
|
||||
reorg ebrowserreadme.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue