support specific submenus for images and downloading

This commit is contained in:
James Feng Cao 2025-03-01 16:01:29 +08:00
commit 91ba2ed8ea
24 changed files with 209 additions and 199 deletions

File diff suppressed because one or more lines are too long

View file

@ -66,7 +66,8 @@
<p><a href="https://pan.lanzouu.com/b0qpxnob">蓝奏</a></p>
<h4 id="main-features"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs"><a id="log">Change logs<a></h4>
<p>1075: global redirection works for login and AI sites like devv.ai and duck.ai.<br>
<p>1103: support command submenus specific for images or downloads (image.link &amp; download.link).<br>
1075: global redirection works for login and AI sites like devv.ai and duck.ai.<br>
1073: support http/https/socks proxies with username and password<br>
1036: TV mode: reuse &quot;engine.search&quot; as live TV channel urls.<br>
1034: click share button on homescreen to process clipboard text.<br>
@ -87,8 +88,8 @@
<p>940: <a href="../url2site/index.html">Any urls as website</a> with local html processing (<a href="../links/index.html">&quot;i:0m/..../xxx.html:url&quot;</a>)</p>
</div>
<p>Last Modified: 27 February 2025<br>
fix galaxy store url<br>
<p>Last Modified: 1 March 2025<br>
download.link and image.link support<br>
<pre></pre>
</p>

View file

@ -68,9 +68,11 @@
&quot;<a href="file:///data/data/info.torapp.uweb/files/hosts">hosts</a>&quot;: for local <a href="../adblock_domain/index.html#">domain name attributes</a>, only single space is allowed to separate ip address and domain name.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.hosts">default.hosts</a>&quot;:<a href="../adblock_hosts/index.html#">hosts not allowed to visit</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.redirect">default.redirect</a>&quot;:<a href="../redirect/index.html#">redirect websites</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../cmds/index.html#">commands</a><br>
&quot;<a href="i:5gfile:///data/data/info.torapp.uweb/files/default.link">default.link</a>:<a href="../links/index.html#">links</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>&quot;:<a href="../rjs/index.html#">Remote javascript</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../cmds/index.html#">commands</a></p>
<p>&quot;<a href="i:5gfile:///data/data/info.torapp.uweb/files/default.link">default.link</a>:<a href="../links/index.html#">links</a><br>
&quot;<a href="i:5gfile:///data/data/info.torapp.uweb/files/download.link">download.link</a>:Also <a href="../links/index.html#">links</a> file, but default to be &quot;command&quot; submenu for downloading menu.<br>
&quot;<a href="i:5gfile:///data/data/info.torapp.uweb/files/image.link">image.link</a>:Also <a href="../links/index.html#">links</a> file, but default to be &quot;command&quot; submenu for images for long press links.</p>
<p>&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>&quot;:<a href="../rjs/index.html#">Remote javascript</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>&quot;:<a href="../textprocess/index.html#">menus for selected text</a><br>
&quot;<a href="i:5gfile:///data/data/info.torapp.uweb/files/default.input">default.input</a>: <a href="../input/index.html#">common phrases for user inputs</a>. If the phrase begins with &quot;@xxxx@&quot;, then &quot;xxxx&quot; part is the alias for the rest part of the string. Alias could be used for non-printable phrase.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.gesture">default.gesture</a>&quot;: to define <a href="../gesture/index.html#">gestures on the top part of the content window</a>. The file format is same as <a href="../links/index.html">default.link</a><br>
@ -106,8 +108,8 @@
<p>&quot;<a href="file:///data/data/info.torapp.uweb/files/shortcut/">shortcut/</a>&quot;: dynamical shortcut, if not exist, then default to &quot;bookmark&quot;.</p>
</div>
<p>Last Modified: 13 February 2025<br>
update AI engines<br>
<p>Last Modified: 1 March 2025<br>
download.link and image.link support<br>
<pre></pre>
</p>

View file

@ -97,6 +97,12 @@
</li>
<li class="post">
<a href="longclick/index.html#">
<span>popup menu for Long pressed link and downloading</span>
</a>
</li>
<li class="post">
<a href="html5/index.html#">
<span>Html5 applications</span>
@ -223,12 +229,6 @@
</a>
</li>
<li class="post">
<a href="longclick/index.html#">
<span>Long pressed link menu</span>
</a>
</li>
<li class="post">
<a href="tools/index.html#">
<span>Tools</span>

File diff suppressed because one or more lines are too long

View file

@ -6,7 +6,7 @@
<link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/en/longclick/" />
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Long pressed link menu</title>
<title>popup menu for Long pressed link and downloading</title>
<script>
function findLang(){
let href = location.href;
@ -41,7 +41,7 @@
<br />
<div class="container">
<h1 class="title">Long pressed link menu
<h1 class="title">popup menu for Long pressed link and downloading
<br>
<span class="subtitle"></span>
</h1>
@ -50,7 +50,13 @@
<li><a href="../tags/javascript/index.html#">javascript</a> </li>
</ul>
<h4 id="to-run-commands">To run commands</h4>
<h4 id="the-command-submenus">The &quot;command&quot; submenus</h4>
<ul>
<li>File &quot;<a href="../links/index.html#">image.link</a>&quot;: defines submenus for images.</li>
<li>File &quot;<a href="../links/index.html#">download.link</a>&quot;: &quot;command&quot; submenus for downloading.</li>
</ul>
<p>The &quot;command&quot; submenus can be toggled with <a href="i:61:../searchurl/func.html">UI options</a>. The &quot;command&quot; submenus are default ( service urls or image.link or download.link), links, commands or service urls (default.urls when both link and command options are ticked).</p>
<h4 id="to-run-commands">To run commands</h4>
<p>Each line of file &quot;<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>&quot; has the following format: (same as <a href="../cmds/index.html#">default.cmds</a>)<br>
[Name]:[mimetype]:[command line]<br>
in which [command line] can have <a href="../cmds/index.html#">&quot;%c&quot; (cookie), &quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc.</p>
@ -63,8 +69,8 @@ These javascript files are in the following format:</p>
</ul>
</div>
<p>Last Modified: 2 April 2024<br>
add js function in README<br>
<p>Last Modified: 1 March 2025<br>
download.link and image.link support<br>
<pre></pre>
</p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/_posts/</loc>
<lastmod>2025-02-26T22:54:05+08:00</lastmod>
<lastmod>2025-03-01T15:52:10+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -14,6 +14,58 @@
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/_posts/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/</loc>
<lastmod>2025-03-01T15:52:10+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/longclick/</loc>
<lastmod>2025-03-01T15:52:10+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/longclick/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/longclick/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/tags/</loc>
<lastmod>2025-03-01T15:52:10+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/</loc>
<lastmod>2025-03-01T15:52:10+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/html5/</loc>
<lastmod>2025-02-26T19:58:33+08:00</lastmod>
@ -27,19 +79,6 @@
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/html5/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/</loc>
<lastmod>2025-02-27T19:06:15+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/input/</loc>
<lastmod>2024-12-14T11:29:52+08:00</lastmod>
@ -58,7 +97,7 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/topposts/</loc>
<lastmod>2025-02-27T19:05:40+08:00</lastmod>
<lastmod>2025-03-01T11:26:45+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -104,19 +143,6 @@
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/ssh/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/tags/</loc>
<lastmod>2024-12-28T19:28:17+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/tags/termux/</loc>
<lastmod>2024-05-24T09:50:14+08:00</lastmod>
@ -240,19 +266,6 @@
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/css/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/</loc>
<lastmod>2024-06-11T08:12:27+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/sitejs/</loc>
<lastmod>2024-04-02T11:45:19+08:00</lastmod>
@ -300,7 +313,7 @@
<lastmod>2024-04-07T19:01:03+08:00</lastmod>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/changelog/</loc>
<lastmod>2025-02-27T19:05:40+08:00</lastmod>
<lastmod>2025-03-01T11:26:45+08:00</lastmod>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/sitemap/</loc>
<lastmod>2024-04-07T08:34:20+08:00</lastmod>
@ -316,7 +329,7 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/filenames/</loc>
<lastmod>2025-02-13T09:10:58+08:00</lastmod>
<lastmod>2025-03-01T11:19:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -437,19 +450,6 @@
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/useragents/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/longclick/</loc>
<lastmod>2024-04-02T11:45:19+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/longclick/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/longclick/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/en/tags/tdict/</loc>
<lastmod>2024-04-02T11:45:19+08:00</lastmod>

View file

@ -6,8 +6,15 @@
<description>Recent content in Tags on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Sat, 28 Dec 2024 19:28:17 +0800</lastBuildDate>
<lastBuildDate>Sat, 01 Mar 2025 15:52:10 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/en/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Javascript</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/</link>
<pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/</guid>
<description></description>
</item>
<item>
<title>Clipboard</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/tags/clipboard/</link>
@ -57,13 +64,6 @@
<guid>https://jamesfengcao.gitlab.io/uweb/en/tags/css/</guid>
<description></description>
</item>
<item>
<title>Javascript</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/</guid>
<description></description>
</item>
<item>
<title>Search Engine</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/tags/search-engine/</link>

View file

@ -45,6 +45,12 @@
<h1 class="title">Javascript</h1>
<ul class="posts">
<li class="post">
<a href="../../longclick/index.html#">
<span>popup menu for Long pressed link and downloading</span>
</a>
</li>
<li class="post">
<a href="../../sitejs/index.html#">
<span>JS/CSS/HTML/preprocessing for domains</span>
@ -57,12 +63,6 @@
</a>
</li>
<li class="post">
<a href="../../longclick/index.html#">
<span>Long pressed link menu</span>
</a>
</li>
</ul>
<ul>
</div>

View file

@ -6,8 +6,15 @@
<description>Recent content in Javascript on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Tue, 11 Jun 2024 08:12:27 +0800</lastBuildDate>
<lastBuildDate>Sat, 01 Mar 2025 15:52:10 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>popup menu for Long pressed link and downloading</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/longclick/</link>
<pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/longclick/</guid>
<description>&lt;h4 id=&#34;the-command-submenus&#34;&gt;The &amp;quot;command&amp;quot; submenus&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;File &amp;quot;&lt;a href=&#34;../links/index.html#&#34;&gt;image.link&lt;/a&gt;&amp;quot;: defines submenus for images.&lt;/li&gt;&#xA;&lt;li&gt;File &amp;quot;&lt;a href=&#34;../links/index.html#&#34;&gt;download.link&lt;/a&gt;&amp;quot;: &amp;quot;command&amp;quot; submenus for downloading.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The &amp;quot;command&amp;quot; submenus can be toggled with &lt;a href=&#34;i:61:../searchurl/func.html&#34;&gt;UI options&lt;/a&gt;. The &amp;quot;command&amp;quot; submenus are default ( service urls or image.link or download.link), links, commands or service urls (default.urls when both link and command options are ticked).&lt;/p&gt;&#xA;&lt;h4 id=&#34;to-run-commands&#34;&gt;To run commands&lt;/h4&gt;&#xA;&lt;p&gt;Each line of file &amp;quot;&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/default.longclick&#34;&gt;default.longclick&lt;/a&gt;&amp;quot; has the following format: (same as &lt;a href=&#34;../cmds/index.html#&#34;&gt;default.cmds&lt;/a&gt;)&lt;br&gt;&#xA;[Name]:[mimetype]:[command line]&lt;br&gt;&#xA;in which [command line] can have &lt;a href=&#34;../cmds/index.html#&#34;&gt;&amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title)&lt;/a&gt; etc.&lt;/p&gt;</description>
</item>
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/sitejs/</link>
@ -22,12 +29,5 @@
<guid>https://jamesfengcao.gitlab.io/uweb/en/bookmarklet/</guid>
<description>&lt;p&gt;With &lt;a href=&#34;../index.html#&#34;&gt;uweb browser&lt;/a&gt;, long pressing any bookmarklet link, click &amp;quot;Open in new tab&amp;quot;, the bookmarklet will be run on the last other tab.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:{let es=document.getElementsByTagName(&#39;script&#39;);let urls=&#39;&#39;;for(let i=0;i&lt;es.length;i++){if(es[i].src)urls+=es[i].src+&#39;&lt;br&gt;&#39;;}let w=window.open(&#39;&#39;),s=w.document;s.write(urls);s.close();w.location.href=&#39;i:631:&#39;;}&#34;&gt;List all script urls&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a target=&#34;_self&#34; href=&#34;javascript:alert(navigator.userAgent)&#34;&gt;User agent&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var w=window.open(&#39;&#39;),s=w.document;s.write(&#39;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&#39;);s.close();var pre=s.body.appendChild(s.createElement(&#39;pre&#39;));pre.style.overflow=&#39;auto&#39;;pre.style.whiteSpace=&#39;pre-wrap&#39;;pre.appendChild(s.createTextNode(document.cookie))})()&#34;&gt;Cookie&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var w=window.open(&#39;&#39;),s=w.document;s.write(&#39;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&#39;);s.close();var pre=s.body.appendChild(s.createElement(&#39;pre&#39;));pre.style.overflow=&#39;auto&#39;;pre.style.whiteSpace=&#39;pre-wrap&#39;;pre.appendChild(s.createTextNode(document.documentElement.innerHTML))})()&#34;&gt;Source code&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm&gt;maxd)maxd=lm;for(var%20i=0;F=w.frames[i];i++){gett(F);}}catch(e){}}var%20now=new%20Date();var%20maxd=new%20Date(document.lastModified);gett(window);if(maxd.getTime()==0||now.toUTCString()==maxd.toUTCString()){alert(&#39;Page%20is%20dynamically%20generated,%20cannot%20determine%20date.&#39;);}else{alert(&#39;Page%20was%20last%20modified%20&#39;+maxd.toLocaleString());}&#34; class=&#34;bookmarklet&#34; rel=&#34;nofollow&#34;&gt;Last modified date&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:(function(){var script=document.createElement(&#39;script&#39;);script.src=&#39;//fastly.jsdelivr.net/npm/eruda&#39;;document.body.appendChild(script);script.onload=function(){eruda.init()}})()&#34;&gt;Eruda: mobile console&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:window.open(&#39;https://api.qrserver.com/v1/create-qr-code/?size=150x150&amp;data=&#39;%20+%20decodeURIComponent(location.href));void(0);&#34;&gt;QR code generation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:(function(){var x,i; x = document.forms; for (i = 0; i &amp;lt; x.length; ++i) x[i].method=&amp;quot;get&amp;quot;; alert(&amp;quot;Changed &amp;quot; + x.length + &amp;quot; forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.&amp;quot;); })();&#34;&gt;Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var i,f,j,e,div,label,ne; for(i=0;f=document.forms[i];++i)for(j=0;e=f[j];++j)if(e.type==&amp;quot;hidden&amp;quot;){ D=document; function C(t){return D.createElement(t);} function A(a,b){a.appendChild(b);} div=C(&amp;quot;div&amp;quot;); label=C(&amp;quot;label&amp;quot;); A(div, label); A(label, D.createTextNode(e.name + &amp;quot;: &amp;quot;)); e.parentNode.insertBefore(div, e); e.parentNode.removeChild(e); ne=C(&amp;quot;input&amp;quot;);/*for ie*/ ne.type=&amp;quot;text&amp;quot;; ne.value=e.value; A(label, ne); --j;}})()&#34;&gt;Shows all form elements&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var x,k,f,j;x=document.forms;for (k=0;k&amp;lt;x.length;++k){f=x[k];for(j=0;j&amp;lt;f.length;++j){f[j].disabled=false; f[j].readOnly=false;}}})()&#34;&gt;Enables all form elements&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>https://jamesfengcao.gitlab.io/uweb/en/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/longclick/</guid>
<description>&lt;h4 id=&#34;to-run-commands&#34;&gt;To run commands&lt;/h4&gt;&#xA;&lt;p&gt;Each line of file &amp;quot;&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/default.longclick&#34;&gt;default.longclick&lt;/a&gt;&amp;quot; has the following format: (same as &lt;a href=&#34;../cmds/index.html#&#34;&gt;default.cmds&lt;/a&gt;)&lt;br&gt;&#xA;[Name]:[mimetype]:[command line]&lt;br&gt;&#xA;in which [command line] can have &lt;a href=&#34;../cmds/index.html#&#34;&gt;&amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title)&lt;/a&gt; etc.&lt;/p&gt;&#xA;&lt;h4 id=&#34;to-visit-url-and-load-javascript-file&#34;&gt;To visit url and load javascript file&lt;/h4&gt;&#xA;&lt;p&gt;All &amp;quot;.js&amp;quot; files under the folder &amp;quot;&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/longclick/&#34;&gt;longclick&lt;/a&gt;&amp;quot; are part of the popup menu.&lt;br&gt;&#xA;These javascript files are in the following format:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &lt;a href=&#34;../cmds/index.html#&#34;&gt;&amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title)&lt;/a&gt; etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.&lt;/li&gt;&#xA;&lt;li&gt;In the &amp;quot;.js&amp;quot; file, variable &amp;quot;arguments&amp;quot; can be used to get parameters. in which arguments[1] is the long-pressed link url, argument[2] is the text description and arguments[0] is the &amp;quot;.js&amp;quot; file name.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
</channel>
</rss>

View file

@ -6,7 +6,7 @@
<description>Recent content in Topposts on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Thu, 27 Feb 2025 19:05:40 +0800</lastBuildDate>
<lastBuildDate>Sat, 01 Mar 2025 11:26:45 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/en/topposts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Search engine query URLs</title>
@ -20,7 +20,7 @@
<link>https://jamesfengcao.gitlab.io/uweb/en/changelog/</link>
<pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/en/changelog/</guid>
<description>&lt;p&gt;&lt;a href=&#34;https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5&#34;&gt;Amazon appstore&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://galaxystore.samsung.com/detail/info.torapp.uweb&#34;&gt;Galaxy.Store&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/torappinfo/uweb/releases/tag/v1&#34;&gt;github&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://sourceforge.net/projects/uwebbrowser/files/v1/&#34;&gt;sourceforge&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://uweb-browser-for-geeks.en.uptodown.com/android&#34; title=&#34;uweb&#34;&gt;&lt;img src=&#34;https://stc.utdstc.com/img/mediakit/download-gio-big.png&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/&#34;&gt;powerfolder&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://codeberg.org/jamesfengcao/pages/releases&#34;&gt;codeberg&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://uno.teracloud.jp/share/1162dfa8376e1609&#34;&gt;infinicloud&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitee.com/jamesfengcao/uweb/releases&#34;&gt;gitee&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitea.com/torappinfo/uweb/releases&#34;&gt;gitea&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitdab.com/jamesfengcao/uweb/releases&#34;&gt;gitdab&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitnet.fr/jamesfengcao/uweb/releases&#34;&gt;gitnet&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://tildegit.org/jamesfengcao/uweb/releases&#34;&gt;tildegit&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://git.froggi.es/jamesfengcao/uweb/releases&#34;&gt;froggi&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/&#34;&gt;bitbucket&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://notabug.org/torappinfo/uweb/releases&#34;&gt;NotABug&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://releases.pagure.org/uwebapk/&#34;&gt;pagure&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://novasync.cn/s/vZJFz&#34;&gt;novasync&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb&#34;&gt;baidu&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://pan.lanzouu.com/b0qpxnob&#34;&gt;蓝奏&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;main-features&#34;&gt;&lt;a href=&#34;../readme/index.html&#34;&gt;Main features&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;h4 id=&#34;change-logs&#34;&gt;&lt;a id=&#34;log&#34;&gt;Change logs&lt;a&gt;&lt;/h4&gt;&#xA;&lt;p&gt;1075: global redirection works for login and AI sites like devv.ai and duck.ai.&lt;br&gt;&#xA;1073: support http/https/socks proxies with username and password&lt;br&gt;&#xA;1036: TV mode: reuse &amp;quot;engine.search&amp;quot; as live TV channel urls.&lt;br&gt;&#xA;1034: click share button on homescreen to process clipboard text.&lt;br&gt;&#xA;1030: Allow downloading with global redirection&lt;br&gt;&#xA;1017: crontab alarm clock and &lt;a href=&#34;../links/index.html&#34;&gt;links&lt;/a&gt; as sixth field.&lt;br&gt;&#xA;998: &lt;a href=&#34;../rjs/index.html&#34;&gt;Bookmarklets&lt;/a&gt; to support CSP sites.&lt;br&gt;&#xA;991: &lt;a href=&#34;../redirect/index.html&#34;&gt;global url redirection&lt;/a&gt; support.&lt;br&gt;&#xA;988: &lt;a href=&#34;../adblock_domain/index.html&#34;&gt;hosts&lt;/a&gt; file to support response headers.&lt;br&gt;&#xA;983: support &lt;a href=&#34;../adblock_domain/index.html&#34;&gt;&amp;quot;hosts&amp;quot;&lt;/a&gt; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.&lt;br&gt;&#xA;975: &lt;a href=&#34;../bookmark/index.html&#34;&gt;Bookmarks&lt;/a&gt; to support styling for markdown etc.&lt;br&gt;&#xA;971: &lt;a href=&#34;../links/index.html&#34;&gt;multiple type profiles&lt;/a&gt;: switch any data including website logins, user configurations orthogonally.&lt;br&gt;&#xA;964: site source html preprocessing before rendering with user &lt;a href=&#34;../sitejs/index.html&#34;&gt;site extra html&lt;/a&gt;.&lt;br&gt;&#xA;955: Address bar: &lt;a href=&#34;../acmd/index.html&#34;&gt;&amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot;&lt;/a&gt; for command line support (.js/.sh files as executables).&lt;br&gt;&#xA;949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size&lt;br&gt;&#xA;946: Option &amp;quot;use offline cache&amp;quot; to support serverless local websites.&lt;/p&gt;</description>
<description>&lt;p&gt;&lt;a href=&#34;https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5&#34;&gt;Amazon appstore&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://galaxystore.samsung.com/detail/info.torapp.uweb&#34;&gt;Galaxy.Store&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/torappinfo/uweb/releases/tag/v1&#34;&gt;github&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://sourceforge.net/projects/uwebbrowser/files/v1/&#34;&gt;sourceforge&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://uweb-browser-for-geeks.en.uptodown.com/android&#34; title=&#34;uweb&#34;&gt;&lt;img src=&#34;https://stc.utdstc.com/img/mediakit/download-gio-big.png&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/&#34;&gt;powerfolder&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://codeberg.org/jamesfengcao/pages/releases&#34;&gt;codeberg&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://uno.teracloud.jp/share/1162dfa8376e1609&#34;&gt;infinicloud&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitee.com/jamesfengcao/uweb/releases&#34;&gt;gitee&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitea.com/torappinfo/uweb/releases&#34;&gt;gitea&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitdab.com/jamesfengcao/uweb/releases&#34;&gt;gitdab&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gitnet.fr/jamesfengcao/uweb/releases&#34;&gt;gitnet&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://tildegit.org/jamesfengcao/uweb/releases&#34;&gt;tildegit&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://git.froggi.es/jamesfengcao/uweb/releases&#34;&gt;froggi&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/&#34;&gt;bitbucket&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://notabug.org/torappinfo/uweb/releases&#34;&gt;NotABug&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://releases.pagure.org/uwebapk/&#34;&gt;pagure&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://novasync.cn/s/vZJFz&#34;&gt;novasync&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb&#34;&gt;baidu&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://pan.lanzouu.com/b0qpxnob&#34;&gt;蓝奏&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;main-features&#34;&gt;&lt;a href=&#34;../readme/index.html&#34;&gt;Main features&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;h4 id=&#34;change-logs&#34;&gt;&lt;a id=&#34;log&#34;&gt;Change logs&lt;a&gt;&lt;/h4&gt;&#xA;&lt;p&gt;1103: support command submenus specific for images or downloads (image.link &amp;amp; download.link).&lt;br&gt;&#xA;1075: global redirection works for login and AI sites like devv.ai and duck.ai.&lt;br&gt;&#xA;1073: support http/https/socks proxies with username and password&lt;br&gt;&#xA;1036: TV mode: reuse &amp;quot;engine.search&amp;quot; as live TV channel urls.&lt;br&gt;&#xA;1034: click share button on homescreen to process clipboard text.&lt;br&gt;&#xA;1030: Allow downloading with global redirection&lt;br&gt;&#xA;1017: crontab alarm clock and &lt;a href=&#34;../links/index.html&#34;&gt;links&lt;/a&gt; as sixth field.&lt;br&gt;&#xA;998: &lt;a href=&#34;../rjs/index.html&#34;&gt;Bookmarklets&lt;/a&gt; to support CSP sites.&lt;br&gt;&#xA;991: &lt;a href=&#34;../redirect/index.html&#34;&gt;global url redirection&lt;/a&gt; support.&lt;br&gt;&#xA;988: &lt;a href=&#34;../adblock_domain/index.html&#34;&gt;hosts&lt;/a&gt; file to support response headers.&lt;br&gt;&#xA;983: support &lt;a href=&#34;../adblock_domain/index.html&#34;&gt;&amp;quot;hosts&amp;quot;&lt;/a&gt; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.&lt;br&gt;&#xA;975: &lt;a href=&#34;../bookmark/index.html&#34;&gt;Bookmarks&lt;/a&gt; to support styling for markdown etc.&lt;br&gt;&#xA;971: &lt;a href=&#34;../links/index.html&#34;&gt;multiple type profiles&lt;/a&gt;: switch any data including website logins, user configurations orthogonally.&lt;br&gt;&#xA;964: site source html preprocessing before rendering with user &lt;a href=&#34;../sitejs/index.html&#34;&gt;site extra html&lt;/a&gt;.&lt;br&gt;&#xA;955: Address bar: &lt;a href=&#34;../acmd/index.html&#34;&gt;&amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot;&lt;/a&gt; for command line support (.js/.sh files as executables).&lt;br&gt;&#xA;949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size&lt;br&gt;&#xA;946: Option &amp;quot;use offline cache&amp;quot; to support serverless local websites.&lt;/p&gt;</description>
</item>
<item>
<title>Configuration</title>

View file

@ -1,7 +1,7 @@
<script>var verCode = %1%;</script>
<script>
(function(){
let latestV = 1102;
let latestV = 1103;
let msg = "Already up to date!";
let url="https://master.dl.sourceforge.net/project/uwebbrowser/v1/uweb"+latestV+".apk?viasf=1";
do {

View file

@ -4,14 +4,14 @@
<sitemap>
<loc>https://jamesfengcao.gitlab.io/uweb/en/sitemap.xml</loc>
<lastmod>2025-02-27T19:06:15+08:00</lastmod>
<lastmod>2025-03-01T15:52:10+08:00</lastmod>
</sitemap>
<sitemap>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/sitemap.xml</loc>
<lastmod>2025-02-28T10:32:42+08:00</lastmod>
<lastmod>2025-03-01T15:37:38+08:00</lastmod>
</sitemap>

View file

@ -6,8 +6,15 @@
<description>Recent content in _Posts on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Thu, 27 Feb 2025 10:13:29 +0800</lastBuildDate>
<lastBuildDate>Sat, 01 Mar 2025 15:37:38 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/zh/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>长按链接弹出菜单及下载弹出菜单</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</link>
<pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</guid>
<description>&lt;h4 id=&#34;命令子菜单&#34;&gt;“命令”子菜单&lt;/h4&gt;&#xA;&lt;p&gt;文件&amp;quot;&lt;a href=&#34;../links/index.html#&#34;&gt;image.link&lt;/a&gt;&amp;quot;:图像的“命令”子菜单&lt;br&gt;&#xA;文件&amp;quot;&lt;a href=&#34;../links/index.html#&#34;&gt;download.link&lt;/a&gt;&amp;quot;:下载“命令”子菜单&lt;/p&gt;&#xA;&lt;p&gt;“命令”子菜单可通过&lt;a href=&#34;i:61:../searchurl/func.html&#34;&gt;界面设置&lt;/a&gt;切换为系统菜单分别可为默认常用服务或image.link或download.link,常用链接常用命令。如果同时勾选常用链接及常用命令则“命令”子菜单无视image.link及download.link, 一律弹出系统常用服务菜单。&lt;/p&gt;&#xA;&lt;h4 id=&#34;长按链接运行第三方程序&#34;&gt;长按链接运行第三方程序&lt;/h4&gt;&#xA;&lt;p&gt;配置文件&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/default.longclick&#34;&gt;default.longclick&lt;/a&gt;每行格式如下(同&lt;a href=&#34;../cmd&#34;&gt;default.cmds&lt;/a&gt;&lt;br&gt;&#xA;菜单名:mimetype:命令路径&lt;br&gt;&#xA;命令可以包含&lt;a href=&#34;../cmd&#34;&gt;%c&lt;/a&gt;当前网址cookie执行时会被相应内容自动替换。&lt;/p&gt;&#xA;&lt;h4 id=&#34;长按链接运行js文件&#34;&gt;长按链接运行js文件&lt;/h4&gt;&#xA;&lt;p&gt;长按链接弹出菜单显示&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/longclick/&#34;&gt;longclick&lt;/a&gt;目录下所有js文件供用户挑选执行。&lt;br&gt;&#xA;js文件格式如下&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&lt;a href=&#34;../cmd/index.html#&#34;&gt;&amp;quot;%u&amp;quot;等&lt;/a&gt;,打开网页时会用长按的链接替换。&lt;/li&gt;&#xA;&lt;li&gt;首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。&lt;/li&gt;&#xA;&lt;li&gt;第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
<item>
<title>电视直播</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/tvlive/</link>
@ -155,13 +162,6 @@
<guid>https://jamesfengcao.gitlab.io/uweb/zh/loadbt/</guid>
<description>&lt;ul&gt;&#xA;&lt;li&gt;seedr用户可使用&lt;a href=&#34;../links/index.html#&#34;&gt;常用链接&lt;/a&gt;利用seedr离线下载。使用时长按链接-&amp;gt;命令-&amp;gt;seedr离线...。&lt;/li&gt;&#xA;&lt;li&gt;Telegram用户可使用&lt;a href=&#34;../urls/index.html#&#34;&gt;特色服务&lt;/a&gt;利用tg bot离线下载至bot支持网盘。使用时长按链接-&amp;gt;命令-&amp;gt;tg...。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;百度网盘存储空间大,但其离线下载限制很多,可能由于某些重要节点被屏蔽的原因,下载国外资料基本都会失败。国外离线网盘空间小,但下载成功率很高。&lt;br&gt;&#xA;本文介绍一种技术,使用国外离线网盘下载资源,然后一键离线至百度网盘。&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;../index.html#&#34;&gt;超微浏览器&lt;/a&gt;上配置百度离线下载&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;安装&lt;a href=&#34;../searchurl/plugins.html&#34;&gt;uweb定制Termux应用&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;安装baidupcs-go&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;直接下载&lt;a href=&#34;https://github.com/felixonmars/BaiduPCS-Go/releases&#34;&gt;BaiduPCS-Go&lt;/a&gt;安卓手机请选择arm64版本。&lt;/li&gt;&#xA;&lt;li&gt;解压下载文件&lt;/li&gt;&#xA;&lt;li&gt;移动解压后文件至最终目的地。Termux运行以下命令:&lt;br&gt;&#xA;&lt;code&gt;mv BaiduPCS-Go /data/data/com.termux/files/usr/bin/.&lt;br&gt;&#xA;chmod 777 /data/data/com.termux/files/usr/bin/BaiduPCS-Go&lt;br&gt;&#xA;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;登录百度网盘, Termux执行如下命令&lt;br&gt;&#xA;BaiduPCS-Go login&lt;br&gt;&#xA;BaiduPCS-Go config set -appid=266719&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;default.longclick配置如下&lt;br&gt;&#xA;百度离线下载:termux/*:BaiduPCS-Go od add &amp;quot;%u&amp;quot;;exit 1&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;重启超微浏览器,此时长按链接将会出现菜单“百度离线下载”。&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;离线下载资源至国外网盘,下载完成后在超微浏览器内点击资源下载,弹出菜单选择“百度离线下载”,完成整个流程。&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;其它支持离线下载的网页也可&lt;a href=&#34;../longclick&#34;&gt;定义为一键离线&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
<item>
<title>长按链接弹出菜单</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</guid>
<description>&lt;h4 id=&#34;长按链接运行第三方程序&#34;&gt;长按链接运行第三方程序&lt;/h4&gt;&#xA;&lt;p&gt;配置文件&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/default.longclick&#34;&gt;default.longclick&lt;/a&gt;每行格式如下(同&lt;a href=&#34;../cmd&#34;&gt;default.cmds&lt;/a&gt;&lt;br&gt;&#xA;菜单名:mimetype:命令路径&lt;br&gt;&#xA;命令可以包含&lt;a href=&#34;../cmd&#34;&gt;%c&lt;/a&gt;当前网址cookie执行时会被相应内容自动替换。&lt;/p&gt;&#xA;&lt;h4 id=&#34;长按链接运行js文件&#34;&gt;长按链接运行js文件&lt;/h4&gt;&#xA;&lt;p&gt;长按链接弹出菜单显示&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/longclick/&#34;&gt;longclick&lt;/a&gt;目录下所有js文件供用户挑选执行。&lt;br&gt;&#xA;js文件格式如下&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&lt;a href=&#34;../cmd/index.html#&#34;&gt;&amp;quot;%u&amp;quot;等&lt;/a&gt;,打开网页时会用长按的链接替换。&lt;/li&gt;&#xA;&lt;li&gt;首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。&lt;/li&gt;&#xA;&lt;li&gt;第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
<item>
<title>视频播放小窍门</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/video/</link>

View file

@ -101,6 +101,12 @@
</li>
<li class="post">
<a href="longclick/index.html#">
<span>长按链接弹出菜单及下载弹出菜单</span>
</a>
</li>
<li class="post">
<a href="tvlive/index.html#">
<span>电视直播</span>
@ -227,12 +233,6 @@
</a>
</li>
<li class="post">
<a href="longclick/index.html#">
<span>长按链接弹出菜单</span>
</a>
</li>
<li class="post">
<a href="video/index.html#">
<span>视频播放小窍门</span>

File diff suppressed because one or more lines are too long

View file

@ -6,7 +6,7 @@
<link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/zh/longclick/" />
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>长按链接弹出菜单</title>
<title>长按链接弹出菜单及下载弹出菜单</title>
<script>
function findLang(){
let href = location.href;
@ -41,7 +41,7 @@
<br />
<div class="container">
<h1 class="title">长按链接弹出菜单
<h1 class="title">长按链接弹出菜单及下载弹出菜单
<br>
<span class="subtitle"></span>
</h1>
@ -50,7 +50,11 @@
<li><a href="../tags/javascript/index.html#">javascript</a> </li>
</ul>
<h4 id="长按链接运行第三方程序">长按链接运行第三方程序</h4>
<h4 id="命令子菜单">“命令”子菜单</h4>
<p>文件&quot;<a href="../links/index.html#">image.link</a>&quot;:图像的“命令”子菜单<br>
文件&quot;<a href="../links/index.html#">download.link</a>&quot;:下载“命令”子菜单</p>
<p>“命令”子菜单可通过<a href="i:61:../searchurl/func.html">界面设置</a>切换为系统菜单分别可为默认常用服务或image.link或download.link,常用链接常用命令。如果同时勾选常用链接及常用命令则“命令”子菜单无视image.link及download.link, 一律弹出系统常用服务菜单。</p>
<h4 id="长按链接运行第三方程序">长按链接运行第三方程序</h4>
<p>配置文件<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>每行格式如下(同<a href="../cmd">default.cmds</a><br>
菜单名:mimetype:命令路径<br>
命令可以包含<a href="../cmd">%c</a>当前网址cookie执行时会被相应内容自动替换。</p>
@ -64,8 +68,8 @@ js文件格式如下</p>
</ul>
</div>
<p>Last Modified: 2 April 2024<br>
add js function in README<br>
<p>Last Modified: 1 March 2025<br>
download.link and image.link support<br>
<pre></pre>
</p>

View file

@ -28,8 +28,6 @@ log: |
<a href="i:00alphachain:i:0/js/uweb2ta.js:https://alphachain.net.cn/#/chat/#uweb=%s">alphachain:i:0/js/uweb2ta.js:https://alphachain.net.cn/#/chat/#uweb=%s</a>
<a href="i:00oppoDS:i:0/js/uweb2input.js#input:https://dhfs.heytapimage.com/userfiles/cms/ai_search/index.html#/#uweb=%s">oppoDS:i:0/js/uweb2input.js#input:https://dhfs.heytapimage.com/userfiles/cms/ai_search/index.html#/#uweb=%s</a>
<a href="i:00小艺:i:0/js/uweb2ta.js:https://xiaoyi.huawei.com/chat#uweb=%s">小艺:i:0/js/uweb2ta.js:https://xiaoyi.huawei.com/chat#uweb=%s</a>

View file

@ -60,7 +60,6 @@
<p><a href="i:00火山方舟:i:0/js/uweb2ta.js:https://www.volcengine.com/experience/ark#10uweb=%s">火山方舟:i:0/js/uweb2ta.js:https://www.volcengine.com/experience/ark#10uweb=%s</a></p>
<p><a href="i:00askmanyai:i:0/js/uweb2ta.js:https://www.askmanyai.cn/chat#uweb=%s">askmanyai:i:0/js/uweb2ta.js:https://www.askmanyai.cn/chat#uweb=%s</a></p>
<p><a href="i:00alphachain:i:0/js/uweb2ta.js:https://alphachain.net.cn/#/chat/#uweb=%s">alphachain:i:0/js/uweb2ta.js:https://alphachain.net.cn/#/chat/#uweb=%s</a></p>
<p><a href="i:00oppoDS:i:0/js/uweb2input.js#input:https://dhfs.heytapimage.com/userfiles/cms/ai_search/index.html#/#uweb=%s">oppoDS:i:0/js/uweb2input.js#input:https://dhfs.heytapimage.com/userfiles/cms/ai_search/index.html#/#uweb=%s</a></p>
<p><a href="i:00小艺:i:0/js/uweb2ta.js:https://xiaoyi.huawei.com/chat#uweb=%s">小艺:i:0/js/uweb2ta.js:https://xiaoyi.huawei.com/chat#uweb=%s</a></p>
<p><a id="aiSE">AI引擎</a><br>
<a href="i:00秘塔:https://metaso.cn/?q=">秘塔:https://metaso.cn/?q=</a></p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/_posts/</loc>
<lastmod>2025-02-27T10:13:29+08:00</lastmod>
<lastmod>2025-03-01T15:37:38+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -14,9 +14,22 @@
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/_posts/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/</loc>
<lastmod>2025-03-01T15:37:38+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/tags/</loc>
<lastmod>2025-02-27T10:13:29+08:00</lastmod>
<lastmod>2025-03-01T15:37:38+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -29,7 +42,7 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/</loc>
<lastmod>2025-02-28T10:32:42+08:00</lastmod>
<lastmod>2025-03-01T15:37:38+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -40,6 +53,19 @@
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</loc>
<lastmod>2025-03-01T15:37:38+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/longclick/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/longclick/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/tags/%E7%94%B5%E8%A7%86/</loc>
<lastmod>2025-02-27T10:13:29+08:00</lastmod>
@ -61,7 +87,7 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/topposts/</loc>
<lastmod>2025-02-28T10:32:42+08:00</lastmod>
<lastmod>2025-02-28T20:44:28+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -74,7 +100,7 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/search/</loc>
<lastmod>2025-02-28T10:32:42+08:00</lastmod>
<lastmod>2025-02-28T20:44:28+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -192,19 +218,6 @@
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/css/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/sitejs/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>
@ -404,19 +417,6 @@
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/tags/%E8%B5%84%E6%BA%90/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://jamesfengcao.gitlab.io/uweb/en/longclick/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="https://jamesfengcao.gitlab.io/uweb/zh/longclick/"
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/video/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>

View file

@ -6,8 +6,15 @@
<description>Recent content in Tags on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Thu, 27 Feb 2025 10:13:29 +0800</lastBuildDate>
<lastBuildDate>Sat, 01 Mar 2025 15:37:38 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/zh/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Javascript</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/</link>
<pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/</guid>
<description></description>
</item>
<item>
<title>电视</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/tags/%E7%94%B5%E8%A7%86/</link>
@ -50,13 +57,6 @@
<guid>https://jamesfengcao.gitlab.io/uweb/zh/tags/css/</guid>
<description></description>
</item>
<item>
<title>Javascript</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/</guid>
<description></description>
</item>
<item>
<title>不良信息屏蔽</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/tags/%E4%B8%8D%E8%89%AF%E4%BF%A1%E6%81%AF%E5%B1%8F%E8%94%BD/</link>

View file

@ -45,6 +45,12 @@
<h1 class="title">Javascript</h1>
<ul class="posts">
<li class="post">
<a href="../../longclick/index.html#">
<span>长按链接弹出菜单及下载弹出菜单</span>
</a>
</li>
<li class="post">
<a href="../../sitejs/index.html#">
<span>特定网址脚本、样式、额外html及预处理</span>
@ -57,12 +63,6 @@
</a>
</li>
<li class="post">
<a href="../../longclick/index.html#">
<span>长按链接弹出菜单</span>
</a>
</li>
</ul>
<ul>
</div>

View file

@ -6,8 +6,15 @@
<description>Recent content in Javascript on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Tue, 02 Apr 2024 11:46:25 +0800</lastBuildDate>
<lastBuildDate>Sat, 01 Mar 2025 15:37:38 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/zh/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>长按链接弹出菜单及下载弹出菜单</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</link>
<pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</guid>
<description>&lt;h4 id=&#34;命令子菜单&#34;&gt;“命令”子菜单&lt;/h4&gt;&#xA;&lt;p&gt;文件&amp;quot;&lt;a href=&#34;../links/index.html#&#34;&gt;image.link&lt;/a&gt;&amp;quot;:图像的“命令”子菜单&lt;br&gt;&#xA;文件&amp;quot;&lt;a href=&#34;../links/index.html#&#34;&gt;download.link&lt;/a&gt;&amp;quot;:下载“命令”子菜单&lt;/p&gt;&#xA;&lt;p&gt;“命令”子菜单可通过&lt;a href=&#34;i:61:../searchurl/func.html&#34;&gt;界面设置&lt;/a&gt;切换为系统菜单分别可为默认常用服务或image.link或download.link,常用链接常用命令。如果同时勾选常用链接及常用命令则“命令”子菜单无视image.link及download.link, 一律弹出系统常用服务菜单。&lt;/p&gt;&#xA;&lt;h4 id=&#34;长按链接运行第三方程序&#34;&gt;长按链接运行第三方程序&lt;/h4&gt;&#xA;&lt;p&gt;配置文件&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/default.longclick&#34;&gt;default.longclick&lt;/a&gt;每行格式如下(同&lt;a href=&#34;../cmd&#34;&gt;default.cmds&lt;/a&gt;&lt;br&gt;&#xA;菜单名:mimetype:命令路径&lt;br&gt;&#xA;命令可以包含&lt;a href=&#34;../cmd&#34;&gt;%c&lt;/a&gt;当前网址cookie执行时会被相应内容自动替换。&lt;/p&gt;&#xA;&lt;h4 id=&#34;长按链接运行js文件&#34;&gt;长按链接运行js文件&lt;/h4&gt;&#xA;&lt;p&gt;长按链接弹出菜单显示&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/longclick/&#34;&gt;longclick&lt;/a&gt;目录下所有js文件供用户挑选执行。&lt;br&gt;&#xA;js文件格式如下&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&lt;a href=&#34;../cmd/index.html#&#34;&gt;&amp;quot;%u&amp;quot;等&lt;/a&gt;,打开网页时会用长按的链接替换。&lt;/li&gt;&#xA;&lt;li&gt;首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。&lt;/li&gt;&#xA;&lt;li&gt;第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/sitejs/</link>
@ -22,12 +29,5 @@
<guid>https://jamesfengcao.gitlab.io/uweb/zh/bookmarklet/</guid>
<description>&lt;p&gt;&lt;a href=&#34;../index.html#&#34;&gt;超微浏览器&lt;/a&gt;支持直接运行远程网址上的小书签(Bookmarklet),将本页面或其它包含小书签网址加入书签。使用时只需长按小书签链接,点击“新窗口打开”,小书签将作用于超微浏览器最后一个窗口(非小书签窗口)页面上。&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:{let es=document.getElementsByTagName(&#39;script&#39;);let urls=&#39;&#39;;for(let i=0;i&lt;es.length;i++){if(es[i].src)urls+=es[i].src+&#39;&lt;br&gt;&#39;;}let w=window.open(&#39;&#39;),s=w.document;s.write(urls);s.close();w.location.href=&#39;i:631:&#39;;}&#34;&gt;列出外部脚本&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a target=&#34;_self&#34; href=&#34;javascript:alert(navigator.userAgent)&#34;&gt;查看浏览器UA&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var w=window.open(&#39;&#39;),s=w.document;s.write(&#39;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&#39;);s.close();var pre=s.body.appendChild(s.createElement(&#39;pre&#39;));pre.style.overflow=&#39;auto&#39;;pre.style.whiteSpace=&#39;pre-wrap&#39;;pre.appendChild(s.createTextNode(document.cookie))})()&#34;&gt;网页cookie&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var w=window.open(&#39;&#39;),s=w.document;s.write(&#39;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&#39;);s.close();var pre=s.body.appendChild(s.createElement(&#39;pre&#39;));pre.style.overflow=&#39;auto&#39;;pre.style.whiteSpace=&#39;pre-wrap&#39;;pre.appendChild(s.createTextNode(document.documentElement.innerHTML))})()&#34;&gt;网页源码&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm&gt;maxd)maxd=lm;for(var%20i=0;F=w.frames[i];i++){gett(F);}}catch(e){}}var%20now=new%20Date();var%20maxd=new%20Date(document.lastModified);gett(window);if(maxd.getTime()==0||now.toUTCString()==maxd.toUTCString()){alert(&#39;Page%20is%20dynamically%20generated,%20cannot%20determine%20date.&#39;);}else{alert(&#39;Page%20was%20last%20modified%20&#39;+maxd.toLocaleString());}&#34; class=&#34;bookmarklet&#34; rel=&#34;nofollow&#34;&gt;显示网页最后更改时间&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:(function(){var script=document.createElement(&#39;script&#39;);script.src=&#39;//fastly.jsdelivr.net/npm/eruda&#39;;document.body.appendChild(script);script.onload=function(){eruda.init()}})()&#34;&gt;Eruda: mobile console&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:window.open(&#39;https://api.qrserver.com/v1/create-qr-code/?size=150x150&amp;data=&#39;%20+%20decodeURIComponent(location.href));void(0);&#34;&gt;生成二维码&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:(function(){var x,i; x = document.forms; for (i = 0; i &amp;lt; x.length; ++i) x[i].method=&amp;quot;get&amp;quot;; alert(&amp;quot;Changed &amp;quot; + x.length + &amp;quot; forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.&amp;quot;); })();&#34;&gt;POST转GET&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var i,f,j,e,div,label,ne; for(i=0;f=document.forms[i];++i)for(j=0;e=f[j];++j)if(e.type==&amp;quot;hidden&amp;quot;){ D=document; function C(t){return D.createElement(t);} function A(a,b){a.appendChild(b);} div=C(&amp;quot;div&amp;quot;); label=C(&amp;quot;label&amp;quot;); A(div, label); A(label, D.createTextNode(e.name + &amp;quot;: &amp;quot;)); e.parentNode.insertBefore(div, e); e.parentNode.removeChild(e); ne=C(&amp;quot;input&amp;quot;);/*for ie*/ ne.type=&amp;quot;text&amp;quot;; ne.value=e.value; A(label, ne); --j;}})()&#34;&gt;Shows all form elements&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var x,k,f,j;x=document.forms;for (k=0;k&amp;lt;x.length;++k){f=x[k];for(j=0;j&amp;lt;f.length;++j){f[j].disabled=false; f[j].readOnly=false;}}})()&#34;&gt;Enables all form elements&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>长按链接弹出菜单</title>
<link>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitlab.io/uweb/zh/longclick/</guid>
<description>&lt;h4 id=&#34;长按链接运行第三方程序&#34;&gt;长按链接运行第三方程序&lt;/h4&gt;&#xA;&lt;p&gt;配置文件&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/default.longclick&#34;&gt;default.longclick&lt;/a&gt;每行格式如下(同&lt;a href=&#34;../cmd&#34;&gt;default.cmds&lt;/a&gt;&lt;br&gt;&#xA;菜单名:mimetype:命令路径&lt;br&gt;&#xA;命令可以包含&lt;a href=&#34;../cmd&#34;&gt;%c&lt;/a&gt;当前网址cookie执行时会被相应内容自动替换。&lt;/p&gt;&#xA;&lt;h4 id=&#34;长按链接运行js文件&#34;&gt;长按链接运行js文件&lt;/h4&gt;&#xA;&lt;p&gt;长按链接弹出菜单显示&lt;a href=&#34;file:///data/data/info.torapp.uweb/files/longclick/&#34;&gt;longclick&lt;/a&gt;目录下所有js文件供用户挑选执行。&lt;br&gt;&#xA;js文件格式如下&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&lt;a href=&#34;../cmd/index.html#&#34;&gt;&amp;quot;%u&amp;quot;等&lt;/a&gt;,打开网页时会用长按的链接替换。&lt;/li&gt;&#xA;&lt;li&gt;首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。&lt;/li&gt;&#xA;&lt;li&gt;第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
</channel>
</rss>

File diff suppressed because one or more lines are too long