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
80
en/ebrowser/eb_select/index.html
Normal file
80
en/ebrowser/eb_select/index.html
Normal file
|
@ -0,0 +1,80 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<link rel="stylesheet" href="../style.css#" type="text/css" />
|
||||
<title>Text selection</title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">Text selection
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p>Click the following links to install context menus for text selection.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 12 July 2024<br>
|
||||
reorg ebrowserreadme.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
<script id='jsgiscus'
|
||||
src='https://giscus.app/client.js'
|
||||
data-repo="torappinfo/uweb"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
|
||||
data-category="Announcements"
|
||||
data-category-id="DIC_kwDOEgNLGc4CQjsh"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="light"
|
||||
data-lang="en"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous" async>
|
||||
</script>
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
© 2018-2024 Richard H. Cao
|
||||
</div>
|
||||
</footer>
|
||||
<!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
8
en/ebrowser/index.html
Normal file
8
en/ebrowser/index.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<ul>
|
||||
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
19
en/ebrowser/index.xml
Normal file
19
en/ebrowser/index.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Ebrowsers on uweb browser: unlimited power</title>
|
||||
<link>/en/ebrowser/</link>
|
||||
<description>Recent content in Ebrowsers on uweb browser: unlimited power</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Fri, 12 Jul 2024 10:48:12 +0800</lastBuildDate>
|
||||
<atom:link href="/en/ebrowser/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/ebrowser/eb_select/</link>
|
||||
<pubDate>Fri, 12 Jul 2024 00:00:00 +0000</pubDate>
|
||||
<guid>/en/ebrowser/eb_select/</guid>
|
||||
<description>Click the following links to install context menus for text selection.</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -6,8 +6,15 @@
|
|||
<description>Recent content on uweb browser: unlimited power</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Wed, 10 Jul 2024 11:21:12 +0800</lastBuildDate>
|
||||
<lastBuildDate>Fri, 12 Jul 2024 10:48:12 +0800</lastBuildDate>
|
||||
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/ebrowser/eb_select/</link>
|
||||
<pubDate>Fri, 12 Jul 2024 00:00:00 +0000</pubDate>
|
||||
<guid>/en/ebrowser/eb_select/</guid>
|
||||
<description>Click the following links to install context menus for text selection.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
|
|
|
@ -2,6 +2,25 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/ebrowser/</loc>
|
||||
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/ebrowser/eb_select/</loc>
|
||||
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2024-07-10T11:21:12+08:00</lastmod>
|
||||
<xhtml:link
|
||||
|
@ -69,19 +88,6 @@
|
|||
hreflang="en"
|
||||
href="/en/textprocess/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2024-07-10T11:21:12+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/windows/</loc>
|
||||
<lastmod>2024-05-24T09:50:14+08:00</lastmod>
|
||||
|
@ -521,7 +527,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/ebrowserreadme/</loc>
|
||||
<lastmod>2024-07-04T16:02:27+08:00</lastmod>
|
||||
<lastmod>2024-07-12T10:37:00+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/mirrors/</loc>
|
||||
<lastmod>2024-06-18T23:17:17+08:00</lastmod>
|
||||
|
@ -552,7 +558,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/unlist/</loc>
|
||||
<lastmod>2024-07-04T16:02:27+08:00</lastmod>
|
||||
<lastmod>2024-07-12T10:37:00+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 10 July 2024<br>
|
||||
<br>
|
||||
add en/useragents.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue