mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rename pccopy to textprocess
This commit is contained in:
parent
7adfd0f544
commit
ac37de825e
41 changed files with 531 additions and 283 deletions
|
@ -92,20 +92,21 @@ andi freegpt teach-anything magickpen Wait for url from other devices
|
|||
berify: reverse image search for video
|
||||
Tips File handling and styling with home.css "home.css" (in current folder, parent folder or the "bookmark" folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.
|
||||
Install markdeep styling for markdown files
|
||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
||||
Bookmarks with secrets (POST instead of GET) The internal link &quot;i:a1[url]?</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Tips</title>
|
||||
<link>/en/tips/</link>
|
||||
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tips/</guid>
|
||||
<description>To show web pages in desktop mode:
|
||||
<description>Text processing for clipboard data:
|
||||
On home screen, pressing the sharing button of the bottom toolbar popups the text processing menu for clipboard data.
|
||||
To show web pages in desktop mode:
|
||||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||||
Playing audio when screen off
|
||||
Option &quot;Floating video&quot; + video fullscreen playing
|
||||
Use POST-type search engine as bookmark to auto login
|
||||
Multiple home screens and Next/Prev page:
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.</description>
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), .</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Address bar command line</title>
|
||||
|
@ -191,22 +192,6 @@ Check all checkboxes
|
|||
Uncheck all checkboxes
|
||||
Toggle all checkboxes in forms
|
||||
Enable selection</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>CSS styles</title>
|
||||
|
@ -305,5 +290,20 @@ The &quot;[file extension]&quot; part can have at most two-segment of ex
|
|||
Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
|
||||
Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &quot;default.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -60,8 +60,7 @@
|
|||
<p>"home.css" (in current folder, parent folder or the "bookmark" folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.</p>
|
||||
<p><a href="i:0hbookmark/home.css:../searchurl/txt/markdeep.html">Install markdeep styling for markdown files</a></p>
|
||||
<h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3>
|
||||
<p>The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):<br>
|
||||
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login</p>
|
||||
<p>The <a href="../links/index.html">internal link</a> "i:a1[url]?[post data]" sends http "POST" request to server.</p>
|
||||
<h3 id="commands">Commands</h3>
|
||||
<p>Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link => "open in new tab" to execute.</p>
|
||||
<p>To save the bookmarks to local, users firstly need to install "bookmark" menu by clicking corresponding link in the <a href="../urls/index.html">url services</a> page, then long press the bookmark link => "open in new tab" => "Commands" => "bookmark" to save the bookmark.</p>
|
||||
|
@ -86,8 +85,8 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&
|
|||
<a href="http://cdb.ics.uci.edu/cgibin/Smi2DepictWeb.py">SMILES2structure</a></p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 26 June 2023<br>
|
||||
add toolbar autohide<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 29 November 2023<br>
|
||||
enhance security<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
"<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>":<a href="../cmds/index.html">commands</a><br>
|
||||
"<a href="file:///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.select">default.select</a>":<a href="../pccopy/index.html">menus for selected text</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="file:///data/data/info.torapp.uweb/files/default.input">default.input</a>": common phrases for user inputs<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>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.gesture2">default.gesture2</a>": gestures on the right side similar to default.gesture.<br>
|
||||
|
@ -101,8 +101,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: 25 October 2023<br>
|
||||
add en/_posts/tcron.md<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -178,12 +178,6 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="pccopy/index.html">
|
||||
<span>Text selection</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="globalcss/index.html">
|
||||
<span>CSS styles</span>
|
||||
|
@ -232,6 +226,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="textprocess/index.html">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
|
|
40
en/index.xml
40
en/index.xml
|
@ -136,20 +136,21 @@ andi freegpt teach-anything magickpen Wait for url from other devices
|
|||
berify: reverse image search for video
|
||||
Tips File handling and styling with home.css &quot;home.css&quot; (in current folder, parent folder or the &quot;bookmark&quot; folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
||||
Install markdeep styling for markdown files
|
||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
||||
Bookmarks with secrets (POST instead of GET) The internal link &quot;i:a1[url]?</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Tips</title>
|
||||
<link>/en/tips/</link>
|
||||
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tips/</guid>
|
||||
<description>To show web pages in desktop mode:
|
||||
<description>Text processing for clipboard data:
|
||||
On home screen, pressing the sharing button of the bottom toolbar popups the text processing menu for clipboard data.
|
||||
To show web pages in desktop mode:
|
||||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||||
Playing audio when screen off
|
||||
Option &quot;Floating video&quot; + video fullscreen playing
|
||||
Use POST-type search engine as bookmark to auto login
|
||||
Multiple home screens and Next/Prev page:
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.</description>
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), .</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Address bar command line</title>
|
||||
|
@ -326,22 +327,6 @@ google translation
|
|||
Eruda
|
||||
Performance
|
||||
Note: Bookmarklets whose names begin with &quot;!</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>CSS styles</title>
|
||||
|
@ -453,5 +438,20 @@ Uweb browser: downloads, plugins and tips
|
|||
(Mirrors: gitlab codeberg repo 4everland fleek netlify surge kinsta bitbucket pages vercel render)
|
||||
Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux. Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
152
en/sitemap.xml
152
en/sitemap.xml
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2023-11-23T11:26:22+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:52:33+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -29,7 +29,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2023-11-29T15:19:08+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:53:02+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -84,7 +84,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/</loc>
|
||||
<lastmod>2023-06-17T07:35:57+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -126,7 +126,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/topposts/</loc>
|
||||
<lastmod>2023-11-29T15:19:08+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:53:02+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -178,7 +178,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/bookmark/</loc>
|
||||
<lastmod>2023-06-26T08:17:34+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:42:49+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -191,7 +191,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tips/</loc>
|
||||
<lastmod>2023-04-02T10:37:42+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:52:12+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -226,7 +226,7 @@
|
|||
<lastmod>2023-11-29T15:19:08+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/sitemap/</loc>
|
||||
<lastmod>2023-02-01T09:52:11+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:53:02+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -239,7 +239,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/filenames/</loc>
|
||||
<lastmod>2023-10-25T13:07:04+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:52:33+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -315,74 +315,6 @@
|
|||
hreflang="en"
|
||||
href="/en/rjs/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/clipboard/</loc>
|
||||
<lastmod>2023-05-25T14:58:48+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/tags/pc/</loc>
|
||||
<lastmod>2023-05-25T14:58:48+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/pc/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/pc/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/ssh/</loc>
|
||||
<lastmod>2023-05-25T14:58:48+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/ssh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/ssh/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/termux/</loc>
|
||||
<lastmod>2023-05-25T14:58:48+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/termux/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/termux/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/pccopy/</loc>
|
||||
<lastmod>2023-05-25T14:58:48+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/pccopy/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/pccopy/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/windows/</loc>
|
||||
<lastmod>2023-05-25T14:58:48+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/windows/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/windows/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/globalcss/</loc>
|
||||
<lastmod>2023-04-20T10:19:36+08:00</lastmod>
|
||||
|
@ -454,6 +386,19 @@
|
|||
hreflang="en"
|
||||
href="/en/tags/tdict/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/termux/</loc>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/termux/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/termux/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/tools/</loc>
|
||||
<lastmod>2022-09-27T17:36:08+08:00</lastmod>
|
||||
|
@ -544,6 +489,48 @@
|
|||
hreflang="en"
|
||||
href="/en/categories/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/clipboard/</loc>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/tags/pc/</loc>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/pc/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/pc/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/ssh/</loc>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/ssh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/ssh/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/textprocess/</loc>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/textprocess/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/textprocess/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/unlist/</loc>
|
||||
<lastmod>2023-11-26T10:56:34+08:00</lastmod>
|
||||
|
@ -557,5 +544,18 @@
|
|||
hreflang="en"
|
||||
href="/en/unlist/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/windows/</loc>
|
||||
<lastmod>2023-12-01T15:48:19+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/windows/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/windows/"
|
||||
/>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<li><a href="../links/index.html">Links</a></li>
|
||||
<li><a href="../cmds/index.html">Commands</a></li>
|
||||
<li><a href="../rjs/index.html">Remote javascript</a></li>
|
||||
<li><a href="../pccopy/index.html">Menu for selections</a></li>
|
||||
<li><a href="../textprocess/index.html">Menu for selections</a></li>
|
||||
<li><a href="../longclick/index.html">Menu for long pressing hypertext</a></li>
|
||||
<li><a href="../icons/index.html">Toolbar</a></li>
|
||||
<li><a href="../gesture/index.html">Gestures</a></li>
|
||||
|
@ -95,8 +95,8 @@
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 1 February 2023<br>
|
||||
add UI config link to home.html<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<span>Text selection</span>
|
||||
<a href="../../textprocess">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -6,23 +6,21 @@
|
|||
<description>Recent content in clipboard on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/en/tags/clipboard/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -36,41 +36,6 @@
|
|||
<guid>/en/tags/javascript/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>clipboard</title>
|
||||
<link>/en/tags/clipboard/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/clipboard/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>PC</title>
|
||||
<link>/en/tags/pc/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/pc/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>ssh</title>
|
||||
<link>/en/tags/ssh/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/ssh/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>termux</title>
|
||||
<link>/en/tags/termux/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/termux/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Windows</title>
|
||||
<link>/en/tags/windows/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/windows/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>search engine</title>
|
||||
<link>/en/tags/search-engine/</link>
|
||||
|
@ -85,6 +50,13 @@
|
|||
<guid>/en/tags/tdict/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>termux</title>
|
||||
<link>/en/tags/termux/</link>
|
||||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/termux/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>tools</title>
|
||||
<link>/en/tags/tools/</link>
|
||||
|
@ -99,5 +71,33 @@
|
|||
<guid>/en/tags/curl/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>clipboard</title>
|
||||
<link>/en/tags/clipboard/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/clipboard/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>PC</title>
|
||||
<link>/en/tags/pc/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/pc/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>ssh</title>
|
||||
<link>/en/tags/ssh/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/ssh/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Windows</title>
|
||||
<link>/en/tags/windows/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/tags/windows/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<span>Text selection</span>
|
||||
<a href="../../textprocess">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -6,23 +6,21 @@
|
|||
<description>Recent content in PC on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/en/tags/pc/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<span>Text selection</span>
|
||||
<a href="../../textprocess">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -6,23 +6,21 @@
|
|||
<description>Recent content in ssh on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/en/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -42,12 +42,6 @@
|
|||
<h1 class="title">termux</h1>
|
||||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<span>Text selection</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="../../tools">
|
||||
<span>Tools</span>
|
||||
|
@ -60,6 +54,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="../../textprocess">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<ul>
|
||||
</div>
|
||||
|
|
|
@ -6,24 +6,8 @@
|
|||
<description>Recent content in termux on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate>
|
||||
<lastBuildDate>Sun, 06 Sep 2020 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/en/tags/termux/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Tools</title>
|
||||
<link>/en/tools/</link>
|
||||
|
@ -52,5 +36,20 @@ The &quot;[file extension]&quot; part can have at most two-segment of ex
|
|||
&quot;[mimetype]&quot; indicates the type of &quot;[command line]&quot; output.
|
||||
&quot;[command line]&quot; is same as the one in default.cmds. The most often used replacements are:</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<span>Text selection</span>
|
||||
<a href="../../textprocess">
|
||||
<span>Text selection/processing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -6,23 +6,21 @@
|
|||
<description>Recent content in Windows on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Sat, 23 Apr 2022 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/en/tags/windows/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/en/pccopy/</guid>
|
||||
<title>Text selection/processing</title>
|
||||
<link>/en/textprocess/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>/en/textprocess/</guid>
|
||||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||||
Copy selected text with html format to clipboard
|
||||
Search with home screen
|
||||
google Translate
|
||||
bing translate
|
||||
deepL
|
||||
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:
|
||||
The file &quot;default.select&quot; defines text processing 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:
|
||||
[Name]:[mimetype]:[command line]
|
||||
[mimetype] specifies input/output for [command line].
|
||||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.</description>
|
||||
[mimetype] specifies input/output for [command line].</description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
128
en/textprocess/index.html
Normal file
128
en/textprocess/index.html
Normal file
|
@ -0,0 +1,128 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||
<title>Text selection/processing</title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
||||
|
||||
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">Text selection/processing
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
<li><a href="../tags/termux">termux</a> </li>
|
||||
|
||||
<li><a href="../tags/ssh">ssh</a> </li>
|
||||
|
||||
<li><a href="../tags/PC">PC</a> </li>
|
||||
|
||||
<li><a href="../tags/clipboard">clipboard</a> </li>
|
||||
|
||||
<li><a href="../tags/Windows">Windows</a> </li>
|
||||
|
||||
</ul>
|
||||
<p>Click the following links to install menus for long pressing the button "link":<br>
|
||||
<a href="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
|
||||
<p><a href="i:0gdefault.select::Home:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search%5C location.href=%5C%22i:15;cat;printf %5C%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:printf https://www.deepl.com/translator-mobile#auto/en/;cat|sed 's/ /%2520/g'%0A">deepL</a></p>
|
||||
<p>The file "default.select" defines text processing 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>
|
||||
[Name]:[mimetype]:[command line]</p>
|
||||
<p>[mimetype] specifies input/output for [command line].<br>
|
||||
It formats as "[input mimetype]/[output mimetype]".<br>
|
||||
[input mimetype] can be the following:</p>
|
||||
<ul>
|
||||
<li>"html": rich text</li>
|
||||
<li>"" (empty): text</li>
|
||||
<li>".js" file name under configuration folder. The js file is evaluated and its return value is passed to [command line] as standard input.</li>
|
||||
</ul>
|
||||
<p>[output mimetype] is same as the one defined in "<a href="../cmds/index.html">Commands</a>".</p>
|
||||
<ul>
|
||||
<li>regular mimetype such as "text/html": output as the mimetype</li>
|
||||
<li>"uweb": output as links</li>
|
||||
<li>"uwebA": output as "A" link, all characters including newlines are part of the link.</li>
|
||||
<li>"clip": output to clipboard</li>
|
||||
<li>"termux": output as termux command</li>
|
||||
</ul>
|
||||
<p><a target="_self" href="i:0hcheck.js:../../zh/searchurl/txt/check.js">checked.js</a>: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][<em>[postfix]]". For example, "file:///sdcard/?</em>.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).</p>
|
||||
<p>default.select sample file:<br>
|
||||
copy2addressbar:/uweb:printf i:15;cat<br>
|
||||
copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>
|
||||
<p>Here we assume that the user PC has IP address as "192.168.2.102".<br>
|
||||
To use ssh or scp, users need to install uweb compatible Termux provided on the <a href="../index.html">uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>
|
||||
PCs need command "xsel" available to operate on copy/paste.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
if(location.href.indexOf("/zh/")>0){
|
||||
var script = document.createElement("script");
|
||||
script.type = "text/javascript";
|
||||
script.src = "../../js/gissues.js";
|
||||
script.setAttribute("repo","jamesfengcao/uweb");
|
||||
script.setAttribute("issue-term","title");
|
||||
script.setAttribute("theme","github-light");
|
||||
script.async = true;
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
</script>
|
||||
<script id='jsgiscus'
|
||||
src='https://giscus.app/client.js'
|
||||
data-repo="torappinfo/uweb"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
|
||||
data-category="Announcements"
|
||||
data-category-id="DIC_kwDOEgNLGc4CQjsh"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="light"
|
||||
data-lang="en"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous" async>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -46,11 +46,12 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p><strong>To show web pages in desktop mode</strong>:<br>
|
||||
<p><strong>Text processing for clipboard data</strong>:<br>
|
||||
On home screen, pressing the sharing button of the bottom toolbar popups the <a href="../textprocess/index.html">text processing menu</a> for clipboard data.</p>
|
||||
<p><strong>To show web pages in desktop mode</strong>:<br>
|
||||
PC button + option "wide viewport" + global js "force page resizable".</p>
|
||||
<p><strong>Playing audio when screen off</strong><br>
|
||||
Option "Floating video" + video fullscreen playing</p>
|
||||
<p><a href="../bookmark/index.html"><b>Use POST-type search engine as bookmark to auto login</b></a></p>
|
||||
<p><strong>Multiple home screens and Next/Prev page</strong>:<br>
|
||||
home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.mht(or .html or .search) ... with long pressing the left arrow.</p>
|
||||
<p>Click download button on the bottom toolbar to save remote webpage, the resulted offline file can be used as one of the home screens.</p>
|
||||
|
@ -58,8 +59,8 @@ home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ...
|
|||
With <a href="../bookmark/index.html">bookmark</a>, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 2 April 2023<br>
|
||||
sync newbinggogo<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
<sitemap>
|
||||
<loc>en/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2023-11-29T15:19:08+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:53:02+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
<sitemap>
|
||||
<loc>zh/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2023-11-23T11:32:59+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:52+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
|
|
|
@ -318,9 +318,9 @@ gozer 广告屏蔽样式
|
|||
</item>
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
|
@ -61,14 +61,14 @@
|
|||
"clip/text/html" : 以剪贴板作为命令输入,输出结果mimetype类型为“text/html”。<br>
|
||||
"termux/*": 在termux中执行命令。<br>
|
||||
"/uweb": 输出结果作为<a href="../links/index.html">链接</a>来处理。</p>
|
||||
<p>下面是笔者使用的default.cmds配置(<a href="../pccopy/index.html">命令具体解释</a>):</p>
|
||||
<p>下面是笔者使用的default.cmds配置(<a href="../textprocess/index.html">命令具体解释</a>):</p>
|
||||
<pre>复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
|
||||
PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -o"
|
||||
</pre>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 28 January 2023<br>
|
||||
minor changes for zh<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -44,12 +44,12 @@
|
|||
</ul>
|
||||
<p><a href="..">超微浏览器</a>访问以"/"结尾 (包括"/?"及后面参数)的"file://" url,则进入文件管理器。</p>
|
||||
<p>对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有IMG开头的文件。此时可选定文件,并<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">安装checked.js</a>对选取文件进行批量处理。</p>
|
||||
<p>文件批量处理配置<a href="../pccopy">default.select</a>例子:<br>
|
||||
<p>文件批量处理配置<a href="../textprocess/index.html">default.select</a>例子:<br>
|
||||
图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 14 February 2023<br>
|
||||
i:0h to use relative path<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
"<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>":<a href="../cmds/index.html">长按“历史”按钮配置</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.link">default.link</a>":<a href="../links/index.html">长按“书签”按钮配置</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>":<a href="../rjs/index.html">远程及简单脚本</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>":<a href="../pccopy/index.html">长按“链接”按钮配置</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>":<a href="../textprocess/index.html">长按“链接”按钮配置</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.input">default.input</a>":每行一个网页常用输入短语<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.gesture">default.gesture</a>":格式与文件<a href="../links/index.html">default.link</a>完全相同,定义<a href="../gesture/index.html">地址栏下方手势操作</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.gesture2">default.gesture2</a>":右边缘手势操作,类似default.gesture。<br>
|
||||
|
@ -101,8 +101,8 @@
|
|||
"shortcut/":动态shortcut刷新目录,若不存在则默认为"bookmark"目录。</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 25 October 2023<br>
|
||||
add en/_posts/tcron.md<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="pccopy/index.html">
|
||||
<a href="textprocess/index.html">
|
||||
<span>操作选中(富)文本/元素</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -520,9 +520,9 @@ Selection to paragraph:;let g='paragraph';getSelection().modify('mov
|
|||
</item>
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/zh/_posts/</loc>
|
||||
<lastmod>2023-11-23T11:32:59+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:29+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -16,7 +16,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/</loc>
|
||||
<lastmod>2023-11-23T11:32:59+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:52+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -42,7 +42,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/</loc>
|
||||
<lastmod>2023-06-17T07:56:09+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:00+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -139,7 +139,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/topposts/</loc>
|
||||
<lastmod>2023-06-05T16:02:35+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:52+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -178,7 +178,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/sitemap/</loc>
|
||||
<lastmod>2022-10-21T15:19:11+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:52+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -291,7 +291,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/ssh/</loc>
|
||||
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:00+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -304,7 +304,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/termux/</loc>
|
||||
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:00+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -329,21 +329,21 @@
|
|||
href="/zh/tags/windows/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/pccopy/</loc>
|
||||
<loc>/zh/textprocess/</loc>
|
||||
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/pccopy/"
|
||||
href="/en/textprocess/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/pccopy/"
|
||||
href="/zh/textprocess/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/%E5%89%AA%E8%B4%B4%E6%9D%BF/</loc>
|
||||
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:00+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/zh/globalcss/</loc>
|
||||
<lastmod>2023-02-14T14:44:38+08:00</lastmod>
|
||||
|
@ -359,7 +359,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/filenames/</loc>
|
||||
<lastmod>2023-10-25T13:06:41+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:29+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -372,7 +372,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/filemanager/</loc>
|
||||
<lastmod>2023-02-14T14:42:33+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:54:33+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/zh/bc/</loc>
|
||||
<lastmod>2022-09-24T14:06:03+08:00</lastmod>
|
||||
|
@ -503,7 +503,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/cmd/</loc>
|
||||
<lastmod>2023-01-28T09:50:00+08:00</lastmod>
|
||||
<lastmod>2023-12-01T15:55:00+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/zh/readme/</loc>
|
||||
<lastmod>2023-11-14T09:24:14+08:00</lastmod>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<li><a href="../links/index.html">常用链接</a></li>
|
||||
<li><a href="../cmds/index.html">常用命令</a></li>
|
||||
<li><a href="../searchurl/rjs.html">远程脚本</a></li>
|
||||
<li><a href="../searchurl/pccopy/index.html">选中文本类菜单</a></li>
|
||||
<li><a href="../searchurl/textprocess/index.html">选中文本类菜单</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="../longclick/index.html">长按链接弹出菜单</a></li>
|
||||
|
@ -119,8 +119,8 @@
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 21 October 2022<br>
|
||||
fix UI mirrors<br>
|
||||
<p>Last Modified: 1 December 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<a href="../../textprocess">
|
||||
<span>操作选中(富)文本/元素</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
<atom:link href="/zh/tags/pc/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<a href="../../textprocess">
|
||||
<span>操作选中(富)文本/元素</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
<atom:link href="/zh/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<a href="../../textprocess">
|
||||
<span>操作选中(富)文本/元素</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
<atom:link href="/zh/tags/termux/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<a href="../../textprocess">
|
||||
<span>操作选中(富)文本/元素</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
<atom:link href="/zh/tags/windows/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<ul class="posts">
|
||||
|
||||
<li class="post">
|
||||
<a href="../../pccopy">
|
||||
<a href="../../textprocess">
|
||||
<span>操作选中(富)文本/元素</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
<atom:link href="/zh/tags/%E5%89%AA%E8%B4%B4%E6%9D%BF/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<link>/zh/pccopy/</link>
|
||||
<link>/zh/textprocess/</link>
|
||||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||||
<guid>/zh/pccopy/</guid>
|
||||
<guid>/zh/textprocess/</guid>
|
||||
<description>点击以下链接可安装长按“链接”按钮菜单:
|
||||
bing翻译
|
||||
papago翻译
|
||||
|
|
129
zh/textprocess/index.html
Normal file
129
zh/textprocess/index.html
Normal file
|
@ -0,0 +1,129 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||
<title>操作选中(富)文本/元素</title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
||||
|
||||
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('en')">English</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">操作选中(富)文本/元素
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
<li><a href="../tags/termux">termux</a> </li>
|
||||
|
||||
<li><a href="../tags/ssh">ssh</a> </li>
|
||||
|
||||
<li><a href="../tags/PC">PC</a> </li>
|
||||
|
||||
<li><a href="../tags/%e5%89%aa%e8%b4%b4%e6%9d%bf">剪贴板</a> </li>
|
||||
|
||||
<li><a href="../tags/Windows">Windows</a> </li>
|
||||
|
||||
</ul>
|
||||
<p>点击以下链接可安装长按“链接”按钮菜单:<br>
|
||||
<a href="i:0gdefault.select::bing翻译:/uweb:printf 'https://cn.bing.com/translator/?from=&to=zh-Hans&text=';cat|tr ' ' '%2B'%0A">bing翻译</a><br>
|
||||
<a href="i:0gdefault.select::papago翻译:/uweb:printf 'https://papago.naver.com/?sk=auto&tk=zh-CN&st=';cat|tr ' ' '%2B'%0A">papago翻译</a></p>
|
||||
<p><a href="i:0gdefault.select::iciba:/uweb:printf 'https://m.iciba.com/';cat|tr ' ' '%2B'%0A">iciba</a><br>
|
||||
<a href="i:0gdefault.select::百度翻译:/uweb:printf 'https://fanyi.baidu.com/#auto/zh/';cat|tr ' ' '%2B'%0A">百度翻译</a><br>
|
||||
<a href="i:0gdefault.select::有道翻译:/uweb:printf 'https://m.youdao.com/translate?type=AUTO&inputtext=';cat|tr ' ' '%2B'%0A">有道翻译</a><br>
|
||||
<a href="i:0gdefault.select::搜狗翻译:/uweb:printf 'https://translate.sogou.com/text?transfrom=auto&transto=zh-CHS&model=general&keyword=';cat|tr ' ' '%2B'%0A">搜狗翻译</a></p>
|
||||
<p><a href="i:0gdefault.select::彩云小译:/uweb:print 'https://fanyi.caiyunapp.com/#/ {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,%22input%22);tE(s,%22keyup%22)}'%0A">彩云小译</a><br>
|
||||
<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><a target="_self" href="i:0gdefault.select:../searchurl/txt/select.cfg">点击安装"保存文本"等</a></p>
|
||||
<p>重启浏览器,长按“链接”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。</p>
|
||||
<p>配置文件"default.select"定义了<a href="..">超微浏览器</a>对选中(富)文本/元素进行的操作。没有任何选中元素则以整个网页为操作对象。每行格式如下:<br>
|
||||
[菜单名]:[mimetype]:[命令行]</p>
|
||||
<p>选中(富)文本作为命令行的标准输入,而标准输出根据mimetype进行相应处理。<br>
|
||||
mimetype用来表示命令的输入输出类型。格式为"[输入mimetype]/[输出mimetype]","[输入mimetype]"可为"html"或空(txt格式)或为以超微配置目录为基准的相对路径.js文件名; 输出可为标准的mimetype或超微特殊扩充。如:<br>
|
||||
html/text/html: 选中富文本为html格式, 输出mimetype为text/html。<br>
|
||||
/uweb: 选中文本为txt格式, 输出mimetype为<a href="../cmd">特殊扩充uweb</a>,超微将把输出作为<a href="../links">链接</a>来处理。<br>
|
||||
/uwebA: 超微将把输出作为"单一"链接来处理。<br>
|
||||
/termux: 命令运行结果将作为termux下命令运行。<br>
|
||||
<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">checked.js</a>: 运行配置目录下checked.js,其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][<em>[文件后缀]]"。譬如"file:///sdcard/?</em>.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)</p>
|
||||
<p>配置default.select如下:<br>
|
||||
复制文本到地址栏:/uweb:printf i:15;cat<br>
|
||||
复制至PC剪贴板::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>
|
||||
<p>如使用剪贴板功能手机需安装uweb定制<a href="../pcdown">Termux</a>,并在termux下安装openssl。<br>
|
||||
此处假定远程PC的IP地址为192.168.2.102,PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录,此时用户无需将密码写入文件default.select。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。</p>
|
||||
<p>采用以上配置,笔记将储存在应用内部目录下文件note.txt或note.html中(富文本)。命名笔记储存文件则由用户在地址栏输入框内指定。</p>
|
||||
<p>手机其它应用中的文本可选中后分享给超微浏览器,再由超微浏览器作笔记或进一步分享给PC。如果其它应用无法分享选中文本,这种情况可以先复制文本至剪贴板。长按链接按钮选择适当功能即可复制至PC剪贴板。</p>
|
||||
<h4 id="windows-pc">Windows PC</h4>
|
||||
<p>对Windows PC而言,vista及以后自带clip.exe,此时配置如下:<br>
|
||||
复制文本至PC剪贴板::ssh [user:password]@192.168.2.102 clip.exe</code></p>
|
||||
<p>其它推荐工具(读取PC剪贴板):<br>
|
||||
<a href="http://unxutils.sourceforge.net/">pclip</a></p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 17 April 2023<br>
|
||||
rename pccopy.md to textprocess.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
if(location.href.indexOf("/zh/")>0){
|
||||
var script = document.createElement("script");
|
||||
script.type = "text/javascript";
|
||||
script.src = "../../js/gissues.js";
|
||||
script.setAttribute("repo","jamesfengcao/uweb");
|
||||
script.setAttribute("issue-term","title");
|
||||
script.setAttribute("theme","github-light");
|
||||
script.async = true;
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
</script>
|
||||
<script id='jsgiscus'
|
||||
src='https://giscus.app/client.js'
|
||||
data-repo="torappinfo/uweb"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
|
||||
data-category="Announcements"
|
||||
data-category-id="DIC_kwDOEgNLGc4CQjsh"
|
||||
data-mapping="title"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="light"
|
||||
data-lang="en"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous" async>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue