<p>Click the following links to install menus for long pressing the button "link":<br>
<ahref="i:0gdefault.select::copyHtml:html/clip:%0A">Copy selected text with html format to clipboard</a></p>
<p><ahref="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>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 "<ahref="../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><atarget="_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>
To use ssh or scp, users need to install uweb compatible Termux provided on the <ahref="/en/">uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>