mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
update mirrors
This commit is contained in:
parent
75cb8c0c1e
commit
ed565d9960
61 changed files with 286 additions and 233 deletions
|
@ -61,18 +61,18 @@
|
|||
<p><a href="i:0gdefault.link::up2Box: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.box.com/dav/'+f;}%0A">upload to box.com</a></p>
|
||||
<p><a href="../searchurl/webdav.html">More webdav link menu items</a></p>
|
||||
<p><a href="i:0gdefault.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p>
|
||||
<p>Long pressing the bookmark button in <a href="../../en/">uweb browser</a> will popup menus defined in file "default.link". The file format is as follows:<br>
|
||||
<p>Long pressing the bookmark button in <a href="../index.html#">uweb browser</a> will popup menus defined in file "default.link". The file format is as follows:<br>
|
||||
[Menu name]:[one or more links delimited by " \n "]</p>
|
||||
<p>and each link has the following format:<br>
|
||||
[url][space][javascript code]</p>
|
||||
<p>in which space and later parts are optional. url and later parts support <a href="../cmd/index.html">"%u","%s" etc.</a>. The javascript code will be executed after url is fully loaded.</p>
|
||||
<p>in which space and later parts are optional. url and later parts support <a href="../cmd/index.html#">"%u","%s" etc.</a>. The javascript code will be executed after url is fully loaded.</p>
|
||||
<p>url supports all standard scheme (http(s):,javascript: etc.) and uweb internal schemes ( ':' as second character in the url ) and special links that begins with ':'.</p>
|
||||
<p>uweb browser will handle local file urls (file:///) specially for some file types:</p>
|
||||
<ul>
|
||||
<li>.js file(same as <a href="../longclick/index.html">long pressing hypertext to execute js file</a>): If the ".js" file begins with "//", then uweb browser will load the site following "//" and execute the following js code.</li>
|
||||
<li>.js file(same as <a href="../longclick/index.html#">long pressing hypertext to execute js file</a>): If the ".js" file begins with "//", then uweb browser will load the site following "//" and execute the following js code.</li>
|
||||
</ul>
|
||||
<p>If the above mentioned [links] part is malformated, then it is auto detected as html or text.</p>
|
||||
<p><a href="../gesture/index.html">default.gesture</a> and default.button have the exactly same file format. ".gesture" files define gestures while ".button" define bottom toolbar button pressing actions from the last button to the first.</p>
|
||||
<p><a href="../gesture/index.html#">default.gesture</a> and default.button have the exactly same file format. ".gesture" files define gestures while ".button" define bottom toolbar button pressing actions from the last button to the first.</p>
|
||||
<p>proxy config:<br>
|
||||
httpproxy::010[proxy host]:[port]<br>
|
||||
socks5::011[socks host]:[port]<br>
|
||||
|
@ -145,7 +145,7 @@ Visiting url and execute the uweb browser internal bookmarklet that keeps valid
|
|||
<li>[?postfix]: the real visited url is "[url]+[?postfix]".</li>
|
||||
<li>[/.../localfile]: load the local html/js file that processes [url]. The first character of the local html file must be "<".</li>
|
||||
<li>All other cases will be treated as [prefix], the real visited url is "[prefix]+[url]".</li>
|
||||
<li>Since <a href="../rjs/index.html">activated scripts</a> use internal mechanism of "i:0m" urls, the script itself cannot have 'H', '?' as its very first character.</li>
|
||||
<li>Since <a href="../rjs/index.html#">activated scripts</a> use internal mechanism of "i:0m" urls, the script itself cannot have 'H', '?' as its very first character.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue