mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser 1.0.45: sitejs/sitecss support
This commit is contained in:
parent
e28838f738
commit
6fc7d22514
12 changed files with 64 additions and 27 deletions
|
@ -51,6 +51,7 @@
|
|||
<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 "md" in no-focus mode to preview markdown file.</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>
|
||||
<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>
|
||||
|
@ -149,7 +150,7 @@ npm install ebrowser
|
|||
</ul>
|
||||
<h4 id="javascript-at-three-levels">Javascript at three levels</h4>
|
||||
<ul>
|
||||
<li>Web page: urls like "javascript:" or bookmarklet command ":bml" run in web page.</li>
|
||||
<li>Web page: url like "javascript:" or bookmarklet command ":bml" runs in web page.</li>
|
||||
<li>Browser (or renderer process) :
|
||||
<ul>
|
||||
<li>":bjs" to execute the following js code at browser level.</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue