'am broadcast' to execute internal links

This commit is contained in:
James Feng Cao 2023-10-28 20:37:53 +08:00
parent e42712c71a
commit 63eee8ebb5
8 changed files with 51 additions and 46 deletions

View file

@ -6,7 +6,30 @@
<description>Recent content in _posts on uweb browser: unlimited power</description> <description>Recent content in _posts on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<language>en</language> <language>en</language>
<lastBuildDate>Wed, 25 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" /> <lastBuildDate>Sat, 28 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Links</title>
<link>/en/links/</link>
<pubDate>Sat, 28 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
Capture long screenshot (need long screenshot mode)
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
Extend site cookies to 10 years
Clear site cookies
VPN
Switch configuration
Wait for network msg
Certificate info
Backup to box.com
Restore from box.com
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.</description>
</item>
<item> <item>
<title>cron</title> <title>cron</title>
<link>/en/tcron/</link> <link>/en/tcron/</link>
@ -43,29 +66,6 @@ Global redirection Global redirection is enabled with the setting option &amp;qu
When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description> When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item> </item>
<item>
<title>Links</title>
<link>/en/links/</link>
<pubDate>Tue, 21 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
Capture long screenshot (need long screenshot mode)
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
Extend site cookies to 10 years
Clear site cookies
VPN
Switch configuration
Wait for network msg
Certificate info
Backup to box.com
Restore from box.com
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.</description>
</item>
<item> <item>
<title>Hosts files</title> <title>Hosts files</title>
<link>/en/adblock_domain/</link> <link>/en/adblock_domain/</link>

View file

@ -107,9 +107,12 @@ Clipboard2QR needs libqrencode.</p>
<li>&quot;termux/*&quot;: command line is executed under termux.</li> <li>&quot;termux/*&quot;: command line is executed under termux.</li>
<li>&quot;/uweb&quot;: the command output is processed as <a href="../links/index.html">links</a>.</li> <li>&quot;/uweb&quot;: the command output is processed as <a href="../links/index.html">links</a>.</li>
</ul> </ul>
<h4 id="execute-linkslinksindexhtml-in-uweb-browser">Execute <a href="../links/index.html">links</a> in uweb browser</h4>
<p>The following command line executes the link &quot;[link]&quot; in already launched uweb browser:<br>
$ am broadcast -n info.torapp.uweb/.AlarmReceiver -e uweb.line [link]</p>
</div> </div>
<p>Last Modified: 12 May 2023<br> <p>Last Modified: 28 October 2023<br>
fix en/cmds<br> fix en/cmds<br>
<pre></pre> <pre></pre>
</p> </p>

View file

@ -10,4 +10,6 @@
[powerfolder](https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/) [powerfolder](https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/)
[mcbebbs](http://pan.mcbebbs.cn/s/dJ4t8)
[pagure](https://releases.pagure.org/uweb/) [pagure](https://releases.pagure.org/uweb/)

View file

@ -311,7 +311,7 @@ Bundle of internal urls, if it is an &quot;i:0&quot; url, then it should have th
</ul> </ul>
</div> </div>
<p>Last Modified: 17 June 2023<br> <p>Last Modified: 28 October 2023<br>
finalize latest.html<br> finalize latest.html<br>
<pre>i:56 urls support CTRL_A to CTRL-Z <pre>i:56 urls support CTRL_A to CTRL-Z
</pre> </pre>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/en/_posts/</loc> <loc>/en/_posts/</loc>
<lastmod>2023-10-26T18:58:49+08:00</lastmod> <lastmod>2023-10-28T19:17:27+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -14,6 +14,19 @@
hreflang="en" hreflang="en"
href="/en/_posts/" href="/en/_posts/"
/> />
</url><url>
<loc>/en/links/</loc>
<lastmod>2023-10-28T18:58:37+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/links/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/links/"
/>
</url><url> </url><url>
<loc>/en/tcron/</loc> <loc>/en/tcron/</loc>
<lastmod>2023-10-26T18:58:49+08:00</lastmod> <lastmod>2023-10-26T18:58:49+08:00</lastmod>
@ -69,19 +82,6 @@
hreflang="en" hreflang="en"
href="/en/tags/" href="/en/tags/"
/> />
</url><url>
<loc>/en/links/</loc>
<lastmod>2023-06-17T15:51:12+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/links/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/links/"
/>
</url><url> </url><url>
<loc>/en/tags/adblock/</loc> <loc>/en/tags/adblock/</loc>
<lastmod>2023-05-13T17:17:39+08:00</lastmod> <lastmod>2023-05-13T17:17:39+08:00</lastmod>
@ -113,7 +113,7 @@
/> />
</url><url> </url><url>
<loc>/en/topposts/</loc> <loc>/en/topposts/</loc>
<lastmod>2023-10-26T07:34:42+08:00</lastmod> <lastmod>2023-10-28T19:18:26+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -278,7 +278,7 @@
/> />
</url><url> </url><url>
<loc>/en/cmds/</loc> <loc>/en/cmds/</loc>
<lastmod>2023-05-12T14:04:24+08:00</lastmod> <lastmod>2023-10-28T19:18:26+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -414,7 +414,7 @@
/> />
</url><url> </url><url>
<loc>/en/termux/</loc> <loc>/en/termux/</loc>
<lastmod>2023-08-20T15:44:51+08:00</lastmod> <lastmod>2023-10-28T19:17:27+08:00</lastmod>
</url><url> </url><url>
<loc>/en/longclick/</loc> <loc>/en/longclick/</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod> <lastmod>2022-09-24T14:05:13+08:00</lastmod>

View file

@ -75,7 +75,7 @@
With <a href="https://github.com/rupa/z">z.sh</a> and <a href="https://github.com/shyiko/commacd">commacd</a>, user can reach any folder with few key stokes. Run &quot;v&quot; to launch uweb file manager on the current working directory, long click any file link to share.</p> With <a href="https://github.com/rupa/z">z.sh</a> and <a href="https://github.com/shyiko/commacd">commacd</a>, user can reach any folder with few key stokes. Run &quot;v&quot; to launch uweb file manager on the current working directory, long click any file link to share.</p>
</div> </div>
<p>Last Modified: 20 August 2023<br> <p>Last Modified: 28 October 2023<br>
update latest.html<br> update latest.html<br>
<pre></pre> <pre></pre>
</p> </p>

View file

@ -1,6 +1,6 @@
<script> <script>
let verCode = %1%; let verCode = %1%;
let latestV = 1015; let latestV = 1018;
if( verCode>=latestV) alert("No updates available!"); if( verCode>=latestV) alert("No updates available!");
else else
location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+ location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+

View file

@ -4,7 +4,7 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <loc>en/sitemap.xml</loc>
<lastmod>2023-10-26T18:58:49+08:00</lastmod> <lastmod>2023-10-28T19:18:26+08:00</lastmod>
</sitemap> </sitemap>