mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
enhance i:0m to support negative uplevel
This commit is contained in:
parent
f61e10f836
commit
0d2f4adee1
50 changed files with 73 additions and 71 deletions
|
@ -136,10 +136,11 @@ Ex. ":p x" or ":px" for screen width and infinite height (as
|
|||
Extract remote content (tar/tgz/zip) under the folder [path]. If [path] ends with "/", then put unzipped file under the folder "[path]/[file name stem]" (for zipped files only, not for tar/tgz).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>i:0m[bookmarklet index|prefix|?postfix|/.../localfile|H[headers]|c[cssFlag]]:[url]<br>
|
||||
Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the path of [url].</p>
|
||||
<p>i:0m[-|1-9][bookmarklet index|prefix|?postfix|/.../localfile|H[headers]|c[cssFlag]]:[url]<br>
|
||||
Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the parent path of [url].</p>
|
||||
<ul>
|
||||
<li>[bookmarklet index] must have two/three digits. The first two digits are used as index of bootmarklet. For example, "00" as the first local bookmarklet; "01" as the first remote script; then "02" as the second local bookmarklet, ... The third digit is uplevel, 1 to make bookmarklet valid for parent path of [url].</li>
|
||||
<li>[-|1-9] is optional single character. '-' to limit bookmarklet work only for urls with same path (could be different query strings). The digit is uplevel, 1 to make bookmarklet valid for parent path of [url].</li>
|
||||
<li>[bookmarklet index] must have two digits. They are used as index of bootmarklet. For example, "00" as the first local bookmarklet; "01" as the first remote script; then "02" as the second local bookmarklet, ...</li>
|
||||
<li>c[cssFlag]: For example, "c12" will apply the third and fourth global CSS (12=2^2+2^3).</li>
|
||||
<li>H[headers]: Ex. "HX-Forwarded-For;8.8.8.8" adds extra http request header "X-Forwarded-For:8.8.8.8".</li>
|
||||
<li>[?postfix]: the real visited url is "[url]+[?postfix]".</li>
|
||||
|
@ -310,8 +311,8 @@ Bundle of internal urls, if it is an "i:0" url, then it should have th
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 19 April 2024<br>
|
||||
add i:5hencoding: support<br>
|
||||
<p>Last Modified: 29 April 2024<br>
|
||||
update i:0m syntax<br>
|
||||
<pre>i:56 urls support CTRL_A to CTRL-Z
|
||||
</pre>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue