mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
multiple links support for single menu/(new)button/gesture definition
This commit is contained in:
parent
8d64d0ede0
commit
0d1241bec5
11 changed files with 21 additions and 18 deletions
|
@ -57,7 +57,9 @@
|
|||
<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="../index.html">uweb browser</a> will popup menus defined in file "default.link". The file format is as follows:<br>
|
||||
[Menu name]:[url][space][javascript code]</p>
|
||||
[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>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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue