multiple links support for single menu/(new)button/gesture definition

This commit is contained in:
James Feng Cao 2023-02-03 17:06:25 +08:00
parent 8d64d0ede0
commit 0d1241bec5
11 changed files with 21 additions and 18 deletions

View file

@ -119,8 +119,7 @@ upload to box.com
More webdav link menu items
Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows:
[Menu name]:[url][space][javascript code]
in which space and later parts are optional.</description>
[Menu name]:[one or more links delimited by &amp;quot; \n &amp;quot;]</description>
</item>
<item>

View file

@ -51,7 +51,8 @@
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs">Change logs</h4>
<p>964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
<p>968: multiple links support for single MENU/(New)Button/GESTURE definition.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
961: webdav/http file upload support with <a href="../links/index.html">&quot;i:0u&quot; links</a>.<br>
956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login.<br>
955: Address bar: <a href="../acmd/index.html">&quot;:!&quot; or &quot;!&quot;</a> for command line support (.js/.sh files as executables).<br>

View file

@ -94,11 +94,11 @@ github
sourceforge
powerfolder
pagure
Main features Change logs 964: site source html preprocessing before rendering with user site extra html.
Main features Change logs 968: multiple links support for single MENU/(New)Button/GESTURE definition.
964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login.
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables).
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.</description>
</item>
<item>
@ -184,8 +184,7 @@ upload to box.com
More webdav link menu items
Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.link&amp;quot;. The file format is as follows:
[Menu name]:[url][space][javascript code]
in which space and later parts are optional.</description>
[Menu name]:[one or more links delimited by &amp;quot; \n &amp;quot;]</description>
</item>
<item>

View file

@ -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 &quot;default.link&quot;. The file format is as follows:<br>
[Menu name]:[url][space][javascript code]</p>
[Menu name]:[one or more links delimited by &quot; \n &quot;]</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">&quot;%u&quot;,&quot;%s&quot; 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>

View file

@ -61,7 +61,8 @@
<li>Fast: run fast, even with thousands of user provided css/scripts/htmls.</li>
<li>Efficient: less touches, one click to reach any number of search engines without repeated input; automate online services.</li>
<li>URL bar command line support (&quot;!&quot; and .js file as command).</li>
<li>user-defined site-specific JS/CSS/HTML/preprocessing.</li>
<li>Site-specific JS/CSS/HTML/preprocessing.</li>
<li>Online play/preview/preprocess for downloadable resources.</li>
</ul>
<h4 id="main-features">Main features</h4>
<p>Custom paper size PDF export and long vector screenshot, TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup &amp; restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).</p>

View file

@ -18,11 +18,11 @@ github
sourceforge
powerfolder
pagure
Main features Change logs 964: site source html preprocessing before rendering with user site extra html.
Main features Change logs 968: multiple links support for single MENU/(New)Button/GESTURE definition.
964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login.
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables).
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.</description>
</item>
<item>