add menu for selection: search with home screen

This commit is contained in:
James Feng Cao 2023-01-31 19:40:46 +08:00
parent 668af3d194
commit 6c53b64adf
12 changed files with 21 additions and 25 deletions

View File

@ -195,6 +195,7 @@ Ways to enable redirection: Long the image button。 Long pressing the setting b
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -202,8 +203,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
<item>

View File

@ -47,6 +47,7 @@
<p><a href="https://s1.asytech.cn/s/tQrgT5kBRg8Trry">uweb, termux &amp; history versions</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://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs">Change logs</h4>

View File

@ -92,6 +92,7 @@ The following html5 applications are allowed to read local files referred by &am
uweb, termux &amp;amp; history versions
github
sourceforge
powerfolder
pagure
Main features Change logs 964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
@ -326,6 +327,7 @@ Ways to enable redirection: Long the image button。 Long pressing the setting b
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -333,8 +335,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
<item>

View File

@ -58,7 +58,8 @@
</ul>
<p>Click the following links to install menus for long pressing the button &quot;link&quot;:<br>
<a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<a href="i:0gdefault.select::Home:/uweb:printf 'file://data/data/info.torapp.uweb/home5.search location.href=%22i:15';cat;print '%22;'%0A">Search with home screen</a></p>
<p><a href="i:0gdefault.select::google Translate:/uweb:printf 'https://translate.google.com/?sl=auto&tl=en&op=translate&text=';cat|tr ' ' '%2B'%0A">google Translate</a></p>
<p><a href="i:0gdefault.select::bing Translate:/uweb:printf 'https://cn.bing.com/translator/?from=&to=en&text=';cat|tr ' ' '%2B'%0A">bing translate</a></p>
<p><a href="i:0gdefault.select::deepL:/uweb:print 'https://www.deepl.com/translator {function tE(el,t){var e=new Event(t);el.dispatchEvent(e);}let s=document.querySelector(%22textarea%22);s.value=%60';cat;print '%60;tE(s,%22change%22)}'%0A">deepL</a></p>
<p>The file &quot;default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:<br>

View File

@ -13,6 +13,7 @@
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -20,8 +21,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
</channel>

View File

@ -13,6 +13,7 @@
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -20,8 +21,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
</channel>

View File

@ -13,6 +13,7 @@
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -20,8 +21,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
</channel>

View File

@ -13,6 +13,7 @@
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -20,8 +21,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
<item>

View File

@ -13,6 +13,7 @@
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
Search with home screen
google Translate
bing translate
deepL
@ -20,8 +21,7 @@ The file &amp;quot;default.select&amp;quot; defines menus for selected text. If
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
[input mimetype] can be the following:</description>
</item>
</channel>

View File

@ -16,6 +16,7 @@
uweb, termux &amp;amp; history versions
github
sourceforge
powerfolder
pagure
Main features Change logs 964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.

View File

@ -1,10 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>
<meta http-equiv="refresh" content="0; url=en/index.html">

View File

@ -1,3 +1,4 @@
首页搜索:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search\ location.href=\"i:15;cat;printf \"
TTS:/uweb:printf i:5e;cat
笔记:/uweb:printf i:53;cat
sitejs:/uweb:printf i:50../sitejs/:;cat