mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser 1.0.33
This commit is contained in:
parent
536ff07ffa
commit
1577313e59
9 changed files with 98 additions and 184 deletions
|
@ -95,6 +95,7 @@ npm install ebrowser
|
|||
<ul>
|
||||
<li>ac [bookmark/history path w/o ext] : load ".rec" file for autocomplete.</li>
|
||||
<li>b [bookmarkfilename w/o ext] : bookmark current page in file.</li>
|
||||
<li>bjs : Browser-level JavaScript execution.</li>
|
||||
<li>bml [filename w/o extension]: load/execute the javascript file.</li>
|
||||
<li>cert : allow invalid certificates w/o arguments, otherwise restore to default.</li>
|
||||
<li>clear : the arguments could be
|
||||
|
@ -109,8 +110,6 @@ npm install ebrowser
|
|||
<li>gr [gredirect index]: global redirection with corresponding index. Use the first global redirection url if no argument. Disable global redirection with any index out of the range.</li>
|
||||
<li>js [js code] : execute JS code at OS level. Note: "javascript:..." is special url and thus works in the current web page, while ":js ..." commands can do any OS operations.</li>
|
||||
<li>nc/uc : No Cookie forwarding/Use Cookie forwarding with global redirection.</li>
|
||||
<li>nh/uh for No/Use url history.</li>
|
||||
<li>nj/uj for No/Use external Javascript files.</li>
|
||||
<li>nr/ur for No/Use "redirect.json" for domain redirection.</li>
|
||||
<li>np : no proxy.</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>
|
||||
|
@ -144,9 +143,20 @@ npm install ebrowser
|
|||
<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>Browser (or renderer process) : "!xx" evaluates "xx.js", which could manipulate address bar etc.</li>
|
||||
<li>Browser (or renderer process) :
|
||||
<ul>
|
||||
<li>":bjs" to execute the following js code at browser level.</li>
|
||||
<li>"!xx" evaluates "xx.js", which could manipulate address bar etc.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>OS level (or main process) : ":js" to execute the following js code with all OS APIs available.</li>
|
||||
</ul>
|
||||
<h5 id="examples-for-jsbjs-commands">examples for ":js"/":bjs" commands</h5>
|
||||
<pre><code>:js bJS=true //allow external Javascript files for web pages
|
||||
:js bJS=false //disallow external Javascript files for web pages
|
||||
:bjs bHistory=true //to record url history
|
||||
:bjs bQueryHistory=true //to record query/command history
|
||||
</code></pre>
|
||||
<h4 id="new-usages">New usages</h4>
|
||||
<ul>
|
||||
<li>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<description>Recent content on uweb browser: unlimited power</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Mon, 24 Jun 2024 10:28:02 +0800</lastBuildDate>
|
||||
<lastBuildDate>Mon, 24 Jun 2024 19:36:44 +0800</lastBuildDate>
|
||||
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection/processing</title>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2024-06-24T10:28:02+08:00</lastmod>
|
||||
<lastmod>2024-06-24T19:36:44+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -508,7 +508,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/ebrowserreadme/</loc>
|
||||
<lastmod>2024-06-24T09:46:43+08:00</lastmod>
|
||||
<lastmod>2024-06-24T19:36:44+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-24T10:28:02+08:00</lastmod>
|
||||
<lastmod>2024-06-24T19:36:44+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue