mirror of
https://github.com/torappinfo/uweb.git
synced 2026-03-14 14:45:45 +01:00
support specific submenus for images and downloading
This commit is contained in:
parent
61dc27a6e3
commit
91ba2ed8ea
24 changed files with 209 additions and 199 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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 & 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 "engine.search" 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">"i:0m/..../xxx.html:url"</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>
|
||||
|
||||
|
|
|
|||
|
|
@ -68,9 +68,11 @@
|
|||
"<a href="file:///data/data/info.torapp.uweb/files/hosts">hosts</a>": 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>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.hosts">default.hosts</a>":<a href="../adblock_hosts/index.html#">hosts not allowed to visit</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.redirect">default.redirect</a>":<a href="../redirect/index.html#">redirect websites</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>":<a href="../cmds/index.html#">commands</a><br>
|
||||
"<a href="i:5gfile:///data/data/info.torapp.uweb/files/default.link">default.link</a>:<a href="../links/index.html#">links</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>":<a href="../rjs/index.html#">Remote javascript</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>":<a href="../cmds/index.html#">commands</a></p>
|
||||
<p>"<a href="i:5gfile:///data/data/info.torapp.uweb/files/default.link">default.link</a>:<a href="../links/index.html#">links</a><br>
|
||||
"<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 "command" submenu for downloading menu.<br>
|
||||
"<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 "command" submenu for images for long press links.</p>
|
||||
<p>"<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>":<a href="../rjs/index.html#">Remote javascript</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>":<a href="../textprocess/index.html#">menus for selected text</a><br>
|
||||
"<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 "@xxxx@", then "xxxx" part is the alias for the rest part of the string. Alias could be used for non-printable phrase.<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.gesture">default.gesture</a>": 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>"<a href="file:///data/data/info.torapp.uweb/files/shortcut/">shortcut/</a>": dynamical shortcut, if not exist, then default to "bookmark".</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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
20
en/index.xml
20
en/index.xml
File diff suppressed because one or more lines are too long
|
|
@ -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 "command" submenus</h4>
|
||||
<ul>
|
||||
<li>File "<a href="../links/index.html#">image.link</a>": defines submenus for images.</li>
|
||||
<li>File "<a href="../links/index.html#">download.link</a>": "command" submenus for downloading.</li>
|
||||
</ul>
|
||||
<p>The "command" submenus can be toggled with <a href="i:61:../searchurl/func.html">UI options</a>. The "command" 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 "<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>" 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#">"%c" (cookie), "%u" (current url), "%t" (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>
|
||||
|
||||
|
|
|
|||
112
en/sitemap.xml
112
en/sitemap.xml
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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><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></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><p>With <a href="../index.html#">uweb browser</a>, long pressing any bookmarklet link, click &quot;Open in new tab&quot;, the bookmarklet will be run on the last other tab.</p>
<p><a href="javascript:{let es=document.getElementsByTagName('script');let urls='';for(let i=0;i<es.length;i++){if(es[i].src)urls+=es[i].src+'<br>';}let w=window.open(''),s=w.document;s.write(urls);s.close();w.location.href='i:631:';}">List all script urls</a></p>
<p><a target="_self" href="javascript:alert(navigator.userAgent)">User agent</a><br>
<a href="javascript:(function(){var w=window.open(''),s=w.document;s.write('<html><body></body></html>');s.close();var pre=s.body.appendChild(s.createElement('pre'));pre.style.overflow='auto';pre.style.whiteSpace='pre-wrap';pre.appendChild(s.createTextNode(document.cookie))})()">Cookie</a><br>
<a href="javascript:(function(){var w=window.open(''),s=w.document;s.write('<html><body></body></html>');s.close();var pre=s.body.appendChild(s.createElement('pre'));pre.style.overflow='auto';pre.style.whiteSpace='pre-wrap';pre.appendChild(s.createTextNode(document.documentElement.innerHTML))})()">Source code</a><br>
<a href="javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm>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('Page%20is%20dynamically%20generated,%20cannot%20determine%20date.');}else{alert('Page%20was%20last%20modified%20'+maxd.toLocaleString());}" class="bookmarklet" rel="nofollow">Last modified date</a></p>
<p><a href="javascript:(function(){var script=document.createElement('script');script.src='//fastly.jsdelivr.net/npm/eruda';document.body.appendChild(script);script.onload=function(){eruda.init()}})()">Eruda: mobile console</a><br>
<a href="javascript:window.open('https://api.qrserver.com/v1/create-qr-code/?size=150x150&data='%20+%20decodeURIComponent(location.href));void(0);">QR code generation</a></p>
<p><a href="javascript:(function(){var x,i; x = document.forms; for (i = 0; i &lt; x.length; ++i) x[i].method=&quot;get&quot;; alert(&quot;Changed &quot; + x.length + &quot; forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.&quot;); })();">Use &quot;GET&quot; method for &quot;POST&quot;</a><br>
<a href="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==&quot;hidden&quot;){ D=document; function C(t){return D.createElement(t);} function A(a,b){a.appendChild(b);} div=C(&quot;div&quot;); label=C(&quot;label&quot;); A(div, label); A(label, D.createTextNode(e.name + &quot;: &quot;)); e.parentNode.insertBefore(div, e); e.parentNode.removeChild(e); ne=C(&quot;input&quot;);/*for ie*/ ne.type=&quot;text&quot;; ne.value=e.value; A(label, ne); --j;}})()">Shows all form elements</a><br>
<a href="javascript:(function(){var x,k,f,j;x=document.forms;for (k=0;k&lt;x.length;++k){f=x[k];for(j=0;j&lt;f.length;++j){f[j].disabled=false; f[j].readOnly=false;}}})()">Enables all form elements</a></p></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><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>
<h4 id="to-visit-url-and-load-javascript-file">To visit url and load javascript file</h4>
<p>All &quot;.js&quot; files under the folder &quot;<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick</a>&quot; are part of the popup menu.<br>
These javascript files are in the following format:</p>
<ul>
<li>The very first line can begin with &quot;//&quot; followed by website url that can have <a href="../cmds/index.html#">&quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.</li>
<li>In the &quot;.js&quot; file, variable &quot;arguments&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 &quot;.js&quot; file name.</li>
</ul></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
|||
|
|
@ -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><p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxystore.samsung.com/detail/info.torapp.uweb">Galaxy.Store</a></p>
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://uweb-browser-for-geeks.en.uptodown.com/android" title="uweb"><img src="https://stc.utdstc.com/img/mediakit/download-gio-big.png" alt=""></a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://codeberg.org/jamesfengcao/pages/releases">codeberg</a></p>
<p><a href="https://uno.teracloud.jp/share/1162dfa8376e1609">infinicloud</a></p>
<p><a href="https://gitee.com/jamesfengcao/uweb/releases">gitee</a></p>
<p><a href="https://gitea.com/torappinfo/uweb/releases">gitea</a></p>
<p><a href="https://gitdab.com/jamesfengcao/uweb/releases">gitdab</a></p>
<p><a href="https://gitnet.fr/jamesfengcao/uweb/releases">gitnet</a></p>
<p><a href="https://tildegit.org/jamesfengcao/uweb/releases">tildegit</a></p>
<p><a href="https://git.froggi.es/jamesfengcao/uweb/releases">froggi</a></p>
<p><a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/">bitbucket</a></p>
<p><a href="https://notabug.org/torappinfo/uweb/releases">NotABug</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="https://novasync.cn/s/vZJFz">novasync</a></p>
<p><a href="https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb">baidu</a></p>
<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>
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>
1030: Allow downloading with global redirection<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
998: <a href="../rjs/index.html">Bookmarklets</a> to support CSP sites.<br>
991: <a href="../redirect/index.html">global url redirection</a> support.<br>
988: <a href="../adblock_domain/index.html">hosts</a> file to support response headers.<br>
983: support <a href="../adblock_domain/index.html">&quot;hosts&quot;</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<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>
949: Address bar: &quot;:p [width in milliInch]x[height]&quot; to generate PDF in custom size<br>
946: Option &quot;use offline cache&quot; to support serverless local websites.</p></description>
|
||||
<description><p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxystore.samsung.com/detail/info.torapp.uweb">Galaxy.Store</a></p>
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://uweb-browser-for-geeks.en.uptodown.com/android" title="uweb"><img src="https://stc.utdstc.com/img/mediakit/download-gio-big.png" alt=""></a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://codeberg.org/jamesfengcao/pages/releases">codeberg</a></p>
<p><a href="https://uno.teracloud.jp/share/1162dfa8376e1609">infinicloud</a></p>
<p><a href="https://gitee.com/jamesfengcao/uweb/releases">gitee</a></p>
<p><a href="https://gitea.com/torappinfo/uweb/releases">gitea</a></p>
<p><a href="https://gitdab.com/jamesfengcao/uweb/releases">gitdab</a></p>
<p><a href="https://gitnet.fr/jamesfengcao/uweb/releases">gitnet</a></p>
<p><a href="https://tildegit.org/jamesfengcao/uweb/releases">tildegit</a></p>
<p><a href="https://git.froggi.es/jamesfengcao/uweb/releases">froggi</a></p>
<p><a href="https://bitbucket.org/torappinfo/torappinfo.bitbucket.io/downloads/">bitbucket</a></p>
<p><a href="https://notabug.org/torappinfo/uweb/releases">NotABug</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="https://novasync.cn/s/vZJFz">novasync</a></p>
<p><a href="https://pan.baidu.com/s/17coQj6DCHqghMMNJUyjgrA#list/path=%2Fuweb">baidu</a></p>
<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>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>
1030: Allow downloading with global redirection<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
998: <a href="../rjs/index.html">Bookmarklets</a> to support CSP sites.<br>
991: <a href="../redirect/index.html">global url redirection</a> support.<br>
988: <a href="../adblock_domain/index.html">hosts</a> file to support response headers.<br>
983: support <a href="../adblock_domain/index.html">&quot;hosts&quot;</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<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>
949: Address bar: &quot;:p [width in milliInch]x[height]&quot; to generate PDF in custom size<br>
946: Option &quot;use offline cache&quot; to support serverless local websites.</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Configuration</title>
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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><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>
<h4 id="长按链接运行js文件">长按链接运行js文件</h4>
<p>长按链接弹出菜单显示<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick</a>目录下所有js文件供用户挑选执行。<br>
js文件格式如下:</p>
<ul>
<li>首行可以&quot;//&quot;开头,后面紧跟目标网页url,url中可包含<a href="../cmd/index.html#">&quot;%u&quot;等</a>,打开网页时会用长按的链接替换。</li>
<li>首行非&quot;//&quot;开头者,整个脚本作用于当前网页,不再打开新网页。</li>
<li>第二行开始为javascript代码,代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。</li>
</ul></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><ul>
<li>seedr用户可使用<a href="../links/index.html#">常用链接</a>利用seedr离线下载。使用时长按链接-&gt;命令-&gt;seedr离线...。</li>
<li>Telegram用户可使用<a href="../urls/index.html#">特色服务</a>利用tg bot离线下载至bot支持网盘。使用时长按链接-&gt;命令-&gt;tg...。</li>
</ul>
<p>百度网盘存储空间大,但其离线下载限制很多,可能由于某些重要节点被屏蔽的原因,下载国外资料基本都会失败。国外离线网盘空间小,但下载成功率很高。<br>
本文介绍一种技术,使用国外离线网盘下载资源,然后一键离线至百度网盘。</p>
<p><a href="../index.html#">超微浏览器</a>上配置百度离线下载</p>
<ul>
<li>
<p>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a>。</p>
</li>
<li>
<p>安装baidupcs-go:</p>
<ul>
<li>直接下载<a href="https://github.com/felixonmars/BaiduPCS-Go/releases">BaiduPCS-Go</a>,安卓手机请选择arm64版本。</li>
<li>解压下载文件</li>
<li>移动解压后文件至最终目的地。Termux运行以下命令:<br>
<code>mv BaiduPCS-Go /data/data/com.termux/files/usr/bin/.<br>
chmod 777 /data/data/com.termux/files/usr/bin/BaiduPCS-Go<br>
</code></li>
</ul>
</li>
<li>
<p>登录百度网盘, Termux执行如下命令:<br>
BaiduPCS-Go login<br>
BaiduPCS-Go config set -appid=266719</p>
</li>
<li>
<p>default.longclick配置如下:<br>
百度离线下载:termux/*:BaiduPCS-Go od add &quot;%u&quot;;exit 1</p>
</li>
<li>
<p>重启超微浏览器,此时长按链接将会出现菜单“百度离线下载”。</p>
</li>
<li>
<p>离线下载资源至国外网盘,下载完成后在超微浏览器内点击资源下载,弹出菜单选择“百度离线下载”,完成整个流程。</p>
</li>
<li>
<p>其它支持离线下载的网页也可<a href="../longclick">定义为一键离线</a>。</p>
</li>
</ul></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><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>
<h4 id="长按链接运行js文件">长按链接运行js文件</h4>
<p>长按链接弹出菜单显示<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick</a>目录下所有js文件供用户挑选执行。<br>
js文件格式如下:</p>
<ul>
<li>首行可以&quot;//&quot;开头,后面紧跟目标网页url,url中可包含<a href="../cmd/index.html#">&quot;%u&quot;等</a>,打开网页时会用长按的链接替换。</li>
<li>首行非&quot;//&quot;开头者,整个脚本作用于当前网页,不再打开新网页。</li>
<li>第二行开始为javascript代码,代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。</li>
</ul></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>视频播放小窍门</title>
|
||||
<link>https://jamesfengcao.gitlab.io/uweb/zh/video/</link>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
18
zh/index.xml
18
zh/index.xml
File diff suppressed because one or more lines are too long
|
|
@ -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>文件"<a href="../links/index.html#">image.link</a>":图像的“命令”子菜单<br>
|
||||
文件"<a href="../links/index.html#">download.link</a>":下载“命令”子菜单</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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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><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>
<h4 id="长按链接运行js文件">长按链接运行js文件</h4>
<p>长按链接弹出菜单显示<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick</a>目录下所有js文件供用户挑选执行。<br>
js文件格式如下:</p>
<ul>
<li>首行可以&quot;//&quot;开头,后面紧跟目标网页url,url中可包含<a href="../cmd/index.html#">&quot;%u&quot;等</a>,打开网页时会用长按的链接替换。</li>
<li>首行非&quot;//&quot;开头者,整个脚本作用于当前网页,不再打开新网页。</li>
<li>第二行开始为javascript代码,代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。</li>
</ul></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><p><a href="../index.html#">超微浏览器</a>支持直接运行远程网址上的小书签(Bookmarklet),将本页面或其它包含小书签网址加入书签。使用时只需长按小书签链接,点击“新窗口打开”,小书签将作用于超微浏览器最后一个窗口(非小书签窗口)页面上。</p>
<p><a href="javascript:{let es=document.getElementsByTagName('script');let urls='';for(let i=0;i<es.length;i++){if(es[i].src)urls+=es[i].src+'<br>';}let w=window.open(''),s=w.document;s.write(urls);s.close();w.location.href='i:631:';}">列出外部脚本</a></p>
<p><a target="_self" href="javascript:alert(navigator.userAgent)">查看浏览器UA</a><br>
<a href="javascript:(function(){var w=window.open(''),s=w.document;s.write('<html><body></body></html>');s.close();var pre=s.body.appendChild(s.createElement('pre'));pre.style.overflow='auto';pre.style.whiteSpace='pre-wrap';pre.appendChild(s.createTextNode(document.cookie))})()">网页cookie</a><br>
<a href="javascript:(function(){var w=window.open(''),s=w.document;s.write('<html><body></body></html>');s.close();var pre=s.body.appendChild(s.createElement('pre'));pre.style.overflow='auto';pre.style.whiteSpace='pre-wrap';pre.appendChild(s.createTextNode(document.documentElement.innerHTML))})()">网页源码</a><br>
<a href="javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm>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('Page%20is%20dynamically%20generated,%20cannot%20determine%20date.');}else{alert('Page%20was%20last%20modified%20'+maxd.toLocaleString());}" class="bookmarklet" rel="nofollow">显示网页最后更改时间</a></p>
<p><a href="javascript:(function(){var script=document.createElement('script');script.src='//fastly.jsdelivr.net/npm/eruda';document.body.appendChild(script);script.onload=function(){eruda.init()}})()">Eruda: mobile console</a><br>
<a href="javascript:window.open('https://api.qrserver.com/v1/create-qr-code/?size=150x150&data='%20+%20decodeURIComponent(location.href));void(0);">生成二维码</a></p>
<p><a href="javascript:(function(){var x,i; x = document.forms; for (i = 0; i &lt; x.length; ++i) x[i].method=&quot;get&quot;; alert(&quot;Changed &quot; + x.length + &quot; forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.&quot;); })();">POST转GET</a><br>
<a href="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==&quot;hidden&quot;){ D=document; function C(t){return D.createElement(t);} function A(a,b){a.appendChild(b);} div=C(&quot;div&quot;); label=C(&quot;label&quot;); A(div, label); A(label, D.createTextNode(e.name + &quot;: &quot;)); e.parentNode.insertBefore(div, e); e.parentNode.removeChild(e); ne=C(&quot;input&quot;);/*for ie*/ ne.type=&quot;text&quot;; ne.value=e.value; A(label, ne); --j;}})()">Shows all form elements</a><br>
<a href="javascript:(function(){var x,k,f,j;x=document.forms;for (k=0;k&lt;x.length;++k){f=x[k];for(j=0;j&lt;f.length;++j){f[j].disabled=false; f[j].readOnly=false;}}})()">Enables all form elements</a></p></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><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>
<h4 id="长按链接运行js文件">长按链接运行js文件</h4>
<p>长按链接弹出菜单显示<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick</a>目录下所有js文件供用户挑选执行。<br>
js文件格式如下:</p>
<ul>
<li>首行可以&quot;//&quot;开头,后面紧跟目标网页url,url中可包含<a href="../cmd/index.html#">&quot;%u&quot;等</a>,打开网页时会用长按的链接替换。</li>
<li>首行非&quot;//&quot;开头者,整个脚本作用于当前网页,不再打开新网页。</li>
<li>第二行开始为javascript代码,代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。</li>
</ul></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue