update mirrors

This commit is contained in:
James Feng Cao 2024-04-02 09:39:01 +08:00
parent b7b4361758
commit 4b66fe2881
160 changed files with 10810 additions and 851 deletions

View File

@ -1,6 +1,6 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" /><base href=../zh/><title>使用攻略</title></head><body>
<center><b>使用攻略</b> <a href="i:1fhelp_en">English</a></center>
<a href="i:0m?:https://atomgit.com/jamesfengcao/uweb/raw/master/redirect.html">更新、插件、设置及技巧</a> (
<a href="i:0mi:5h:https://gitee.com/jamesfengcao/uweb/raw/master/redirect.html">更新、插件、设置及技巧</a> (
<a href="https://jamesfengcao.gitlab.io/uweb/zh/">gitlab</a>
<a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html">repo</a>
<a href="https://jamesfengcao.codeberg.page/zh/">codeberg</a>
@ -20,7 +20,7 @@
<b>常用链接::</b><br>
<a href="i:61ver:https://gitee.com/jamesfengcao/uweb/raw/master/latest.html">检测并下载最新版</a><br>
<a href="i:61:https://atomgit.com/jamesfengcao/uweb/raw/master/zh/searchurl/func.html">界面配置及杂项</a>(<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/zh/searchurl/func.html">gitee镜像</a>)<br>
<a href="i:61:https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/searchurl/func.html">界面配置及杂项</a>(<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/zh/searchurl/func.html">gitee镜像</a>)<br>
<a href="i:60/data/data/info.torapp.uweb/files/config.html:https://gitee.com/jamesfengcao/uweb/raw/master/zh/searchurl/config.html">高级个性化定制</a><br>
<a target="_blank" href="file:///data/data/info.torapp.uweb/files/">内部目录</a>
<a target="_blank" href="file:///data/data/info.torapp.uweb/files/bookmark/">分类书签</a>
@ -127,7 +127,7 @@
<b><a id="mirrors">更多镜像</a>::</b><br>
<a href="i:0mi:5h:https://gitee.com/jamesfengcao/uweb/raw/master/redirect.html">试验1</a>
<a href="i:0m?:https://gitcode.net/uweb/uweb/-/raw/master/redirect.html">2</a>
<a href="i:0m?:https://atomgit.com/jamesfengcao/uweb/raw/master/redirect.html">3</a>
<a href="i:0m?:https://raw.gitcode.com/uweb/uweb/raw/master/redirect.html">4</a>
<a href="i:0m?:https://gitea.com/torappinfo/uweb/raw/branch/master/redirect.html">5</a>
@ -150,7 +150,6 @@
<a href="i:0m?:https://gitly.org/jamesfengcao/uweb/raw/master/redirect.html">gitly</a>
<a href="i:0m?:https://gitnet.fr/jamesfengcao/uweb/raw/branch/master/redirect.html">gitnet</a>
<a href="i:0m?:https://repo.palemoon.org/jamesfengcao/uweb/raw/branch/master/redirect.html ">palemoon</a>
<a href="i:0m?:https://phkn.info/jamesfengcao/uweb/raw/branch/master/redirect.html">phkn</a>
<a href="i:0m?:https://tildegit.org/jamesfengcao/uweb/raw/branch/master/redirect.html">tilde</a>
<a href="i:0m?:https://git.dotclear.org/jamesfengcao/uweb/raw/branch/master/redirect.html">dotclear</a>
<a href="i:0m?:https://git.minetest.land/jamesfengcao/uweb/raw/branch/master/redirect.html ">minetest</a>

8
en/_posts.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<ul>
</ul>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>_Posts on uweb browser: unlimited power</title>
<link>/en/_posts/</link>
<link>/en/_posts.html</link>
<description>Recent content in _Posts on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,163 +10,163 @@
<atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
<link>/en/textprocess.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/textprocess/</guid>
<guid>/en/textprocess.html</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:&#xA;Copy selected text with html format to clipboard&#xA;Search with home screen&#xA;google Translate&#xA;bing translate&#xA;deepL&#xA;The file &amp;quot;default.select&amp;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:&#xA;[Name]:[mimetype]:[command line]&#xA;[mimetype] specifies input/output for [command line].</description>
</item>
<item>
<title>Links</title>
<link>/en/links/</link>
<link>/en/links.html</link>
<pubDate>Sat, 28 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<guid>/en/links.html</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):&#xA;Capture long screenshot (need long screenshot mode)&#xA;Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y&#xA;Extend site cookies to 10 years&#xA;Clear site cookies&#xA;VPN&#xA;Switch configuration&#xA;Wait for network msg&#xA;Certificate info&#xA;Backup to box.com&#xA;Restore from box.com&#xA;upload to box.com&#xA;More webdav link menu items&#xA;Web fullscreen&#xA;Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.</description>
</item>
<item>
<title>cron</title>
<link>/en/tcron/</link>
<link>/en/tcron.html</link>
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/tcron/</guid>
<guid>/en/tcron.html</guid>
<description>crontab (with enhanced semantics) For performance, the file &amp;quot;crontab&amp;quot; uses single space as field separator. Letters are not suppored currently. So use &amp;quot;1&amp;quot; for &amp;quot;January&amp;quot; and 2 for &amp;quot;Tuesday&amp;quot; etc.&#xA;The sixth field in crontab file could be in the format of internal links. Specifically, &amp;quot;c:&amp;quot; to execute the following commands in termux and &amp;quot;!&amp;quot; to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.</description>
</item>
<item>
<title>Offline resources</title>
<link>/en/offlinecache/</link>
<link>/en/offlinecache.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/offlinecache/</guid>
<guid>/en/offlinecache.html</guid>
<description>Offline resources locate in the folder &amp;quot;sitecache&amp;quot;. With the option &amp;quot;use offline resources&amp;quot; enabled, the corresponding files in &amp;quot;sitecache/[domain name]/[full path including filename, the url path part]&amp;quot; are loaded first before reaching the network.&#xA;bingChat UI Install bingChat UI ai.html for censored area (bingChat UI)&#xA;Install bingWrite UI write.html for censored area (bingWrite)&#xA;Install bingAI image creator UI draw.html for censored area (bingAI image creator)&#xA;Serverless local sites Click to install url service that extracts web apps to the folder &amp;quot;sitecache/local/&amp;quot;: support web extensions (.</description>
</item>
<item>
<title>Resource redirection</title>
<link>/en/redirect/</link>
<link>/en/redirect.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid>
<guid>/en/redirect.html</guid>
<description>Redirection forwards cookies with the setting option &amp;quot;Redirect cookies&amp;quot; enabled, so use the options with care.&#xA;Setting options: &amp;quot;Url redirection&amp;quot; vs. &amp;quot;Resource redirection&amp;quot; &amp;quot;Url redirection&amp;quot; redirects the main/page url only while &amp;quot;Resource redirection&amp;quot; is for all urls in the page.&#xA;Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot; or both &amp;quot;Url redirection&amp;quot; and &amp;quot;Redirect cookies&amp;quot;.&#xA;When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item>
<item>
<title>Hosts files</title>
<link>/en/adblock_domain/</link>
<link>/en/adblock_domain.html</link>
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<guid>/en/adblock_domain.html</guid>
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect with the setting option &amp;quot;use hosts&amp;quot;.&#xA;hosts The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:&#xA;[[IP address][attributes]][single space][domain name]&#xA;where &amp;quot;[[IP address][attributes]]&amp;quot; could be:&#xA;ipv4 address such as:&#xA;172.67.157.211 torapp.eu.org&#xA;ipv6 address, Ex.:&#xA;[2606:4700:3037::6815:8c3] torapp.eu.org&#xA;empty, that would lift all server-imposed limitations. Ex.:&#xA;[single space]gitee.com&#xA;which will make all git repositories on the domain visitable as websites with raw file access url.</description>
</item>
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<link>/en/sitejs.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<guid>/en/sitejs.html</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
<item>
<title>Bookmarks</title>
<link>/en/bookmark/</link>
<link>/en/bookmark.html</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/bookmark/</guid>
<guid>/en/bookmark.html</guid>
<description>AI, chatgpt etc.&#xA;google gemini komo andi devv.ai poe freegpt teach-anything magickpen Wait for url from other devices&#xA;berify: reverse image search for video&#xA;Tips File handling and styling with home.css &amp;quot;home.css&amp;quot; (in current folder, parent folder or the &amp;quot;bookmark&amp;quot; folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs &amp;quot;&amp;lt;style&amp;gt;&amp;quot; tag for CSS.&#xA;Install markdeep styling for markdown files</description>
</item>
<item>
<title>Tips</title>
<link>/en/tips/</link>
<link>/en/tips.html</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tips/</guid>
<guid>/en/tips.html</guid>
<description>Text processing for clipboard data:&#xA;On home screen, pressing the sharing button of the bottom toolbar popups the text processing menu for clipboard data.&#xA;To show web pages in desktop mode:&#xA;PC button + option &amp;quot;wide viewport&amp;quot; + global js &amp;quot;force page resizable&amp;quot;.&#xA;Playing audio when screen off&#xA;Option &amp;quot;Floating video&amp;quot; + video fullscreen playing&#xA;Multiple home screens and Next/Prev page:&#xA;home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), .</description>
</item>
<item>
<title>Address bar command line</title>
<link>/en/acmd/</link>
<link>/en/acmd.html</link>
<pubDate>Sun, 08 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/acmd/</guid>
<guid>/en/acmd.html</guid>
<description>&amp;quot;:!&amp;quot; ( or &amp;quot;!&amp;quot;) command line Pressing &amp;quot;:&amp;quot; or &amp;quot;!&amp;quot; with hardware keyboard sets focus on the address bar.&#xA;The command line could be a &amp;quot;.js&amp;quot;, &amp;quot;.sh&amp;quot; or other executable with arguments. Ex. &amp;quot;:!s g keyword&amp;quot; could invoke &amp;quot;s.js&amp;quot; executable with the whole string as arguments (&amp;quot;s.sh&amp;quot; or &amp;quot;s&amp;quot; if file exists, here &amp;quot;g&amp;quot; as google search engine); &amp;quot;:! g keyword&amp;quot; would invoke the file &amp;quot;.js&amp;quot; or &amp;quot;.sh&amp;quot; as executable.</description>
</item>
<item>
<title>Make any url as website</title>
<link>/en/url2site/</link>
<link>/en/url2site.html</link>
<pubDate>Sun, 30 Oct 2022 00:00:00 +0000</pubDate>
<guid>/en/url2site/</guid>
<guid>/en/url2site.html</guid>
<description>The uweb internal link &amp;quot;i:0m&amp;quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:&#xA;&amp;quot;i:0m04:[url]&amp;quot;: to treat the [url] content as html with bookmarklet. &amp;quot;i:0m?:[url]&amp;quot;: to treat the [url] content as html, handling css/js properly. &amp;quot;i:0m?[postfix]:[url]&amp;quot;: auto append query postfix to url to retrieve content. &amp;quot;i:0mi:5h:[url]&amp;quot;: similar to &amp;quot;i:0m?:[url]&amp;quot;, to treat the [url] content as html (for download or no-script links etc.</description>
</item>
<item>
<title>Html5 applications</title>
<link>/en/html5/</link>
<link>/en/html5.html</link>
<pubDate>Sun, 02 Oct 2022 00:00:00 +0000</pubDate>
<guid>/en/html5/</guid>
<guid>/en/html5.html</guid>
<description>This page is for uweb browser.&#xA;Click to install the following html5 apps:&#xA;Huge markdown file viewer&#xA;Huge markdown+katex file viewer (Tex formulas)&#xA;Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)&#xA;plyr video player&#xA;dplayer video player&#xA;pdf viewer&#xA;epub reader (authorllili)&#xA;djvu viewer&#xA;The corresponding menus can be installed with url services.&#xA;Features The following mentioned subfolders locate in the configuration folder.&#xA;The following html5 applications are allowed to read local files referred by &amp;quot;https://local/sdcard/.</description>
</item>
<item>
<title>Configuration folders/files</title>
<link>/en/filenames/</link>
<link>/en/filenames.html</link>
<pubDate>Thu, 30 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/filenames/</guid>
<guid>/en/filenames.html</guid>
<description>All folders end with character &amp;quot;/&amp;quot; and others are files. All folders/files locate in &amp;quot;/data/data/info.torapp.uweb/files&amp;quot;:&#xA;&amp;quot;css/&amp;quot;: global css folder&#xA;&amp;quot;js/&amp;quot;: global script folder&#xA;&amp;quot;sitejs/&amp;quot;: script folder for domains&#xA;&amp;quot;sitecss/&amp;quot;:CSS folder for domains&#xA;&amp;quot;bookmarklet/&amp;quot;:bookmarklets, long pressing the &amp;quot;JS&amp;quot; button to execute.&#xA;&amp;quot;offline/&amp;quot;: to save offline pages&#xA;&amp;quot;sbookmark/&amp;quot;: to save super bookmarks&#xA;&amp;quot;sitecache/&amp;quot;:offline cache&#xA;&amp;quot;longclick/&amp;quot;: menus to appear when long-pressing hypertext (js files)&#xA;&amp;quot;icon/&amp;quot;:customized icons&#xA;&amp;quot;app[XXX]/&amp;quot;:html5 applications&#xA;&amp;quot;default.longclick&amp;quot;: to configure menus when long-pressing hypertext.</description>
</item>
<item>
<title>AD blocking</title>
<link>/en/adblock/</link>
<link>/en/adblock.html</link>
<pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/adblock/</guid>
<guid>/en/adblock.html</guid>
<description>Host blocking。&#xA;Use bookmarklet &amp;quot;list all script urls&amp;quot; to generate url links, long pressing dubious script (usually 3rd-party library) link, click &amp;quot;Block domain root&amp;quot;. Javascript and CSS for domains。&#xA;Long press the button &amp;quot;js&amp;quot;, click the menu &amp;quot;MarkAD mode&amp;quot;. In &amp;quot;markAD mode&amp;quot;, click page element to show all attributes and generate CSS AD blocking styles. By default, &amp;quot;display:none&amp;quot; is used. If &amp;quot;display&amp;quot; appears in the attribute information, recommend to use &amp;quot;transform:scale(0)!</description>
</item>
<item>
<title>Bookmarklets</title>
<link>/en/bookmarklet/</link>
<link>/en/bookmarklet.html</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/bookmarklet/</guid>
<guid>/en/bookmarklet.html</guid>
<description>With a href=&amp;quot;../index.html&amp;quot;&amp;gt;uweb browser, long pressing any bookmarklet link, click &amp;quot;Open in new tab&amp;quot;, the bookmarklet will be run on the last other tab.&#xA;List all script urls&#xA;User agent&#xA;Cookie&#xA;Source code&#xA;Last modified date&#xA;Eruda: mobile console&#xA;QR code generation&#xA;Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;&#xA;Shows all form elements&#xA;Enables all form elements&#xA;Toggle checkboxes&#xA;Check all checkboxes&#xA;Uncheck all checkboxes&#xA;Toggle all checkboxes in forms&#xA;Enable selection</description>
</item>
<item>
<title>CSS styles</title>
<link>/en/globalcss/</link>
<link>/en/globalcss.html</link>
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/globalcss/</guid>
<guid>/en/globalcss.html</guid>
<description>Uweb browser loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:&#xA;Clearing font settings&#xA;The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:&#xA;webview 81+ night mode&#xA;webview 80- night mode&#xA;Earliest loaded global js The &amp;quot;.js&amp;quot; files under the folder &amp;quot;css&amp;quot; are loaded as earlier as possible on the page.</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>
<link>/en/icons.html</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/en/icons/</guid>
<guid>/en/icons.html</guid>
<description>If subfolder &amp;quot;icon&amp;quot; exists, then files named as &amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...&#xA;are used for icons in the bottom toolbar. file &amp;quot;0&amp;quot; to replace the left arrow button, &amp;quot;1&amp;quot; for right arrow button, &amp;quot;2&amp;quot; for the setting button,&amp;quot;3&amp;quot; for the home screen button,...&#xA;If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also supports VectorDrawable with &amp;quot;android compiled XML&amp;quot; format. All icon files must be either all compiled VectorDrawables or common image formats.</description>
</item>
<item>
<title>Search engine files</title>
<link>/en/searchcat/</link>
<link>/en/searchcat.html</link>
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
<guid>/en/searchcat/</guid>
<guid>/en/searchcat.html</guid>
<description>Any &amp;quot;.search&amp;quot; file can be opened as search engine file, each line of which has one of the following formats:&#xA;[Engine name]:[url without &#39;%s&#39; inside]&#xA;[Engine name]:[url with &#39;%s&#39; as keyword]&#xA;[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
<item>
<title>Termux</title>
<link>/en/termux/</link>
<link>/en/termux.html</link>
<pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate>
<guid>/en/termux/</guid>
<guid>/en/termux.html</guid>
<description>Only the termux versions provided along with uweb browser can work seamlessly. For android 10+, please install termux before installing uweb browser. If uweb is already installed, users can uninstall it first, then install termux and reinstall uweb browser.&#xA;Termux bookmarks Long pressing the following links then either &amp;quot;commands&amp;quot;-&amp;gt;&amp;quot;bookmark&amp;quot; to add bookmarks or &amp;quot;open in new tab&amp;quot; to execute.&#xA;GNU bc (basic calculator)&#xA;bc with all extensions&#xA;Click the following links to install termux configurations: .</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<link>/en/longclick.html</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<guid>/en/longclick.html</guid>
<description>To run commands Each line of file &amp;quot;default.longclick&amp;quot; has the following format: (same as default.cmds)&#xA;[Name]:[mimetype]:[command line]&#xA;in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.&#xA;To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;longclick&amp;quot; are part of the popup menu.&#xA;These javascript files are in the following format:&#xA;The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
<item>
<title>Tools</title>
<link>/en/tools/</link>
<link>/en/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tools/</guid>
<guid>/en/tools.html</guid>
<description>This page is for uweb browser.&#xA;install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).&#xA;install the indexes for &amp;quot;American heritage dictionary (en-en&amp;amp;zh with AHD/D.J./K.K. pronunciation)&amp;quot;&#xA;Install AHD to home screen&#xA;Indexes for &amp;quot;研究社新編英和活用大辞典(English usage: en-en&amp;amp;ja)&amp;quot;&#xA;Install &amp;quot;English usage (en-en&amp;amp;ja)&amp;quot;&#xA;Indexes for SOED6&#xA;install SOED&#xA;The following dictionaries work better with markdown processor.&#xA;Install markdown processor</description>
</item>
<item>
<title>Custom file handling</title>
<link>/en/filecap/</link>
<link>/en/filecap.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/en/filecap/</guid>
<guid>/en/filecap.html</guid>
<description>Long press the settings button, check the option &amp;quot;custom file handling&amp;quot; to enable the functionality.&#xA;The custom file handling configuration file is &amp;quot;default.filecap&amp;quot;, each line of it has the format as follows:&#xA;[file extension]:[mimetype]:[command line]&#xA;The &amp;quot;[file extension]&amp;quot; part can have at most two-segment of extensions such as &amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;.&#xA;&amp;quot;[mimetype]&amp;quot; indicates the type of &amp;quot;[command line]&amp;quot; output.&#xA;&amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
</item>
<item>
<title>Gestures</title>
<link>/en/gesture/</link>
<link>/en/gesture.html</link>
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
<guid>/en/gesture/</guid>
<guid>/en/gesture.html</guid>
<description>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &amp;quot;swipe to hide tools&amp;quot;; swipe on the bottom corners to show the toolbar.&#xA;Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.&#xA;Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &amp;quot;default.</description>
</item>
</channel>

89
en/acmd.html Normal file
View File

@ -0,0 +1,89 @@
<!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>Address bar command line</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Address bar command line
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<h3 id="--or--command-line">&quot;:!&quot; ( or &quot;!&quot;) command line</h3>
<p>Pressing &quot;:&quot; or &quot;!&quot; with hardware keyboard sets focus on the address bar.<br>
The command line could be a &quot;.js&quot;, &quot;.sh&quot; or other executable with arguments. Ex. &quot;:!s g keyword&quot; could invoke &quot;s.js&quot; executable with the whole string as arguments (&quot;s.sh&quot; or &quot;s&quot; if file exists, here &quot;g&quot; as google search engine); &quot;:! g keyword&quot; would invoke the file &quot;.js&quot; or &quot;.sh&quot; as executable.</p>
<p>For regular (non-js) executables, the standard output of the command line could be treated as lines of urls (or html, plain text).</p>
<p><a href="i:0h.js:../searchurl/txt/web.js">Install the example file &quot;.js&quot; (supporting search engine bundle)</a><br>
<a href="i:0hs.sh:../searchurl/txt/web.sh">Install the example file &quot;s.sh&quot;</a></p>
<p>Click the following links to make commands appear in address bar, then press &quot;enter&quot; to execute:<br>
<a href="i:15:!cd /data/data/com.termux/files/home;ln -s ../../../info.torapp.uweb/files uweb">Make uweb configuration folder accessible by file managers with termux installed</a><br>
(<a href="https://wiki.termux.com/wiki/Internal_and_external_storage">File manager list at end of the page</a>)</p>
<h3 id="address-bar-command-modes">Address bar command modes</h3>
<p><a href="../cmds/index.html">Commands</a> are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.</p>
<p>The configure file &quot;default.acmd&quot; has the exactly same format as <a href="../cmds/index.html">default.cmds</a>. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; button to switch modes):</p>
<p><a href="i:0gdefault.acmd::shell:text/plain:%25s%0A">Shell command mode</a></p>
<p><a href="i:0gdefault.acmd::bc:text/plain:echo '%25s'|bc -l -q%0A">GNU bc (basic calculator) command mode (need termux for Android 10- )</a></p>
<p><a href="i:0gdefault.acmd::plot 2D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
output;plot %25s'%0A">GNUPlot plot (2D function), needs uweb adapted termux &amp; gnuplot</a></p>
<p><a href="i:0gdefault.acmd::plot 3D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &amp; gnuplot</a></p>
</div>
<p>Last Modified: 18 February 2023<br>
use :! instead of shell commandline mode for file manager access<br>
<pre></pre>
</p>
<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>

111
en/adblock.html Normal file
View File

@ -0,0 +1,111 @@
<!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>AD blocking</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">AD blocking
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<ul>
<li>
<p><a href="../adblock_domain/index.html">Host blocking</a></p>
<ul>
<li>Use <a href="../bookmarklet/index.html">bookmarklet &quot;list all script urls&quot;</a> to generate url links, long pressing dubious script (usually 3rd-party library) link, click &quot;Block domain root&quot;.</li>
</ul>
</li>
<li>
<p><a href="../sitejs/index.html">Javascript and CSS for domains</a></p>
<ul>
<li>Long press the button &quot;js&quot;, click the menu &quot;MarkAD mode&quot;. In &quot;markAD mode&quot;, click page element to show all attributes and generate CSS AD blocking styles. By default, &quot;display:none&quot; is used. If &quot;display&quot; appears in the attribute information, recommend to use &quot;transform:scale(0)!important&quot; instead.</li>
</ul>
</li>
<li>
<p>Long press the tab manager button, check &quot;Videos only&quot; for video sites and &quot;Images only&quot; for image sites. Other AD blocking options are &quot;Hide pseudo elements&quot; and &quot;Hide iframes&quot;.</p>
<ul>
<li>Add prefix &quot;i:0mc32:&quot; to url when bookmarking, then the option &quot;Images only&quot; applies to whole url subtree. Similarly, &quot;c16&quot; for the option &quot;Videos only&quot; and &quot;c12&quot; for hiding both pseudo elements and iframes.</li>
<li>Long press the button [☰], check the option &quot;Fullscreen autoplay&quot;. Videos are autoplayed in fullscreen mode, ADs have no chance to appear.</li>
</ul>
</li>
<li>
<p>Long press the setting button, check the option &quot;Block external scripts&quot;. <a href="i:61:../searchurl/func.html">UI</a> website has option to also block dubious 3rd party resources. <a href="file:///data/data/info.torapp.uweb/files/js.allow">js.allow</a> whitelists js libraries.</p>
</li>
<li>
<p>Long press the button [☰], &quot;Disable floating ADs&quot;, &quot;Disable banners&quot;, &quot;clear all timers&quot;, &quot;stop events&quot; and &quot;Sleep ...&quot; are also available.</p>
</li>
<li>
<p>Click the button with image icon to hide all images.</p>
</li>
<li>
<p>Click the button &quot;JS&quot; to disable javascript.</p>
</li>
<li>
<p><a href="file:///data/data/info.torapp.uweb/files/url.deny">url.deny</a>: one giant regular expression for blocked urls (java grammar), in which carriage returns (CR or newline) are ignored and &quot;#&quot; is for comments.</p>
</li>
</ul>
</div>
<p>Last Modified: 20 February 2023<br>
use relative path<br>
<pre></pre>
</p>
<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>

117
en/adblock_domain.html Normal file
View File

@ -0,0 +1,117 @@
<!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>Hosts files</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">Hosts files
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/adblock/index.html#">adblock</a> </li>
</ul>
<p>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect with the setting option &quot;use hosts&quot;.</p>
<h4 id="hosts">hosts</h4>
<p>The <span style="color:red">enhanced</span> file <a href="file:///data/data/info.torapp.uweb/files/hosts">&quot;hosts&quot;</a> defines IP addresses/attributes for domains. Each line has the following format:<br>
[[IP address][attributes]][single space][domain name]</p>
<p>where &quot;[[IP address][attributes]]&quot; could be:</p>
<ul>
<li>
<p>ipv4 address such as:<br>
172.67.157.211 torapp.eu.org</p>
</li>
<li>
<p>ipv6 address, Ex.:<br>
[2606:4700:3037::6815:8c3] torapp.eu.org</p>
</li>
<li>
<p>empty, that would lift all server-imposed limitations. Ex.:<br>
[single space]gitee.com</p>
<p>which will make all git repositories on the domain visitable as websites with raw file access url.</p>
</li>
<li>
<p>response headers, separeded by ';', Ex.:<br>
Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true mybing.xn--xyza.top</p>
<p>which makes &quot;mybing2.xn--xyza.top&quot; to accept CORS requests with cookies.</p>
</li>
<li>
<p>IP address and response headers, separeded by ';', Ex.:<br>
104.21.8.195;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true uweb.torapp.eu.org</p>
</li>
<li>
<p>IP address, real domain name and response headers (Experimental), separeded by ';', Ex.:<br>
104.21.8.195;www.bing.com uweb.torapp.eu.org</p>
<p>which indicates the domain &quot;uweb.torapp.eu.org&quot; is just a proxy of &quot;www.bing.com&quot;, and as such, the cookies of &quot;www.bing.com&quot; would be used for &quot;uweb.torapp.eu.org&quot;.</p>
<p>To make life easier, use lower-case domain name (the first letter should not be a digital) and capitalize the first letter of response header names.</p>
</li>
</ul>
<h4 id="defaulthosts">default.hosts</h4>
<p><a href="file:///data/data/info.torapp.uweb/files/default.hosts">&quot;default.hosts&quot;</a> blocks whole domain trees including all descendant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &quot;yahoo.com&quot; and &quot;finance.yahoo.com&quot;. If the length of the last 2 segments is less than 7, such as &quot;com.pl&quot;, then it is treated as one segment, so domains like &quot;xxx.xxx.com.pl&quot; are also valid in the hosts file.</p>
<p>Each line of the hosts file has the following format:<br>
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without &quot;http(s)://&quot;]<br>
The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.</p>
</div>
<p>Last Modified: 13 May 2023<br>
update bingAI/js/optionsSets.js<br>
<pre></pre>
</p>
<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>

116
en/bookmark.html Normal file
View File

@ -0,0 +1,116 @@
<!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>Bookmarks</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">Bookmarks
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>AI, chatgpt etc.</p>
<ul>
<li><a href="https://gemini.google.com/app">google gemini</a></li>
<li><a href="https://komo.ai">komo</a></li>
<li><a href="https://andisearch.com">andi</a></li>
<li><a href="https://devv.ai">devv.ai</a></li>
<li><a href="https://poe.com">poe</a></li>
<li><a href="https://freegpt.cc">freegpt</a></li>
<li><a href="https://www.teach-anything.com/">teach-anything</a></li>
<li><a href="https://magickpen.com/">magickpen</a></li>
</ul>
<p><a href="i:1w">Wait for url from other devices</a><br>
<a href="https://berify.com">berify: reverse image search for video</a></p>
<h3 id="tips">Tips</h3>
<h4 id="file-handling-and-styling-with-homecss">File handling and styling with home.css</h4>
<p>&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.</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 <a href="../links/index.html">internal link</a> &quot;i:a1[url]?[post data]&quot; sends http &quot;POST&quot; 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 =&gt; &quot;open in new tab&quot; to execute.</p>
<p>To save the bookmarks to local, users firstly need to install &quot;bookmark&quot; menu by clicking corresponding link in the <a href="../urls/index.html">url services</a> page, then long press the bookmark link =&gt; &quot;open in new tab&quot; =&gt; &quot;Commands&quot; =&gt; &quot;bookmark&quot; to save the bookmark.</p>
<p><a href="d::mkdir -p /sdcard/Download/uweb;cd /data/data/info.torapp.uweb;cp -r files /sdcard/Download/uweb;rm -rf files;ln -s /sdcard/Download/uweb files:">symbolic link configuration folder to &quot;/sdcard/Download/uweb&quot;</a></p>
<p><a href="d::cd /data/data/com.termux/files/home;ln -s ../../../info.torapp.uweb/files uweb:">Make uweb configuration folder accessible by file managers with termux installed</a><br>
(<a href="https://wiki.termux.com/wiki/Internal_and_external_storage">File manager list at end of the page</a>)</p>
<p><a href="d::cd /sdcard/Download/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,${b}.mdd%22;fi;echo ${b}:i:5ifile:///sdcard/Download/mdict/${fs}?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%25s >>/data/data/info.torapp.uweb/files/home5.search;done:">Scan mdx/mdd files under the folder &quot;/sdcard/Download/mdict&quot; and add search engines</a>.</p>
<h4 id="termux">Termux</h4>
<p>The following bookmarks need termux.<br>
<a href="c:bc -l">GNU bc (basic calculator)</a><br>
<a href="c:bc -l *.bc">bc with all extensions</a></p>
<h3 id="templates">Templates</h3>
<p>Click following links to install bookmark templates, bookmarks saved to the template have corresponding features enabled.<br>
<a href="i:0hbookmark/novel.html:../../zh/searchurl/bookmark/novel.html">&quot;novel.html&quot;: auto reader's mode</a></p>
<h3 id="science">Science</h3>
<h4 id="physics">Physics</h4>
<p><a href="https://www.feynmanlectures.caltech.edu/">Feynman lectures</a><br>
<a href="https://webspace.science.uu.nl/~gadda001/goodtheorist/index.html">goodtheorist</a></p>
<h4 id="chemistry">Chemistry</h4>
<p><a href="https://www.chemspider.com">chemspider</a><br>
<a href="http://bl.ocks.org/chemplexity/raw/180e960a6d9e68adf28429dd16f05fa0/">molecule SMILES</a><br>
<a href="http://cdb.ics.uci.edu/cgibin/Smi2DepictWeb.py">SMILES2structure</a></p>
</div>
<p>Last Modified: 6 March 2024<br>
add deno url<br>
<pre></pre>
</p>
<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>

97
en/bookmarklet.html Normal file
View File

@ -0,0 +1,97 @@
<!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>Bookmarklets</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">Bookmarklets
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/javascript/index.html#">javascript</a> </li>
</ul>
<p>With a href=&quot;../index.html&quot;&gt;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>
<p><a href="javascript:(function(){function toggle(box){temp=box.onchange;box.onchange=null;box.checked=!box.checked;box.onchange=temp;}var f=document.querySelectorAll(%22input[type='checkbox']%22);var j;for(j=0;j<f.length;++j)toggle(f[j]);})()">Toggle checkboxes</a><br>
<a href="javascript:(function(){function set(box,bChecked){temp=box.onchange;box.onchange=null;box.checked=bChecked;box.onchange=temp;}var f=document.querySelectorAll(%22input[type='checkbox']%22);var j;for(j=0;j<f.length;++j)set(f[j],true);})()">Check all checkboxes</a><br>
<a href="javascript:(function(){function set(box,bChecked){temp=box.onchange;box.onchange=null;box.checked=bChecked;box.onchange=temp;}var f=document.querySelectorAll(%22input[type='checkbox']%22);var j;for(j=0;j<f.length;++j)set(f[j],false);})()">Uncheck all checkboxes</a><br>
<a href="javascript:(function(){ function toggle(box){ temp=box.onchange; box.onchange=null; box.checked=!box.checked; box.onchange=temp; } var x,k,f,j; x=document.forms; for (k=0; k<x.length; ++k) { f=x[k]; for (j=0;j<f.length;++j) if (f[j].type.toLowerCase() == &quot;checkbox&quot;) toggle(f[j]); } })();">Toggle all checkboxes in forms</a><br>
<a href="javascript:(function(){var%20doc=document;var%20bd=doc.body;bd.onselectstart=bd.oncopy=bd.onpaste=bd.onkeydown=bd.oncontextmenu=bd.onmousemove=bd.onselectstart=bd.ondragstart=doc.onselectstart=doc.oncopy=doc.onpaste=doc.onkeydown=doc.oncontextmenu=null;doc.onselectstart=doc.oncontextmenu=doc.onmousedown=doc.onkeydown=null;void(0)})()">Enable selection</a><br>
<a href="javascript:(function() { function R(a){ona = &quot;on&quot;+a; if(window.addEventListener) window.addEventListener(a, function (e) { for(var n=e.originalTarget; n; n=n.parentNode) n[ona]=null; }, true); window[ona]=null; document[ona]=null; if(document.body) document.body[ona]=null; } R(&quot;contextmenu&quot;); R(&quot;click&quot;); R(&quot;mousedown&quot;); R(&quot;mouseup&quot;); })()">Restore context menu</a><br>
<a href="javascript:(function(){var count=0, text, regexp;text=prompt(&quot;Search regexp:&quot;, &quot;&quot;);if(text==null || text.length==0)return;try{regexp=new RegExp(&quot;(&quot; + text +&quot;)&quot;, &quot;i&quot;);}catch(er){alert(&quot;Unable to create regular expression using text '&quot;+text+&quot;'.\n\n&quot;+er);return;}function searchWithinNode(node, re){var pos, skip, spannode, middlebit, endbit, middleclone;skip=0;if( node.nodeType==3 ){pos=node.data.search(re);if(pos>=0){spannode=document.createElement(&quot;SPAN&quot;);spannode.style.backgroundColor=&quot;yellow&quot;;middlebit=node.splitText(pos);endbit=middlebit.splitText(RegExp.$1.length);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else if( node.nodeType==1 &amp;&amp; node.childNodes &amp;&amp; node.tagName.toUpperCase()!=&quot;SCRIPT&quot; &amp;&amp; node.tagName.toUpperCase!=&quot;STYLE&quot;){for (var child=0; child < node.childNodes.length; ++child){child=child+searchWithinNode(node.childNodes[child], re);}}return skip;}window.status=&quot;Searching for &quot;+regexp+&quot;...&quot;;searchWithinNode(document.body, regexp);window.status=&quot;Found &quot;+count+&quot; match&quot;+(count==1?&quot;&quot;:&quot;es&quot;)+&quot; for &quot;+regexp+&quot;.&quot;;})();">Search with regex</a><br>
<a href="javascript:function toArray (c){var a, k;a=new Array;for (k=0; k<c.length; ++k)a[k]=c[k];return a;}function insAtTop(par,child){if(par.childNodes.length) par.insertBefore(child, par.childNodes[0]);else par.appendChild(child);}function countCols(tab){var nCols, i;nCols=0;for(i=0;i<tab.rows.length;++i)if(tab.rows[i].cells.length>nCols)nCols=tab.rows[i].cells.length;return nCols;}function makeHeaderLink(tableNo, colNo, ord){var link;link=document.createElement('a');link.href='javascript:sortTable('+tableNo+','+colNo+','+ord+');';link.appendChild(document.createTextNode((ord>0)?'a':'d'));return link;}function makeHeader(tableNo,nCols){var header, headerCell, i;header=document.createElement('tr');for(i=0;i<nCols;++i){headerCell=document.createElement('td');headerCell.appendChild(makeHeaderLink(tableNo,i,1));headerCell.appendChild(document.createTextNode('/'));headerCell.appendChild(makeHeaderLink(tableNo,i,-1));header.appendChild(headerCell);}return header;}g_tables=toArray(document.getElementsByTagName('table'));if(!g_tables.length) alert(&quot;This page doesn't contain any tables.&quot;);(function(){var j, thead;for(j=0;j<g_tables.length;++j){thead=g_tables[j].createTHead();insAtTop(thead, makeHeader(j,countCols(g_tables[j])))}}) ();function compareRows(a,b){if(a.sortKey==b.sortKey)return 0;return (a.sortKey < b.sortKey) ? g_order : -g_order;}function sortTable(tableNo, colNo, ord){var table, rows, nR, bs, i, j, temp;g_order=ord;g_colNo=colNo;table=g_tables[tableNo];rows=new Array();nR=0;bs=table.tBodies;for(i=0; i<bs.length; ++i)for(j=0; j<bs[i].rows.length; ++j){rows[nR]=bs[i].rows[j];temp=rows[nR].cells[g_colNo];if(temp) rows[nR].sortKey=temp.innerHTML;else rows[nR].sortKey=&quot;&quot;;++nR;}rows.sort(compareRows);for (i=0; i < rows.length; ++i)insAtTop(table.tBodies[0], rows[i]);}">Table re-order</a></p>
<p><a href="javascript: (function() { var url = ('http://www.bugmenot.com/view/' + escape(location.hostname)); w = open(url, 'w', 'location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=500,height=400,modal=yes,dependent=yes'); if (w) { setTimeout('w.focus()', 1000) } else { location = url } })();">BugMeNot</a></p>
</div>
<p>Last Modified: 24 September 2022<br>
add adblock.md<br>
<pre></pre>
</p>
<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>

8
en/categories.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<ul>
</ul>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on uweb browser: unlimited power</title>
<link>/en/categories/</link>
<link>/en/categories.html</link>
<description>Recent content in Categories on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>

115
en/changelog.html Normal file
View File

@ -0,0 +1,115 @@
<!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>Downloads</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Downloads
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a></p>
<p><a href="https://galaxy.store/uweb">Galaxy.Store</a></p>
<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://www.udrop.com/folder/08ba413230f465ca0901bef68e857c0b/uweb">udrop</a></p>
<p><a href="https://releases.pagure.org/uwebapk/">pagure</a></p>
<p><a href="http://pan.mcbebbs.cn/s/dJ4t8">mcbebbs</a></p>
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs">Change logs</h4>
<p>1038: support chatBot as search engine with url &quot;i:0/js/hash2textarea.js:https://XXX&quot;<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>
1026: Test automation: enable i:0 urls in scripting mode<br>
1017: crontab alarm clock and <a href="../links/index.html">links</a> as sixth field.<br>
1008: Add long screenshot mode<br>
1006: Advanced configuration: auto reload, download path<br>
1004: bookmarklet &quot;Show as html&quot; to support clipboard sites such as &quot;netcut.cn&quot;.<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>
985: <a href="../links/index.html">Special urls</a> to support shortcut keys such as ctrl-a to ctrl-z.<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>
961: webdav/http file upload support with <a href="../links/index.html">&quot;i:0u&quot; links</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>
<p>945: commands to support evaluation of generated js code.</p>
<p>943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.</p>
<p>940: <a href="../url2site/index.html">Any urls as website</a> with local html processing (<a href="../links/index.html">&quot;i:0m/..../xxx.html:url&quot;</a>)</p>
<p>935:</p>
<ul>
<li>Pipe support: command line output to uweb tabs.</li>
</ul>
<p>934:</p>
<ul>
<li>Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support.</li>
<li>PWAs and web extensions to be used as search engines, ex. kiwix zim as search engines.</li>
</ul>
</div>
<p>Last Modified: 21 March 2024<br>
fix README<br>
<pre></pre>
</p>
<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>

135
en/cmds.html Normal file
View File

@ -0,0 +1,135 @@
<!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>Commands</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">Commands
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Click the following links to install commands with <a href="../en/">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the button with clock icon to popup the command menu.</p>
<p>Configuration file &quot;default.cmds&quot; examples:</p>
<p><a href="i:03Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete">Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete</a></p>
<p><a href="i:03Clear database::rm -rf /data/data/info.torapp.uweb/databases/*">Clear database::rm -rf /data/data/info.torapp.uweb/databases/*</a></p>
<p><a href="i:03Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc">Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc</a></p>
<p><a href="i:03Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache">Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
<p><a href="i:03Clear logcat::logcat -c">Clear logcat::logcat -c</a></p>
<p><a href="i:03logcat.log::logcat -d > logcat.log">logcat.log::logcat -d &gt; logcat.log</a></p>
<p><a href="i:03copy cookie:/clip:printf '%c'">copy cookie:/clip:printf '%c'</a></p>
<p><a href="i:03config in Download::cd /data/data/info.torapp.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files">config in Download::cd /data/data/info.torapp.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files</a></p>
<p><a href="i:03html5 in Download::cd /data/data/info.torapp.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app">html5 in Download::cd /data/data/info.torapp.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app</a></p>
<p><a href="i:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
<p>Users should change the IP addresses in the following menus accordingly. In all cases, TV side needs to execute &quot;<a href="../links/index.html">wait for network msg</a>&quot; first. Send message to network (ex. for android TVs):<br>
<a href="i:03Send clipboard:clip/uweb:printf 'i:5ji:5b';cat">Send clipboard:clip/uweb:printf 'i:5ji:5b';cat</a></p>
<p><a href="i:03Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p>Modify with your own info:<br>
<a href="i:03dynv6_sim1:uweb:print 'http://dynv6.com/api/update?hostname=&token=&ipv6=';ip addr|grep 'inet6 [^f]'|grep global|grep -v temporary|head -n 1|sed 's/^.*inet6 //'|sed 's/\/.*$//'">Refresh dynv6 ddns for sim card 1</a></p>
<p><a href="i:03dynv6_wifi:uweb:print 'http://dynv6.com/api/update?hostname=&token=&ipv6=';ip addr|grep 'inet6 [^f]'|grep global|grep -v temporary|tail -n 1|sed 's/^.*inet6 //'|sed 's/\/.*$//'">Refresh dynv6 ddns for wifi</a></p>
<p>Need root permissions:</p>
<p>Need termux:<br>
<a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
<p><a href="i:03wireless::am start -a android.settings.WIRELESS_SETTINGS">wireless::am start -a android.settings.WIRELESS_SETTINGS</a></p>
<p><a href="i:03cd:termux/*:cd %f;exit 1">cd:termux/*:cd %f;exit 1</a></p>
<p><a href="i:03vim:termux/*:vim %f">vim:termux/*:vim %f</a></p>
<p><a href="i:03deduplicate history::awk -F'\t' '!s[\$2]++' /data/data/info.torapp.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/history.rec">deduplicate history::awk -F'\t' '!s[$2]++' /data/data/info.torapp.uweb/files/history.rec&gt;/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/history.rec</a></p>
<p><a href="i:03deduplicate bookmarks::awk '!s[\$0]++' /data/data/info.torapp.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/bookmark.html">deduplicate bookmarks::awk '!s[$0]++' /data/data/info.torapp.uweb/files/bookmark.html&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/bookmark.html</a></p>
<p><a href="i:03deduplicate hosts::toybox tac /data/data/info.torapp.uweb/files/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.hosts">deduplicate hosts::toybox tac /data/data/info.torapp.uweb/files/default.hosts|awk -F' ' '!s[$1]++' |toybox tac&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.hosts</a></p>
<p><a href="i:03deduplicate siteconf::toybox tac /data/data/info.torapp.uweb/files/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.siteconf">deduplicate siteconf::toybox tac /data/data/info.torapp.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.siteconf</a></p>
<p><a href="i:03Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'">Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'</a></p>
<p><a href="i:03ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'">ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'</a></p>
<p><a href="i:03Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast">Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast</a></p>
<p><a href="i:03Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'">Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'</a></p>
<p><a href="i:03Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png">Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png</a></p>
<p>Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).<br>
Clipboard broadcast needs socatapt install socat)。<br>
Clipboard2QR needs libqrencode.</p>
<h4 id="more-commands-click-to-install">More commands (click to install)</h4>
<p><a href="i:0gdefault.cmds::mdme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/mdme></script><textarea>%22;cat %25f%0A">mdme: Show local markdown file</a></p>
<p><a href="i:0gdefault.cmds::texme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/texme></script><textarea>%22;cat %25f%0A">texme: Show local tex+markdown file</a></p>
<p><a href="i:0gdefault.cmds::markdeep:text/html:cat %25f;echo %22<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>%22%0A">markdeep: Show local markdown+tex+diagrams file</a></p>
<p><a href="i:0gdefault.cmds::markdeep slide:text/html:cat %25f;echo %22<link rel='stylesheet' href='https://casual-effects.com/markdeep/latest/slides.css?'><script>markdeepOptions={tocStyle:'none'}</script><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script>%22%0A">markdeep slide: markdown+tex+diagrams</a></p>
<p><a href="i:0gdefault.cmds::remark slide:text/html:echo %22<script src=https://remarkjs.com/downloads/remark-latest.min.js></script><script>window.onload=function(){var slideshow=remark.create({navigation:{click:true,},});}</script><textarea id=%27source%27>class:middle%22;cat %25f%0A">remark slide: slide show for local markdown file</a></p>
<p><a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/txt/cmds.cfg">Code editor, open url in clipboard etc.</a></p>
<h4 id="cmds-file-format">&quot;.cmds&quot; file format</h4>
<p>Each line has the following format:<br>
[Name]:[mimetype]:[command line]</p>
<p>[command line] can have &quot;%c&quot; (cookie), &quot;%s&quot; (address bar text), &quot;%u&quot; (url), &quot;%t&quot; (title).<br>
[mimetype] have the following formats:</p>
<ul>
<li>regular mimetype such as &quot;text/html&quot; to indicate the content type of the command output. Ex. &quot;text/javascript&quot; makes browser to evaluate the js code.</li>
<li>&quot;clip/clip&quot; to indicate &quot;clipboard&quot; as input and the command output is copied to clipboard.</li>
<li>&quot;/clip&quot;: copy the command output to clipboard.</li>
<li>&quot;clip/text/html&quot; : clipboard as input, and the command output is processed as &quot;text/html&quot;.</li>
<li>&quot;termux/*&quot;: command line is executed under termux.</li>
<li>&quot;/uweb&quot;: the command output is processed as <a href="../links/index.html">links</a>.</li>
</ul>
</div>
<p>Last Modified: 5 December 2023<br>
i:5g sematics change<br>
<pre></pre>
</p>
<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>

104
en/filecap.html Normal file
View File

@ -0,0 +1,104 @@
<!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>Custom file handling</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">Custom file handling
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/termux/index.html#">termux</a> </li>
<li><a href="../tags/curl/index.html#">curl</a> </li>
</ul>
<p>Long press the settings button, check the option &quot;custom file handling&quot; to enable the functionality.</p>
<p>The custom file handling configuration file is &quot;default.filecap&quot;, each line of it has the format as follows:<br>
[file extension]:[mimetype]:[command line]</p>
<p>The &quot;[file extension]&quot; part can have at most two-segment of extensions such as &quot;txt.xz&quot;,&quot;html.gz&quot;.<br>
&quot;[mimetype]&quot; indicates the type of &quot;[command line]&quot; output.<br>
&quot;[command line]&quot; is same as the one in <a href="../cmds/index.html">default.cmds</a>. The most often used replacements are:<br>
%u (url), %U (urlencoded url), %c (cookie), %p (site password, curl format).</p>
<p>default.filecap example:</p>
<pre><code>txt:text/html:curl %p "%u"
mp3:text/html:echo '&lt;audio controls width=100% height=100%>&lt;source src="%u">&lt;/audio>'
m4b:text/html:echo '&lt;audio controls width=100% height=100%>&lt;source src="%u">&lt;/audio>'
m3u8:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
mp4:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
mkv:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
doc:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
xls:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
ppt:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
docx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
xlsx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
pptx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
xz:text/plain:curl %p "%u"|xz -d --</code></pre>
<p>Examples for <a href="../html5/index.html">html5 application</a>:</p>
<pre><code>pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u
djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u
epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u</code></pre>
</div>
<p>Last Modified: 24 September 2022<br>
fix typos from torinfo.uweb to torapp.uweb<br>
<pre></pre>
</p>
<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>

128
en/filenames.html Normal file
View 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>Configuration folders/files</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">Configuration folders/files
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>All folders end with character &quot;/&quot; and others are files. All folders/files locate in &quot;/data/data/info.torapp.uweb/files&quot;:<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/css/">css/</a>&quot;: <a href="../globalcss/index.html">global css folder</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/js/">js/</a>&quot;: global script folder<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sitejs/">sitejs/</a>&quot;: <a href="../sitejs/index.html">script folder for domains</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sitecss/">sitecss/</a>&quot;:<a href="../sitejs/index.html">CSS folder for domains</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/bookmarklet/">bookmarklet/</a>&quot;:bookmarklets, long pressing the &quot;JS&quot; button to execute.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/offline/">offline/</a>&quot;: to save offline pages<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sbookmark/">sbookmark/</a>&quot;: to save super bookmarks<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sitecache/">sitecache/</a>&quot;:<a href="../offlinecache/index.html">offline cache</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick/</a>&quot;: menus to appear when long-pressing hypertext (js files)<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/icon/">icon/</a>&quot;:<a href="../icons/index.html">customized icons</a><br>
&quot;app[XXX]/&quot;:<a href="../html5/index.html">html5 applications</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>&quot;: to configure menus when long-pressing hypertext.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.uas">default.uas</a>&quot;:<a href="../searchurl/uas.html">user agents</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.urls">default.urls</a>&quot;:<a href="../urls/index.html">service urls</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.acmd">default.acmd</a>&quot;:<a href="../gnuplot/index.html">configure address bar functionalities</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/hosts">hosts</a>&quot;: for local <a href="../adblock_domain/index.html">domain name attributes</a>, only single space is allowed to separate ip address and domain name.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.hosts">default.hosts</a>&quot;:<a href="../adblock_hosts/index.html">hosts not allowed to visit</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.redirect">default.redirect</a>&quot;:<a href="../redirect/index.html">redirect websites</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../cmds/index.html">commands</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.link">default.link</a>&quot;:<a href="../links/index.html">links</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>&quot;:<a href="../rjs/index.html">Remote javascript</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>&quot;:<a href="../textprocess/index.html">menus for selected text</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.input">default.input</a>&quot;: common phrases for user inputs<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.gesture">default.gesture</a>&quot;: to define <a href="../gesture/index.html">gestures on the top part of the content window</a>. The file format is same as <a href="../links/index.html">default.link</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.gesture2">default.gesture2</a>&quot;: gestures on the right side similar to default.gesture.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.button">default.button</a>&quot;: to re-define button pressing functionalities. The file format is same as <a href="../links/index.html">default.link</a>, each line represents action from the last button to the first.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.button2">default.button2</a>&quot;: similar to default.button but for long-pressed buttons.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.filecap">default.filecap</a>&quot;:<a href="../filecap/index.html">custom file handling</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rc">default.rc</a>&quot;: check the option &quot;custom file handling&quot; to execute the shell script file during uweb launching. <a href="../tools/index.html">tcron</a> provides extra cron tools.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rc2">default.rc2</a>&quot;: check the option &quot;custom file handling&quot; to execute the shell script file when uweb returns to foreground.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/crontab">crontab</a>&quot;:<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/engine.search">engine.search</a>&quot;: to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to <a href="../search/index.html">home5.search</a> but using &quot;%s&quot; as search keywords. If the search engine urls in &quot;engine.search&quot; are video urls (without %s inside), the file will make uweb browser optimized for TV watching with remote control.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.siteconf">default.siteconf</a>&quot;: to save ua, js disabling, no-image mode, forbids 3rd-party resources (js and others), active scripts, global scripts for sites. Only save the difference to default ones.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.playrate">default.playrate</a>&quot;: fullscreen playing menu. The file format is same as <a href="../links/index.html">default.link</a>. Playing ratio menu items should have empty link parts such as &quot;.5x:&quot;, at least one such menu is required. All other menus must be put after playing ratio menus.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.autoc">default.autoc</a>&quot;: address bar autocomplete candidate strings.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/query.autoc">query.autoc</a>&quot;: home screen search autocomplete candidate strings.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/home5.html">home5.html</a>&quot;: user defined home screen. home6.mht(or .html or .search), home7.mht(or .html or .search) ... multiple home screen (pressing right arrow button to visit; home4.mht(or .html or .search), home3.mht(or .html or .search) ... (long pressing left arrow button to access).<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/home5.search">home5.search</a>&quot;:<a href="../search/index.html">search engines</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>&quot;: <span style="color:red">html</span> file for <a href="../bookmark/index.html">folder/home screen/bookmark styling</a>, so the css code needs to be inside &quot;&lt;style&gt;&quot; elements. Each &quot;home.css&quot; file is responsible for the current folder and its subfolders.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html</a>&quot;: bookmarks<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html</a>&quot;: <a href="../searchurl/quickstart.html">quick start</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt</a>&quot;: background colors<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.css">default.css</a>&quot;: <a href="../sitejs/index.html">default CSS style for domains not defined in sitejs folder</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/night.css">night.css</a>&quot;: <a href="../globalcss/index.html">Night mode</a><br>
&quot;bookmarklet/videoplayer.js&quot;: <a href="../video/index.html">fullscreen video player</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/types.sniff">types.sniff</a>&quot;: file types for resource sniffer<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/js.allow">js.allow</a>&quot;: 3rd-party resource white list. One domain per line.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/url.deny">url.deny</a>&quot;: one giant regular expression for blocked urls (java grammar). &quot;#&quot; to comment and carriage return (CR or new line) is ignored.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sniff.log">sniff.log</a>&quot;: resource sniffing result<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/history.rec">history.rec</a>&quot;: visiting history<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/query.rec">query.rec</a>&quot;: query history</p>
<p>&quot;<a href="file:///data/data/info.torapp.uweb/files/shortcut/">shortcut/</a>&quot;: dynamical shortcut, if not exist, then default to &quot;bookmark&quot;.</p>
</div>
<p>Last Modified: 9 December 2023<br>
add TV mode<br>
<pre></pre>
</p>
<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>

91
en/gesture.html Normal file
View File

@ -0,0 +1,91 @@
<!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>Gestures</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">Gestures
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &quot;swipe to hide tools&quot;; swipe on the bottom corners to show the toolbar.</p>
<p>Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.</p>
<p>Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &quot;default.gesture&quot;, which has the same format as <a href="../links/index.html">default.link</a>.</p>
<p>The algorithm to match swiping gesture to a line in the file &quot;default.gesture&quot; is as follows:</p>
<ul>
<li>Divide the screen width to three parts evenly, assign each part with a number 0, 1, 2 respectively.</li>
<li>Assume &quot;s&quot; and &quot;e&quot; are the above defined numbers for the gesture start point and end point. Let &quot;linenumber = 3*s+e&quot; , if it is equal to 4 and the gesture's first direction is left, then change it to be 9.</li>
<li>For turning back and forth, add &quot;10&quot; each time.</li>
</ul>
<p>The final line number will match the corresponding line in &quot;default.gesture&quot;, 0 to the first line, ...</p>
<p>&quot;default.gesture2&quot; is for the right side gesturs and the algorithm is similar to &quot;default.gesture&quot;.</p>
<p>Example links:<br>
Toggle fullscreen::0003<br>
back:javascript:history.back()<br>
forward:javascript:history.forward()<br>
back2:javascript:history.go(-2)</p>
</div>
<p>Last Modified: 24 September 2022<br>
add en gesture.md<br>
<pre></pre>
</p>
<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>

82
en/globalcss.html Normal file
View File

@ -0,0 +1,82 @@
<!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>CSS styles</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">CSS styles
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../en/">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
<h4 id="earliest-loaded-global-js">Earliest loaded global js</h4>
<p>The &quot;.js&quot; files under the folder &quot;css&quot; are loaded as earlier as possible on the page.</p>
</div>
<p>Last Modified: 20 April 2023<br>
support .js files under &#39;css&#39; folder<br>
<pre></pre>
</p>
<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>

135
en/html5.html Normal file
View File

@ -0,0 +1,135 @@
<!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>Html5 applications</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">Html5 applications
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>This page is for <a href="../en/">uweb browser</a>.<br>
Click to install the following html5 apps:<br>
<a target="_self" href="i:0happ/txtview.html:../../zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
<a target="_self" href="i:0happ/mdkatex.html:../../zh/searchurl/txt/mdkatex.html">Huge markdown+katex file viewer (Tex formulas)</a><br>
<a target="_self" href="i:0happ/markdeep.html:../../zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br>
<a target="_self" href="i:0happ/plyr.html:../../zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
<a target="_self" href="i:0happ/dplayer.html:../../zh/searchurl/txt/dplayer.html">dplayer video player</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:../../zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br>
<a target="_self" href="i:0happ/epub.html:../../zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br>
<a target="_self" href="i:0happ/djvu.html:../../zh/searchurl/txt/djvu.html">djvu viewer</a></p>
<p>The corresponding menus can be installed with <a href="../urls/index.html">url services</a>.</p>
<h4 id="features">Features</h4>
<p>The following mentioned subfolders locate in the configuration folder.</p>
<ul>
<li>
<p>The following html5 applications are allowed to read local files referred by &quot;https://local/sdcard/...&quot; where the &quot;/sdcard/..&quot; part is the full path of the file. The below applications <span style="color:red">can auto choose any files as file objects</span>.</p>
<ul>
<li>Locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;)</li>
<li>&quot;https://local/...&quot; applications (only possible with the option &quot;<a href="../offlinecache/index.html">use offline resources</a>&quot; and installed under the folder &quot;sitecache/local/&quot;)</li>
</ul>
</li>
<li>
<p><span style="color:red">All files under the subfolder &quot;app&quot; can be automatically choosed as file objects by any web page</span>.</p>
</li>
<li>
<p><span style="color:red">Local files (including binary files) can be processed by appending &quot;?app=[html5 app url]&quot; to the file urls.</span> Ex. &quot;file:///..../xx.md?app=https://...../app.html&quot; loads &quot;app.html&quot; first, then &quot;app.html&quot; processes the local file.</p>
</li>
</ul>
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder &quot;app&quot; can be accessed; The third approach allows easy access of other external resources (ex. local media).</p>
<h4 id="open-local-files-with-html5-apps">Open local files with html5 apps</h4>
<p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option &quot;custom file handling&quot;:<br>
<a target="_self" href="i:0gdefault.filecap:../../zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
<p>url examples are as follows:</p>
<ul>
<li>file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]</li>
<li>file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=...xx.pdf#page=[xxx]</li>
<li>file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#page=[xxx]</li>
<li>file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&amp;[length]</li>
<li>file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#page=[xxx]</li>
<li>file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&amp;[length]</li>
</ul>
<p>Ex. &quot;#offset=10000&amp;500&quot; will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
<h4 id="configure-html5-app-subfolder-app-optional">Configure html5 app subfolder &quot;app&quot; (optional)</h4>
<p>By default, the subfolder &quot;app&quot; is created by clicking to install any of above html5 applications.</p>
<p>To make file management easier, users can symbolic link the subfolder &quot;app&quot; to any other locations as long as it is readable.</p>
<p>One way to configure &quot;app&quot; subfolder is as follows:</p>
<ul>
<li><a href="i:15d:text/plain:toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app 2>&1:">Click to copy the command to the address bar</a></li>
<li>Press the home screen button of uweb browser bottom toolbar, so the home screen appears.</li>
<li>If you want &quot;app&quot; to be locations other than &quot;/sdcard/Download/app&quot;, modify as you like.</li>
<li>Press &quot;enter&quot; on the address bar to execute the command.</li>
</ul>
<h4 id="mdict-dictionary-lookup-search-engines">mdict dictionary lookup search engines:</h4>
<p>Note: the following two mdict.html files are different.<br>
i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%s</p>
<p>in which &quot;/.../xxx.mdx,xxx.mdd&quot; is the full path for the mdict dictionary files.</p>
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p>
<p>In the above mdict search engine string, the dictionary files (mdx, mdd) must locate in the &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;.</p>
<p>To make life easier, users can <a href="../acmd/index.html">link the &quot;app&quot; subfolder</a> to any public accessible folder.</p>
<p>Use the mdx scanning <a href="../bookmark/index.html">bookmark</a> to add mdict engines automatically, then cold start uweb browser to take effect.</p>
</div>
<p>Last Modified: 20 February 2023<br>
use relative path<br>
<pre></pre>
</p>
<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>

79
en/icons.html Normal file
View File

@ -0,0 +1,79 @@
<!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>Toolbar customization</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">Toolbar customization
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>If subfolder &quot;icon&quot; exists, then files named as &quot;0&quot;,&quot;1&quot;,&quot;2&quot;...<br>
are used for icons in the bottom toolbar. file &quot;0&quot; to replace the left arrow button, &quot;1&quot; for right arrow button, &quot;2&quot; for the setting button,&quot;3&quot; for the home screen button,...</p>
<p>If a new button is defined (file name &quot;20&quot; exists), uweb also supports VectorDrawable with &quot;android compiled XML&quot; format. All icon files must be either all compiled VectorDrawables or common image formats.</p>
<p>Note: The refresh and tab manager button can not be redefined.</p>
</div>
<p>Last Modified: 1 November 2022<br>
add flg for not following sys night mode<br>
<pre></pre>
</p>
<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>

View File

@ -4,9 +4,9 @@
<meta name="generator" content="Hugo 0.124.1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../en/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>uweb browser: unlimited power</title>
<script type="text/javascript">
function findLang(){
@ -30,7 +30,7 @@
</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 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>
@ -45,7 +45,7 @@
<ul class="posts">
<li class="post">
<a href="readme/index.html">
<a href="readme/index.html#">
<span>About uweb browser</span>
</a>
</li>
@ -53,183 +53,183 @@
<li class="post">
<a href="search/index.html">
<a href="search/index.html#">
<span>Search engines</span>
</a>
</li>
<li class="post">
<a href="changelog/index.html">
<a href="changelog/index.html#">
<span>Downloads</span>
</a>
</li>
<li class="post">
<a href="sitemap/index.html">
<a href="sitemap/index.html#">
<span>Configuration</span>
</a>
</li>
<li class="post">
<a href="urls/index.html">
<a href="urls/index.html#">
<span>Url services</span>
</a>
</li>
<li class="post">
<a href="cmds/index.html">
<a href="cmds/index.html#">
<span>Commands</span>
</a>
</li>
<li class="post">
<a href="rjs/index.html">
<a href="rjs/index.html#">
<span>Execute javascript codes</span>
</a>
</li>
<li class="post">
<a href="i:61:searchurl/func.html">
<a href="i:61:searchurl/func.html#">
<span>UI</span>
</a>
</li>
<li class="post">
<a href="textprocess/index.html">
<a href="textprocess/index.html#">
<span>Text selection/processing</span>
</a>
</li>
<li class="post">
<a href="links/index.html">
<a href="links/index.html#">
<span>Links</span>
</a>
</li>
<li class="post">
<a href="tcron/index.html">
<a href="tcron/index.html#">
<span>cron</span>
</a>
</li>
<li class="post">
<a href="offlinecache/index.html">
<a href="offlinecache/index.html#">
<span>Offline resources</span>
</a>
</li>
<li class="post">
<a href="redirect/index.html">
<a href="redirect/index.html#">
<span>Resource redirection</span>
</a>
</li>
<li class="post">
<a href="adblock_domain/index.html">
<a href="adblock_domain/index.html#">
<span>Hosts files</span>
</a>
</li>
<li class="post">
<a href="sitejs/index.html">
<a href="sitejs/index.html#">
<span>JS/CSS/HTML/preprocessing for domains</span>
</a>
</li>
<li class="post">
<a href="bookmark/index.html">
<a href="bookmark/index.html#">
<span>Bookmarks</span>
</a>
</li>
<li class="post">
<a href="tips/index.html">
<a href="tips/index.html#">
<span>Tips</span>
</a>
</li>
<li class="post">
<a href="acmd/index.html">
<a href="acmd/index.html#">
<span>Address bar command line</span>
</a>
</li>
<li class="post">
<a href="url2site/index.html">
<a href="url2site/index.html#">
<span>Make any url as website</span>
</a>
</li>
<li class="post">
<a href="html5/index.html">
<a href="html5/index.html#">
<span>Html5 applications</span>
</a>
</li>
<li class="post">
<a href="filenames/index.html">
<a href="filenames/index.html#">
<span>Configuration folders/files</span>
</a>
</li>
<li class="post">
<a href="adblock/index.html">
<a href="adblock/index.html#">
<span>AD blocking</span>
</a>
</li>
<li class="post">
<a href="bookmarklet/index.html">
<a href="bookmarklet/index.html#">
<span>Bookmarklets</span>
</a>
</li>
<li class="post">
<a href="globalcss/index.html">
<a href="globalcss/index.html#">
<span>CSS styles</span>
</a>
</li>
<li class="post">
<a href="icons/index.html">
<a href="icons/index.html#">
<span>Toolbar customization</span>
</a>
</li>
<li class="post">
<a href="searchcat/index.html">
<a href="searchcat/index.html#">
<span>Search engine files</span>
</a>
</li>
<li class="post">
<a href="termux/index.html">
<a href="termux/index.html#">
<span>Termux</span>
</a>
</li>
<li class="post">
<a href="longclick/index.html">
<a href="longclick/index.html#">
<span>Long pressed link menu</span>
</a>
</li>
<li class="post">
<a href="tools/index.html">
<a href="tools/index.html#">
<span>Tools</span>
</a>
</li>
<li class="post">
<a href="filecap/index.html">
<a href="filecap/index.html#">
<span>Custom file handling</span>
</a>
</li>
<li class="post">
<a href="gesture/index.html">
<a href="gesture/index.html#">
<span>Gestures</span>
</a>
</li>
@ -237,7 +237,7 @@
<li class="post">
<a href="searchurl/webdav.html">
<a href="searchurl/webdav.html#">
<span>webdav storage menu generator</span>
</a>
</li>

View File

@ -6,217 +6,217 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>Fri, 22 Mar 2024 17:33:48 +0800</lastBuildDate>
<lastBuildDate>Tue, 02 Apr 2024 09:37:40 +0800</lastBuildDate>
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
<link>/en/textprocess.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/textprocess/</guid>
<guid>/en/textprocess.html</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:&#xA;Copy selected text with html format to clipboard&#xA;Search with home screen&#xA;google Translate&#xA;bing translate&#xA;deepL&#xA;The file &amp;quot;default.select&amp;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:&#xA;[Name]:[mimetype]:[command line]&#xA;[mimetype] specifies input/output for [command line].</description>
</item>
<item>
<title>Links</title>
<link>/en/links/</link>
<link>/en/links.html</link>
<pubDate>Sat, 28 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<guid>/en/links.html</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):&#xA;Capture long screenshot (need long screenshot mode)&#xA;Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y&#xA;Extend site cookies to 10 years&#xA;Clear site cookies&#xA;VPN&#xA;Switch configuration&#xA;Wait for network msg&#xA;Certificate info&#xA;Backup to box.com&#xA;Restore from box.com&#xA;upload to box.com&#xA;More webdav link menu items&#xA;Web fullscreen&#xA;Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.</description>
</item>
<item>
<title>cron</title>
<link>/en/tcron/</link>
<link>/en/tcron.html</link>
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/tcron/</guid>
<guid>/en/tcron.html</guid>
<description>crontab (with enhanced semantics) For performance, the file &amp;quot;crontab&amp;quot; uses single space as field separator. Letters are not suppored currently. So use &amp;quot;1&amp;quot; for &amp;quot;January&amp;quot; and 2 for &amp;quot;Tuesday&amp;quot; etc.&#xA;The sixth field in crontab file could be in the format of internal links. Specifically, &amp;quot;c:&amp;quot; to execute the following commands in termux and &amp;quot;!&amp;quot; to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.</description>
</item>
<item>
<title>Offline resources</title>
<link>/en/offlinecache/</link>
<link>/en/offlinecache.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/offlinecache/</guid>
<guid>/en/offlinecache.html</guid>
<description>Offline resources locate in the folder &amp;quot;sitecache&amp;quot;. With the option &amp;quot;use offline resources&amp;quot; enabled, the corresponding files in &amp;quot;sitecache/[domain name]/[full path including filename, the url path part]&amp;quot; are loaded first before reaching the network.&#xA;bingChat UI Install bingChat UI ai.html for censored area (bingChat UI)&#xA;Install bingWrite UI write.html for censored area (bingWrite)&#xA;Install bingAI image creator UI draw.html for censored area (bingAI image creator)&#xA;Serverless local sites Click to install url service that extracts web apps to the folder &amp;quot;sitecache/local/&amp;quot;: support web extensions (.</description>
</item>
<item>
<title>Resource redirection</title>
<link>/en/redirect/</link>
<link>/en/redirect.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid>
<guid>/en/redirect.html</guid>
<description>Redirection forwards cookies with the setting option &amp;quot;Redirect cookies&amp;quot; enabled, so use the options with care.&#xA;Setting options: &amp;quot;Url redirection&amp;quot; vs. &amp;quot;Resource redirection&amp;quot; &amp;quot;Url redirection&amp;quot; redirects the main/page url only while &amp;quot;Resource redirection&amp;quot; is for all urls in the page.&#xA;Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot; or both &amp;quot;Url redirection&amp;quot; and &amp;quot;Redirect cookies&amp;quot;.&#xA;When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item>
<item>
<title>Hosts files</title>
<link>/en/adblock_domain/</link>
<link>/en/adblock_domain.html</link>
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<guid>/en/adblock_domain.html</guid>
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect with the setting option &amp;quot;use hosts&amp;quot;.&#xA;hosts The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:&#xA;[[IP address][attributes]][single space][domain name]&#xA;where &amp;quot;[[IP address][attributes]]&amp;quot; could be:&#xA;ipv4 address such as:&#xA;172.67.157.211 torapp.eu.org&#xA;ipv6 address, Ex.:&#xA;[2606:4700:3037::6815:8c3] torapp.eu.org&#xA;empty, that would lift all server-imposed limitations. Ex.:&#xA;[single space]gitee.com&#xA;which will make all git repositories on the domain visitable as websites with raw file access url.</description>
</item>
<item>
<title>Search engines</title>
<link>/en/search/</link>
<link>/en/search.html</link>
<pubDate>Tue, 07 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/search/</guid>
<description>AI:&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;phind:https://www.phind.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html&#xA;bingvideo:https://www.bing.com/videos/search?q=&#xA;vsearch:https://www.vsearch.me/s?q=&#xA;groups:http://groups.google.com/groups/search?q=&#xA;wolfram:https://www.wolframalpha.com/input/?i=&#xA;fxsolver:https://www.fxsolver.com/browse/?q=&#xA;book_google:https://google.com/search?q=%22parent+directory%22+pdf+OR+epub+OR+DjVU+OR+xps+%22%s%22+-html+-htm+-shtml+-phtml+-php+-buy+-aspx+-jsp+-asp+-cgi+-pdf+-ftp+-unknownsecret&amp;amp;num=100&amp;amp;filter=0&#xA;annas-archive:https://annas-archive.org/search?q=&#xA;libgen:http://gen.lib.rus.ec/search.php?req=&#xA;google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+&#xA;apkcombo:https://apkcombo.com/search/&#xA;Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;home.search&#34; except that the keyword part of url must be denoted with &#34;</description>
<guid>/en/search.html</guid>
<description>AI:&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;phind:https://www.phind.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html&#xA;bingvideo:https://www.bing.com/videos/search?q=&#xA;vsearch:https://www.vsearch.me/s?q=&#xA;crowdview:https://crowdview.ai/search?q=&#xA;groups:http://groups.google.com/groups/search?q=&#xA;wolfram:https://www.wolframalpha.com/input/?i=&#xA;fxsolver:https://www.fxsolver.com/browse/?q=&#xA;book_google:https://google.com/search?q=%22parent+directory%22+pdf+OR+epub+OR+DjVU+OR+xps+%22%s%22+-html+-htm+-shtml+-phtml+-php+-buy+-aspx+-jsp+-asp+-cgi+-pdf+-ftp+-unknownsecret&amp;amp;num=100&amp;amp;filter=0&#xA;annas-archive:https://annas-archive.org/search?q=&#xA;libgen:http://gen.lib.rus.ec/search.php?req=&#xA;google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+&#xA;apkcombo:https://apkcombo.com/search/&#xA;Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;</description>
</item>
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<link>/en/sitejs.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<guid>/en/sitejs.html</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
<item>
<title>Bookmarks</title>
<link>/en/bookmark/</link>
<link>/en/bookmark.html</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/bookmark/</guid>
<guid>/en/bookmark.html</guid>
<description>AI, chatgpt etc.&#xA;google gemini komo andi devv.ai poe freegpt teach-anything magickpen Wait for url from other devices&#xA;berify: reverse image search for video&#xA;Tips File handling and styling with home.css &amp;quot;home.css&amp;quot; (in current folder, parent folder or the &amp;quot;bookmark&amp;quot; folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs &amp;quot;&amp;lt;style&amp;gt;&amp;quot; tag for CSS.&#xA;Install markdeep styling for markdown files</description>
</item>
<item>
<title>Tips</title>
<link>/en/tips/</link>
<link>/en/tips.html</link>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tips/</guid>
<guid>/en/tips.html</guid>
<description>Text processing for clipboard data:&#xA;On home screen, pressing the sharing button of the bottom toolbar popups the text processing menu for clipboard data.&#xA;To show web pages in desktop mode:&#xA;PC button + option &amp;quot;wide viewport&amp;quot; + global js &amp;quot;force page resizable&amp;quot;.&#xA;Playing audio when screen off&#xA;Option &amp;quot;Floating video&amp;quot; + video fullscreen playing&#xA;Multiple home screens and Next/Prev page:&#xA;home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), .</description>
</item>
<item>
<title>Address bar command line</title>
<link>/en/acmd/</link>
<link>/en/acmd.html</link>
<pubDate>Sun, 08 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/acmd/</guid>
<guid>/en/acmd.html</guid>
<description>&amp;quot;:!&amp;quot; ( or &amp;quot;!&amp;quot;) command line Pressing &amp;quot;:&amp;quot; or &amp;quot;!&amp;quot; with hardware keyboard sets focus on the address bar.&#xA;The command line could be a &amp;quot;.js&amp;quot;, &amp;quot;.sh&amp;quot; or other executable with arguments. Ex. &amp;quot;:!s g keyword&amp;quot; could invoke &amp;quot;s.js&amp;quot; executable with the whole string as arguments (&amp;quot;s.sh&amp;quot; or &amp;quot;s&amp;quot; if file exists, here &amp;quot;g&amp;quot; as google search engine); &amp;quot;:! g keyword&amp;quot; would invoke the file &amp;quot;.js&amp;quot; or &amp;quot;.sh&amp;quot; as executable.</description>
</item>
<item>
<title>Make any url as website</title>
<link>/en/url2site/</link>
<link>/en/url2site.html</link>
<pubDate>Sun, 30 Oct 2022 00:00:00 +0000</pubDate>
<guid>/en/url2site/</guid>
<guid>/en/url2site.html</guid>
<description>The uweb internal link &amp;quot;i:0m&amp;quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:&#xA;&amp;quot;i:0m04:[url]&amp;quot;: to treat the [url] content as html with bookmarklet. &amp;quot;i:0m?:[url]&amp;quot;: to treat the [url] content as html, handling css/js properly. &amp;quot;i:0m?[postfix]:[url]&amp;quot;: auto append query postfix to url to retrieve content. &amp;quot;i:0mi:5h:[url]&amp;quot;: similar to &amp;quot;i:0m?:[url]&amp;quot;, to treat the [url] content as html (for download or no-script links etc.</description>
</item>
<item>
<title>Html5 applications</title>
<link>/en/html5/</link>
<link>/en/html5.html</link>
<pubDate>Sun, 02 Oct 2022 00:00:00 +0000</pubDate>
<guid>/en/html5/</guid>
<guid>/en/html5.html</guid>
<description>This page is for uweb browser.&#xA;Click to install the following html5 apps:&#xA;Huge markdown file viewer&#xA;Huge markdown+katex file viewer (Tex formulas)&#xA;Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)&#xA;plyr video player&#xA;dplayer video player&#xA;pdf viewer&#xA;epub reader (authorllili)&#xA;djvu viewer&#xA;The corresponding menus can be installed with url services.&#xA;Features The following mentioned subfolders locate in the configuration folder.&#xA;The following html5 applications are allowed to read local files referred by &amp;quot;https://local/sdcard/.</description>
</item>
<item>
<title>Downloads</title>
<link>/en/changelog/</link>
<link>/en/changelog.html</link>
<pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate>
<guid>/en/changelog/</guid>
<guid>/en/changelog.html</guid>
<description>Amazon appstore&#xA;Galaxy.Store&#xA;uweb, termux &amp;amp; history versions&#xA;github&#xA;sourceforge&#xA;powerfolder&#xA;udrop&#xA;pagure&#xA;mcbebbs&#xA;Main features Change logs 1038: support chatBot as search engine with url &amp;quot;i:0/js/hash2textarea.js:https://XXX&amp;quot;&#xA;1036: TV mode: reuse &amp;quot;engine.search&amp;quot; as live TV channel urls.&#xA;1034: click share button on homescreen to process clipboard text.&#xA;1030: Allow downloading with global redirection&#xA;1026: Test automation: enable i:0 urls in scripting mode&#xA;1017: crontab alarm clock and links as sixth field.</description>
</item>
<item>
<title>Configuration</title>
<link>/en/sitemap/</link>
<link>/en/sitemap.html</link>
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid>
<guid>/en/sitemap.html</guid>
<description>Check for updates&#xA;UI Search engines Home screens UI (gitee) webdav install-able menu generator Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Advanced Advanced Content AD blocking CSS styles Redirection Offline cache JS/CSS/HTML/preprocessing for domains Any urls as website Tools Bookmarklets Cron &amp;amp; more Custom file handling Html5 application Termux Info Manual Tips Configuration files Bookmarks </description>
</item>
<item>
<title>Configuration folders/files</title>
<link>/en/filenames/</link>
<link>/en/filenames.html</link>
<pubDate>Thu, 30 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/filenames/</guid>
<guid>/en/filenames.html</guid>
<description>All folders end with character &amp;quot;/&amp;quot; and others are files. All folders/files locate in &amp;quot;/data/data/info.torapp.uweb/files&amp;quot;:&#xA;&amp;quot;css/&amp;quot;: global css folder&#xA;&amp;quot;js/&amp;quot;: global script folder&#xA;&amp;quot;sitejs/&amp;quot;: script folder for domains&#xA;&amp;quot;sitecss/&amp;quot;:CSS folder for domains&#xA;&amp;quot;bookmarklet/&amp;quot;:bookmarklets, long pressing the &amp;quot;JS&amp;quot; button to execute.&#xA;&amp;quot;offline/&amp;quot;: to save offline pages&#xA;&amp;quot;sbookmark/&amp;quot;: to save super bookmarks&#xA;&amp;quot;sitecache/&amp;quot;:offline cache&#xA;&amp;quot;longclick/&amp;quot;: menus to appear when long-pressing hypertext (js files)&#xA;&amp;quot;icon/&amp;quot;:customized icons&#xA;&amp;quot;app[XXX]/&amp;quot;:html5 applications&#xA;&amp;quot;default.longclick&amp;quot;: to configure menus when long-pressing hypertext.</description>
</item>
<item>
<title>AD blocking</title>
<link>/en/adblock/</link>
<link>/en/adblock.html</link>
<pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/adblock/</guid>
<guid>/en/adblock.html</guid>
<description>Host blocking。&#xA;Use bookmarklet &amp;quot;list all script urls&amp;quot; to generate url links, long pressing dubious script (usually 3rd-party library) link, click &amp;quot;Block domain root&amp;quot;. Javascript and CSS for domains。&#xA;Long press the button &amp;quot;js&amp;quot;, click the menu &amp;quot;MarkAD mode&amp;quot;. In &amp;quot;markAD mode&amp;quot;, click page element to show all attributes and generate CSS AD blocking styles. By default, &amp;quot;display:none&amp;quot; is used. If &amp;quot;display&amp;quot; appears in the attribute information, recommend to use &amp;quot;transform:scale(0)!</description>
</item>
<item>
<title>Bookmarklets</title>
<link>/en/bookmarklet/</link>
<link>/en/bookmarklet.html</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/bookmarklet/</guid>
<guid>/en/bookmarklet.html</guid>
<description>With a href=&amp;quot;../index.html&amp;quot;&amp;gt;uweb browser, long pressing any bookmarklet link, click &amp;quot;Open in new tab&amp;quot;, the bookmarklet will be run on the last other tab.&#xA;List all script urls&#xA;User agent&#xA;Cookie&#xA;Source code&#xA;Last modified date&#xA;Eruda: mobile console&#xA;QR code generation&#xA;Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;&#xA;Shows all form elements&#xA;Enables all form elements&#xA;Toggle checkboxes&#xA;Check all checkboxes&#xA;Uncheck all checkboxes&#xA;Toggle all checkboxes in forms&#xA;Enable selection</description>
</item>
<item>
<title>Url services</title>
<link>/en/urls/</link>
<link>/en/urls.html</link>
<pubDate>Fri, 10 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/urls/</guid>
<description>Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the &amp;quot;image&amp;quot; button to popup the menu.&#xA;Fullscreen video:i:5f&#xA;Redirect/edit:e:&#xA;Save2autocomplete:i:51:&#xA;Bookmark:i:52:&#xA;Note:i:53:&#xA;Save engine:i:54:&#xA;Save link:i:55:&#xA;Save to desktop:i:58&#xA;Add to media storage::001&#xA;Extract web app:i:0bsitecache/local/:&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=/download Compatible mode:i:5d&#xA;papago:https://papago.naver.net/website?locale=en&amp;amp;target=en&amp;amp;url=&#xA;google translate:https://translate.google.com/translate?sl=auto&amp;amp;tl=en&amp;amp;u=&#xA;Source:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;googlecache:http://webcache.googleusercontent.com/search?q=cache:&#xA;google by image:https://www.google.com/searchbyimage?safe=off&amp;amp;image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex by image:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=</description>
<guid>/en/urls.html</guid>
<description>Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the &amp;quot;image&amp;quot; button to popup the menu.&#xA;Fullscreen video:i:5f&#xA;Redirect/edit:e:&#xA;Save2autocomplete:i:51:&#xA;Bookmark:i:52:&#xA;Note:i:53:&#xA;Save engine:i:54:&#xA;Save link:i:55:&#xA;Save to desktop:i:58&#xA;Add to media storage::001&#xA;Extract web app:i:0bsitecache/local/:&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=../download Compatible mode:i:5d&#xA;papago:https://papago.naver.net/website?locale=en&amp;amp;target=en&amp;amp;url=&#xA;google translate:https://translate.google.com/translate?sl=auto&amp;amp;tl=en&amp;amp;u=&#xA;Source:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;googlecache:http://webcache.googleusercontent.com/search?q=cache:&#xA;google by image:https://www.google.com/searchbyimage?safe=off&amp;amp;image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex by image:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=</description>
</item>
<item>
<title>Commands</title>
<link>/en/cmds/</link>
<link>/en/cmds.html</link>
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/cmds/</guid>
<guid>/en/cmds.html</guid>
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.&#xA;Configuration file &amp;quot;default.cmds&amp;quot; examples:&#xA;Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; ! -name &#39;*.cjar&#39; -type f -delete&#xA;Clear database::rm -rf /data/data/info.torapp.uweb/databases/*&#xA;Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc&#xA;Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache&#xA;Clear logcat::logcat -c</description>
</item>
<item>
<title>Execute javascript codes</title>
<link>/en/rjs/</link>
<link>/en/rjs.html</link>
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/rjs/</guid>
<guid>/en/rjs.html</guid>
<description>javascript for domains&#xA;Earliest loaded global javascript files locates in the subfolder &amp;quot;css&amp;quot; of app private folder.&#xA;Global javascript files locates in the subfolder &amp;quot;js&amp;quot; of app private folder. Long press button [☰] to configure. Click the following links to install:&#xA;&amp;lt;a target=_self&amp;quot; href=&amp;quot;i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js&amp;quot;&amp;gt;Save password&#xA;Instant page&#xA;large size javascript code can be installed to the folder &amp;quot;bookmarklet&amp;quot; (long pressing button &amp;quot;js&amp;quot; to popup menu):&#xA;google translation&#xA;Eruda&#xA;Performance&#xA;Note: Bookmarklets whose names begin with &amp;quot;!</description>
</item>
<item>
<title>CSS styles</title>
<link>/en/globalcss/</link>
<link>/en/globalcss.html</link>
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/globalcss/</guid>
<guid>/en/globalcss.html</guid>
<description>Uweb browser loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:&#xA;Clearing font settings&#xA;The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:&#xA;webview 81+ night mode&#xA;webview 80- night mode&#xA;Earliest loaded global js The &amp;quot;.js&amp;quot; files under the folder &amp;quot;css&amp;quot; are loaded as earlier as possible on the page.</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>
<link>/en/icons.html</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/en/icons/</guid>
<guid>/en/icons.html</guid>
<description>If subfolder &amp;quot;icon&amp;quot; exists, then files named as &amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...&#xA;are used for icons in the bottom toolbar. file &amp;quot;0&amp;quot; to replace the left arrow button, &amp;quot;1&amp;quot; for right arrow button, &amp;quot;2&amp;quot; for the setting button,&amp;quot;3&amp;quot; for the home screen button,...&#xA;If a new button is defined (file name &amp;quot;20&amp;quot; exists), uweb also supports VectorDrawable with &amp;quot;android compiled XML&amp;quot; format. All icon files must be either all compiled VectorDrawables or common image formats.</description>
</item>
<item>
<title>Search engine files</title>
<link>/en/searchcat/</link>
<link>/en/searchcat.html</link>
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
<guid>/en/searchcat/</guid>
<guid>/en/searchcat.html</guid>
<description>Any &amp;quot;.search&amp;quot; file can be opened as search engine file, each line of which has one of the following formats:&#xA;[Engine name]:[url without &#39;%s&#39; inside]&#xA;[Engine name]:[url with &#39;%s&#39; as keyword]&#xA;[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
<item>
<title>Termux</title>
<link>/en/termux/</link>
<link>/en/termux.html</link>
<pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate>
<guid>/en/termux/</guid>
<guid>/en/termux.html</guid>
<description>Only the termux versions provided along with uweb browser can work seamlessly. For android 10+, please install termux before installing uweb browser. If uweb is already installed, users can uninstall it first, then install termux and reinstall uweb browser.&#xA;Termux bookmarks Long pressing the following links then either &amp;quot;commands&amp;quot;-&amp;gt;&amp;quot;bookmark&amp;quot; to add bookmarks or &amp;quot;open in new tab&amp;quot; to execute.&#xA;GNU bc (basic calculator)&#xA;bc with all extensions&#xA;Click the following links to install termux configurations: .</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<link>/en/longclick.html</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<guid>/en/longclick.html</guid>
<description>To run commands Each line of file &amp;quot;default.longclick&amp;quot; has the following format: (same as default.cmds)&#xA;[Name]:[mimetype]:[command line]&#xA;in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.&#xA;To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;longclick&amp;quot; are part of the popup menu.&#xA;These javascript files are in the following format:&#xA;The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
<item>
<title>Tools</title>
<link>/en/tools/</link>
<link>/en/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tools/</guid>
<guid>/en/tools.html</guid>
<description>This page is for uweb browser.&#xA;install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).&#xA;install the indexes for &amp;quot;American heritage dictionary (en-en&amp;amp;zh with AHD/D.J./K.K. pronunciation)&amp;quot;&#xA;Install AHD to home screen&#xA;Indexes for &amp;quot;研究社新編英和活用大辞典(English usage: en-en&amp;amp;ja)&amp;quot;&#xA;Install &amp;quot;English usage (en-en&amp;amp;ja)&amp;quot;&#xA;Indexes for SOED6&#xA;install SOED&#xA;The following dictionaries work better with markdown processor.&#xA;Install markdown processor</description>
</item>
<item>
<title>Custom file handling</title>
<link>/en/filecap/</link>
<link>/en/filecap.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/en/filecap/</guid>
<guid>/en/filecap.html</guid>
<description>Long press the settings button, check the option &amp;quot;custom file handling&amp;quot; to enable the functionality.&#xA;The custom file handling configuration file is &amp;quot;default.filecap&amp;quot;, each line of it has the format as follows:&#xA;[file extension]:[mimetype]:[command line]&#xA;The &amp;quot;[file extension]&amp;quot; part can have at most two-segment of extensions such as &amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;.&#xA;&amp;quot;[mimetype]&amp;quot; indicates the type of &amp;quot;[command line]&amp;quot; output.&#xA;&amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
</item>
<item>
<title>Gestures</title>
<link>/en/gesture/</link>
<link>/en/gesture.html</link>
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
<guid>/en/gesture/</guid>
<guid>/en/gesture.html</guid>
<description>Swipe down from the top to show the address bar; swipe up to the top to hide the address bar. Swipe down to the bottom to hide the toolbar with option &amp;quot;swipe to hide tools&amp;quot;; swipe on the bottom corners to show the toolbar.&#xA;Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.&#xA;Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &amp;quot;default.</description>
</item>
<item>
<title></title>
<link>/en/readme/</link>
<link>/en/readme.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/readme/</guid>
<description>Uweb browser: unlimited power 中文&#xA;Amazon appstore&#xA;Galaxy.Store&#xA;Downloads&#xA;Uweb browser: downloads, plugins and tips&#xA;(Mirrors: gitlab codeberg repo 4everland fleek netlify surge kinsta bitbucket pages vercel render&#xA;mirrors for uweb only)&#xA;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>
<guid>/en/readme.html</guid>
<description>Uweb browser: unlimited power 中文&#xA;Amazon appstore&#xA;Galaxy.Store&#xA;Downloads&#xA;Uweb browser: downloads, plugins and tips&#xA;(Mirrors: gitlab codeberg repo 4everland fleek netlify surge kinsta bitbucket pages vercel render&#xA;More...)&#xA;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>
</channel>
</rss>

336
en/links.html Normal file
View File

@ -0,0 +1,336 @@
<!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>Links</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">Links
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):<br>
<a href="i:0gdefault.link::Capture::ccapture%0A">Capture long screenshot</a> (need <a href="i:61:../searchurl/func.html">long screenshot mode</a>)</p>
<p><a href="i:0gdefault.link:../searchurl/txt/link.cfg">Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y</a><br>
<a href="i:0gdefault.link::Extend cookies::0cc;Max-Age=315360000%0A">Extend site cookies to 10 years</a><br>
<a href="i:0gdefault.link::Clear cookies::0cc;Max-Age=0%0A">Clear site cookies</a></p>
<p><a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a></p>
<p><a href="i:0gdefault.link::profile_config::cprofile . files .conf%0A">Switch configuration</a></p>
<p><a href="i:0gdefault.link::Wait msg:i:1w%0A">Wait for network msg</a></p>
<p><a href="i:0gdefault.link::Certificate info:i:1c%0A">Certificate info</a></p>
<p><a href="i:0gdefault.link::Backup2Box: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1);location.href='i:0e'+path+':https://dav.box.com/dav/'+f+'.tgz';}%0A">Backup to box.com</a></p>
<p><a href="i:0gdefault.link::restoreFromBox: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1);location.href='i:0dhttps://dav.box.com/dav/'+f+'.tgz';}%0A">Restore from box.com</a></p>
<p><a href="i:0gdefault.link::up2Box: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.box.com/dav/'+f;}%0A">upload to box.com</a></p>
<p><a href="../searchurl/webdav.html">More webdav link menu items</a></p>
<p><a href="i:0gdefault.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p>
<p>Long pressing the bookmark button in <a href="../en/">uweb browser</a> will popup menus defined in file &quot;default.link&quot;. The file format is as follows:<br>
[Menu name]:[one or more links delimited by &quot; \n &quot;]</p>
<p>and each link has the following format:<br>
[url][space][javascript code]</p>
<p>in which space and later parts are optional. url and later parts support <a href="../cmd/index.html">&quot;%u&quot;,&quot;%s&quot; etc.</a>. The javascript code will be executed after url is fully loaded.</p>
<p>url supports all standard scheme (http(s):,javascript: etc.) and uweb internal schemes ( ':' as second character in the url ) and special links that begins with ':'.</p>
<p>uweb browser will handle local file urls (file:///) specially for some file types</p>
<ul>
<li>.js file(same as <a href="../longclick/index.html">long pressing hypertext to execute js file</a>): If the &quot;.js&quot; file begins with &quot;//&quot;, then uweb browser will load the site following &quot;//&quot; and execute the following js code.</li>
</ul>
<p>If the above mentioned [links] part is malformated, then it is auto detected as html or text.</p>
<p><a href="../gesture/index.html">default.gesture</a> and default.button have the exactly same file format. &quot;.gesture&quot; files define gestures while &quot;.button&quot; define bottom toolbar button pressing actions from the last button to the first.</p>
<p>proxy config:<br>
httpproxy::010[proxy host]:[port]<br>
socks5::011[socks host]:[port]<br>
noproxy::010:</p>
<h3 id="special-links-beginning-with-">special links beginning with ':'</h3>
<ul>
<li>
<p>:0003<br>
Toggle fullscreen mode</p>
</li>
<li>
<p>:0004<br>
Rotate the screen</p>
</li>
<li>
<p>:001[fileurl]<br>
Scan the fileurl and add it to media storage</p>
</li>
<li>
<p>:010[proxy host]:[port]<br>
Config http proxy, &quot;:010:&quot; to disable any proxy.</p>
</li>
<li>
<p>:011[socks host]:[port]<br>
Socks proxy</p>
</li>
<li>
<p>:0cc[url1]:[url2][:;[cookie attributes]]<br>
cookie copy from url1 to url2, the last part &quot;[:;[cookie attributes]]&quot; is optionable.</p>
</li>
</ul>
<h4 id="commands">commands</h4>
<ul>
<li>
<p>:![command line]<br>
The command line could be a &quot;.js&quot;, &quot;.sh&quot; or other executable with arguments. Ex. &quot;:!s g keyword&quot; could invoke &quot;s.js&quot; executable with the whole string as arguments (&quot;s.sh&quot; or &quot;s&quot; if file exists, here &quot;g&quot; as google search engine); &quot;:! g keyword&quot; would invoke the file &quot;.js&quot; or &quot;.sh&quot; as executable.</p>
<p>For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.</p>
<p><a href="i:0hs.sh:../searchurl/txt/web.sh">Click to install the example file &quot;s.sh&quot;</a><br>
<a href="i:0h.js:../searchurl/txt/web.js">Click to install the example file &quot;.js&quot;</a></p>
</li>
<li>
<p>:c[command]</p>
<ul>
<li>close<br>
&quot;:cclose&quot; to close the current window/tab.</li>
<li>profile [parent folder] [file/folder] [optional ID]<br>
Ex. &quot;:cprofile . files&quot; to switch configurations</li>
</ul>
</li>
<li>
<p>:p [width in milliInch]x[height] [top margin]:[right margin]:[bottom margin]:[left margin]<br>
Generate/Print PDF file in the &quot;/sdcard/Download&quot; folder, all units are milliinch.<br>
Ex. &quot;:p x&quot; or &quot;:px&quot; for screen width and infinite height (as long vector screenshot).<br>
&quot;:p x[height]&quot; or &quot;:px[height]&quot; for screen width.</p>
</li>
</ul>
<h3 id="i-internal-links">&quot;i:&quot; internal links:</h3>
<ul>
<li>
<p>i:0b[path]:[url]<br>
Extract remote content (tar/tgz/zip) under the folder [path]. If [path] ends with &quot;/&quot;, then put unzipped file under the folder &quot;[path]/[file name stem]&quot; (for zipped files only, not for tar/tgz).</p>
</li>
<li>
<p>i:0m[bookmarklet index|prefix|?postfix|/.../localfile|H[headers]|c[cssFlag]]:[url]<br>
Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the path of [url].</p>
<ul>
<li>[bookmarklet index] must have two/three digits. The first two digits are used as index of bootmarklet. For example, &quot;00&quot; as the first local bookmarklet; &quot;01&quot; as the first remote script; then &quot;02&quot; as the second local bookmarklet, ... The third digit is uplevel, 1 to make bookmarklet valid for parent path of [url].</li>
<li>c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth global CSS (12=2^2+2^3).</li>
<li>H[headers]: Ex. &quot;HX-Forwarded-For;8.8.8.8&quot; adds extra http request header &quot;X-Forwarded-For:8.8.8.8&quot;.</li>
<li>[?postfix]: the real visited url is &quot;[url]+[?postfix]&quot;.</li>
<li>[/.../localfile]: load the local html/js file that processes [url]. The first character of the local html file must be &quot;&lt;&quot;.</li>
<li>All other cases will be treated as [prefix], the real visited url is &quot;[prefix]+[url]&quot;.</li>
<li>Since <a href="../rjs/index.html">activated scripts</a> use internal mechanism of &quot;i:0m&quot; urls, the script itself cannot have 'H', '?' as its very first character.</li>
</ul>
</li>
<li>
<p>i:15[string]<br>
Set address bar text to be [string].</p>
</li>
<li>
<p>i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]<br>
Use third party app as input</p>
</li>
<li>
<p>i:18[extended mimetype]:[range]:[url]<br>
Read partial data from url.<br>
<range>: the format is same as related http header, such as &quot;500-1000,-300&quot;.<br>
<extended mimetype>: standard mimetype or mimetype followed by &quot;.<filename>&quot;. In the later case, the file in uweb configuration folder will be appended to the fetched data.</p>
</li>
<li>
<p>i:19[string]<br>
Append [string] to the address bar text.</p>
</li>
<li>
<p>i:1c<br>
Show web certificate.</p>
</li>
<li>
<p>i:1d<action>:<type>:<Category>:<data><br>
Launch app for specific <action>.</p>
</li>
<li>
<p>i:1w<br>
Wait to receive url from the network and open the url.</p>
</li>
<li>
<p>i:1w1<br>
Wait to receive url from the network and open the url (not showing ip)</p>
</li>
<li>
<p>i:1e<br>
Open file manager for removable SDCARD download folder</p>
</li>
<li>
<p>i:50[path]:[string]<br>
Save [string] as file</p>
</li>
<li>
<p>i:51[path]:[url]<br>
Save [url] to &quot;.autoc&quot; file.</p>
</li>
<li>
<p>i:52[path]:[url]<br>
Save bookmark.</p>
</li>
<li>
<p>i:53[path]:[string]<br>
Save notes.</p>
</li>
<li>
<p>i:54[path]:[url]<br>
Save as search engine.</p>
</li>
<li>
<p>i:55[path]:[url]<br>
Save as link.</p>
</li>
<li>
<p>i:56[string]<br>
Use [string] as user input on web page.<br>
The string can have any character such as ascii code 0-26, where code 0 means clear, and code 1-26 are from ctrl-A to ctrl-Z as shortcut keys. (to type &quot;Ctrl-A&quot; into a text file, use &quot;Ctrl-Q Ctrl-A&quot; with emacs or &quot;Ctrl-V Ctrl-A&quot; with vim)</p>
</li>
<li>
<p>i:57[jscode]<br>
execute [jscode], even when js is disabled for the web page.</p>
</li>
<li>
<p>i:58[url]<br>
Save to the desktop.</p>
</li>
<li>
<p>i:5a[filename]<br>
Receive content from network to the file.</p>
</li>
<li>
<p>i:5b[string]<br>
Copy [string] to the clipboard.</p>
</li>
<li>
<p>i:5c[url]<br>
Change auto page turning internal url to be [url].</p>
</li>
<li>
<p>i:5d[file url]<br>
Open the file url compatible to other browsers.</p>
</li>
<li>
<p>i:5e[string]<br>
TTS</p>
</li>
<li>
<p>i:5f[videourl]<br>
play video fullscreen. if videourl is empty, then make following requestFullscreen() work.</p>
</li>
<li>
<p>i:5h[?postfix:|/regex/replacement:][url]<br>
force html for [url] visiting</p>
<ul>
<li>[?postfix:] : the real url visited is &quot;[url]+[?postfix]&quot;</li>
<li>[/regex/replacement:]: execute regular expression replacement for the &quot;[url]&quot;, then visit the resulting url.</li>
</ul>
</li>
<li>
<p>i:5i[url]<br>
Use the existing tab for the url with possible different url hash part.</p>
</li>
<li>
<p>i:5j[string]<br>
if [string] is file url, then send the file/folder to network, otherwise send [string] to network.</p>
</li>
<li>
<p>i:5p[videourl]<br>
play video in external player</p>
</li>
<li>
<p>i:60[path]:[url]<br>
If existing local file, then open it or visit the [url].</p>
</li>
<li>
<p>i:62[path]:[js code]<br>
Evaluate the [js code] and save the returned string to file.</p>
</li>
<li>
<p>i:63[bookmarklet index]:[url]<br>
Visiting url and execute the bookmarklet. Only uweb predefined local bookmarlets are allowed.</p>
</li>
<li>
<p>i:6i[js file path relative to configuration folder]:[url]<br>
Similar to i:5i, except executing the js file after possible url hash change.</p>
</li>
<li>
<p>i:70[url]:[auto page turning url]<br>
Visiting [url], but use the second url as auto paging url.</p>
</li>
<li>
<p>i:8d[url]<br>
Force downloading [url]</p>
</li>
<li>
<p>i:8l[filename]<br>
Loading configuration [filename]. Ex. &quot;i:8lconfig.html&quot; to reload config.html.</p>
</li>
<li>
<p>i:92[http request headers separated by ';']:[url]<br>
The &quot;Host&quot; Header (fake header, different from the standard) must be the first header.<br>
Ex. i:92Host;209.216.230.240:https://news.ycombinator.com<br>
use &quot;i:0mi:92Host;209.216.230.240::https://news.ycombinator.com&quot; to visit the site with specified IP address.</p>
</li>
<li>
<p>i:b1[internal urls or javascript separated by &quot;%0A&quot;]<br>
Bundle of internal urls, if it is an &quot;i:0&quot; url, then it should have the following format:<br>
[title]%0A[msg]%0A[optional callback url%0A][i:0url].</p>
</li>
</ul>
</div>
<p>Last Modified: 15 November 2023<br>
update i:0m document<br>
<pre>i:56 urls support CTRL_A to CTRL-Z
</pre>
</p>
<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>

88
en/longclick.html Normal file
View File

@ -0,0 +1,88 @@
<!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>Long pressed link menu</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">Long pressed link menu
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/javascript/index.html#">javascript</a> </li>
</ul>
<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>
</div>
<p>Last Modified: 24 September 2022<br>
fix typos from torinfo.uweb to torapp.uweb<br>
<pre></pre>
</p>
<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>

View File

@ -1,7 +1,6 @@
### Mirrors (clickable with uweb browser)
<a href="i:0mi:5h:https://gitee.com/jamesfengcao/uweb/raw/master/redirect.html">试验1</a>
<a href="i:0m?:https://gitcode.net/uweb/uweb/-/raw/master/redirect.html">2</a>
<a href="i:0m?:https://atomgit.com/jamesfengcao/uweb/raw/master/redirect.html">3</a>
<a href="i:0m?:https://raw.gitcode.com/uweb/uweb/raw/master/redirect.html">4</a>
<a href="i:0m?:https://gitea.com/torappinfo/uweb/raw/branch/master/redirect.html">5</a>
<a href="i:0mi:5h?format=raw::https://sourceforge.net/p/uwebbrowser/code/ci/master/tree/redirect.html">6</a>
@ -28,7 +27,6 @@
<a href="i:0m?:https://forge.chapril.org/jamesfengcao/uweb/raw/branch/master/redirect.html">chapril</a>
<a href="i:0m?:https://git.cryto.net/jamesfengcao/uweb/raw/branch/master/redirect.html ">cryto</a>
<a href="i:0m?:https://code.antopie.org/jamesfengcao/uweb/raw/branch/master/redirect.html">antopie</a>
<a href="i:0m?:https://phkn.info/jamesfengcao/uweb/raw/branch/master/redirect.html">phkn</a>
### Repositories
[gitlab](https://gitlab.com/jamesfengcao/uweb)
@ -59,4 +57,3 @@
[chapril](https://forge.chapril.org/jamesfengcao/uweb/src/branch/master/README.md)
[cryto](https://git.cryto.net/jamesfengcao/uweb/src/branch/master/README.md)
[antopie](https://code.antopie.org/jamesfengcao/uweb/src/master/README.md)
[phkn](https://phkn.info/jamesfengcao/uweb/src/branch/master/README.md)

92
en/offlinecache.html Normal file
View File

@ -0,0 +1,92 @@
<!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>Offline resources</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">Offline resources
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network.</p>
<h4 id="bingchat-ui">bingChat UI</h4>
<p><a href="i:0hsitecache/www.bing.com/ai.html:../searchurl/bingAI/bing.html">Install bingChat UI ai.html for censored area</a> (<a href="https://www.bing.com/ai.html">bingChat UI</a>)</p>
<p><a href="i:0hsitecache/www.bing.com/write.html:../searchurl/bingAI/write.html">Install bingWrite UI write.html for censored area</a> (<a href="https://www.bing.com/write.html">bingWrite</a>)</p>
<p><a href="i:0hsitecache/www.bing.com/draw.html:../searchurl/bingAI/draw.html">Install bingAI image creator UI draw.html for censored area</a> (<a href="https://www.bing.com/draw.html">bingAI image creator</a>)</p>
<h4 id="serverless-local-sites">Serverless local sites</h4>
<p><a href="i:01Extract webapp:i:0bsitecache/local/:">Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;</a>: support web extensions (.crx for chrome &amp; .xpi for firefox).</p>
<p>Any folder under &quot;sitecache&quot; can be visited as a local site. Urls with search queries can be dynamically processed by the js/wasm code in the local file.</p>
<p>PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .xpi for firefox) are just packaged websites. Ex. the &quot;kiwix&quot; extension can be extracted to the folder &quot;sitecache/local/kiwix&quot;<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>, then the kiwix extension can be accessed via url &quot;https://local/kiwix/www/index.html&quot; in the browser.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>the folder name &quot;local&quot; is used as the domain name in the url.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
</div>
<p>Last Modified: 9 May 2023<br>
fix bingAI draw<br>
<pre></pre>
</p>
<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>

125
en/readme.html Normal file
View File

@ -0,0 +1,125 @@
<!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('zh')">简体中文</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<h3 id="uweb-browser-unlimited-power">Uweb browser: unlimited power</h3>
<p><a href="README.zh-Hans.md" onclick="{let u=location.href; if(u.endsWith('index.html')||u.endsWith('readme/')){location='../../zh/readme/index.html';return false;}}">中文</a></p>
<p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a><br>
<a href="https://galaxy.store/uweb">Galaxy.Store</a><br>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html')||u.endsWith('readme/')){location='../../en/changelog/index.html';return false;}}">Downloads</a></p>
<p><a href="https://torappinfo.github.io/uweb/en/">Uweb browser: downloads, plugins and tips</a><br>
(Mirrors: <a href="https://jamesfengcao.gitlab.io/uweb/en/">gitlab</a> <a href="https://jamesfengcao.codeberg.page/en/">codeberg</a> <a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html">repo</a> <a href="https://uweb.4everland.app/en/">4everland</a> <a href="https://ik4ev-laaaa-aaaad-qd4sq-cai.ic.fleek.co/en/">fleek</a> <a href="https://uwebzh.netlify.app/en/">netlify</a> <a href="https://uweb.surge.sh/en/">surge</a> <a href="https://uwebbrowser-t27o4.kinsta.page">kinsta</a> <a href="https://torappinfo.bitbucket.io/en/">bitbucket</a> <a href="https://muweb.pages.dev/en/">pages</a> <a href="https://uweb.vercel.app/en/">vercel</a> <a href="https://uweb.onrender.com/en/">render</a><br>
<a href="en/mirrors.md" onclick="{let u=location.href; if(u.endsWith('index.html')||u.endsWith('readme/')){location='../../assets/help_en.html#mirrors';return false;}}">More...</a>)</p>
<ul>
<li>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.</li>
<li>Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.</li>
<li>Convenient: Any AI chatbot/book (pdf/djvu)/dictionary (mdict)/txt/command line/app/webapp (web extensions) can be search engine.</li>
<li>Tiny: less than 250k.</li>
<li>Fast: run fast, even with thousands of user provided css/scripts/htmls.</li>
<li>Efficient: less touches, one click to reach any number of search engines without repeated input; automate online services.</li>
<li>URL bar command line support (&quot;!&quot; and .js file as command).</li>
<li>Site-specific JS/CSS/HTML/preprocessing.</li>
<li>Online play/preview/preprocess for downloadable resources.</li>
<li>Multiple type profiles: switch any data including website logins, user configurations orthogonally.</li>
<li>Supports enhanced user &quot;hosts&quot; file. Empty IP address to lift all server-imposed limitations.</li>
<li>Website test automation scripting. crontab support (alarm clock and more).</li>
</ul>
<h4 id="main-features">Main features</h4>
<p>Custom paper size PDF export and long vector screenshot, TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup &amp; restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).</p>
<ul>
<li>User-defined global and site-specific CSS and javascript.</li>
<li>Bookmarklets (works for CSP sites and with option to auto apply to similar sites)</li>
<li>AD blocking (block whole root domain trees etc.)</li>
<li>Customization (define extra menus/buttons/gestures with user-defined functionalities)</li>
<li>Support shell scripts, javascript for general processing, other languages (python etc.) are also supported by installing uweb compatible Termux versions.</li>
<li>Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support.</li>
<li>Piping between console and uweb tabs.</li>
<li>Resizable floating video support.</li>
</ul>
<h4 id="screenshots">Screenshots</h4>
<p><img src="https://i.postimg.cc/rsL9G5N1/home1.png"><br>
<img src="https://i.postimg.cc/9QxJ3Rc2/globalcss.png"><br>
<img src="https://i.postimg.cc/VksDHBQ4/globaljs.png"><br>
<img src="https://i.postimg.cc/HLV3TYLy/longclick.png"><br>
<img src="https://i.postimg.cc/XJ58ysdN/option1.png"><br>
<img src="https://i.postimg.cc/0NFnQT6H/option2.png"></p>
<h4 id="help-with-localization">Help with localization</h4>
<p>We encourage everyone to help with localization. The following is how to do.</p>
<ul>
<li>Fork this repository</li>
<li>Copy res/values/strings.xml to path like res/values-%(lang)/, replace %(lang) with <a href="http://www.loc.gov/standards/iso639-2/php/code_list.php">the ISO 639-1 language code</a>.</li>
<li>Translate res/values-%(lang)/strings.xml</li>
<li>Translate assets/help_%(lang).html from assets/help_en.html</li>
<li>Make a Pull Request</li>
</ul>
</div>
<p>Last Modified: 24 March 2024<br>
add more repositories<br>
<pre></pre>
</p>
<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>

103
en/redirect.html Normal file
View File

@ -0,0 +1,103 @@
<!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>Resource redirection</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">Resource redirection
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/redirection/index.html#">redirection</a> </li>
</ul>
<p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option &quot;Redirect cookies&quot; enabled, so use the options with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: &quot;Url redirection&quot; vs. &quot;Resource redirection&quot;</h4>
<p>&quot;Url redirection&quot; redirects the main/page url only while &quot;Resource redirection&quot; is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option &quot;Resource redirection&quot; or both &quot;Url redirection&quot; and &quot;Redirect cookies&quot;.</p>
<p>When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
<ul>
<li>
<p>If the global redirection url ends with '/', then the resource is fetched with by the url &quot;[global redirection url] + [url]&quot;. For example, &quot;https://domain.com/pathXXX/https://cnn.com&quot;.</p>
</li>
<li>
<p>(to provide more options to users) If the global redirection url does not end with '/', it means the global redirection url is naked. then the resource is fetched with by the url &quot;[global redirection url] + '/'+ [url without scheme]&quot;. For example, when the global redirection url is &quot;https://domain.com/pathXXX&quot;, the real url to visit &quot;https://cnn.com&quot; is &quot;https://domain.com/pathXXX/cnn.com&quot;.</p>
</li>
</ul>
<h4 id="defaultredirect-valid-only-without-global-redirection-url">&quot;default.redirect&quot; (valid only without global redirection url)</h4>
<p>Click the following links to append mirrors to the file &quot;default.redirect&quot;:<br>
<a target="_self" href="i:0gdefault.redirect:../../zh/searchurl/txt/redirect.cfg">google recaptcha mirror</a></p>
<p>Each line of the file &quot;default.redirect&quot; has the following format:<br>
[domain name]:[regular expression]:[replacement expression]</p>
<p>in which &quot;[regular expression]&quot; is as defined by java language, and cannot have &quot;:&quot; inside; if empty, it defaults to be same as &quot;[domain name]&quot;.</p>
<h5 id="ways-to-enable-domain-redirection">Ways to enable domain redirection:</h5>
<ul>
<li><a href="../urls/index.html">Long pressing the image button</a></li>
<li>Long pressing the setting button, enable the option &quot;url redirection&quot;.</li>
<li>Long pressing the setting button, enable the option &quot;Resource redirection&quot;.</li>
</ul>
</div>
<p>Last Modified: 17 June 2023<br>
add latest.html<br>
<pre></pre>
</p>
<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>

102
en/rjs.html Normal file
View File

@ -0,0 +1,102 @@
<!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>Execute javascript codes</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">Execute javascript codes
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../sitejs/index.html">javascript for domains</a><br>
<a href="../globalcss/index.html">Earliest loaded global javascript</a> files locates in the subfolder &quot;css&quot; of app private folder.</p>
<p><b>Global javascript</b> files locates in the subfolder &quot;js&quot; of app private folder. Long press button [☰] to configure. Click the following links to install:<br>
&lt;a target=_self&quot; href=&quot;i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js&quot;&gt;Save password</a><br>
<a target="_self" href="i:0hjs/instantPage.js:https://fastly.jsdelivr.net/npm/instant.page">Instant page</a></p>
<p><b>large size javascript code</b> can be installed to the folder &quot;bookmarklet&quot; (long pressing button &quot;js&quot; to popup menu):<br>
<a target="_self" href="i:0hbookmarklet/!googleTranslate.js:https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit:%0A{let d=document,b=d.body,v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}}">google translation</a></p>
<p><a target="_self" href='i:0hbookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a><br>
<a target="_self" href="i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a></p>
<p>Note: Bookmarklets whose names begin with &quot;!&quot; are allowed to load remote js on CSP (Content Security Policy) sites.</p>
<p><b>Remote javascript</b> is defined in default.rjs. Click the following link to install. (<b>Force exit and re-launch the app</b>, then long press the &quot;search&quot; button to popup the menu.)</p>
<p><a href="i:04Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
<p><a href="i:04Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
<p><a href="i:04Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a></p>
<p><a href="i:04markdown:['https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js'];var d=document;var md=d.querySelector('pre').innerText;var c=new showdown.Converter({emoji:true,underline:true,});c.setFlavor('github');d.body.innerHTML=c.makeHtml(md);d.title=d.title||d.body.firstElementChild.innerText.trim();">markdown:['https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js'];var d=document;var md=d.querySelector('pre').innerText;var c=new showdown.Converter({emoji:true,underline:true,});c.setFlavor('github');d.body.innerHTML=c.makeHtml(md);d.title=d.title||d.body.firstElementChild.innerText.trim();</a></p>
<p><a href="i:04mermaid:;loadModuleJS(`import mermaid from 'https://unpkg.com/mermaid/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true});`)">mermaid:;loadModuleJS(<code>import mermaid from 'https://unpkg.com/mermaid/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true});</code>)</a></p>
<p><a href="i:04mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']">mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']</a></p>
<p><a href="i:04New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a></p>
<p><a href="i:04Site search:;open('i:15site:' + location.hostname)">Site search:;open('i:15site:' + location.hostname)</a></p>
<p><a href="i:04Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v">Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v</a></p>
<p>Remote script configuration file &quot;default.rjs&quot; whose lines have the following format:<br>
[script name]:[javascript code to return url arrays]</p>
<h4 id="activated-scripts">Activated scripts</h4>
<p>Activate either local (bookmarklets) or remote js to execute the code on the similar sites with option &quot;Activate user script&quot;.</p>
<p>Since activated scripts use internal mechanism of <a href="../links/index.html">&quot;i:0m&quot; urls</a>, the script itself cannot have <span style="color:red">'H', '?' or '/'</span> as its very first character.</p>
<h4 id="allow-remote-js-on-csp-content-security-policy-sites">Allow remote js on CSP (Content Security Policy) sites</h4>
<p>All remote js (default.rjs) are allowed to execute on CSP sites. Local js files without remote resource access work fine when under the folder &quot;bookmarklet&quot;, others needs to be refered in default.rjs as http urls such as &quot;https://local/...&quot; (<a href="../html5/index.html">html5</a> or <a href="../offlinecache/index.html">offline cache</a>) .</p>
</div>
<p>Last Modified: 29 April 2023<br>
add google translate in rjs.py<br>
<pre></pre>
</p>
<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>

272
en/search.html Normal file
View File

@ -0,0 +1,272 @@
<!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>Search engines</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">Search engines
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>AI:<br>
<a href="i:00consensus:https://consensus.app/results/?synthesize=on&q=">consensus:https://consensus.app/results/?synthesize=on&amp;q=</a></p>
<p><a href="i:00youChat:https://you.com/search?tbm=youchat&q=">youChat:https://you.com/search?tbm=youchat&amp;q=</a></p>
<p><a href="i:00youWrite:https://you.com/search?tbm=youwrite&q=">youWrite:https://you.com/search?tbm=youwrite&amp;q=</a></p>
<p><a href="i:00youImagine:https://you.com/search?tbm=imagine&q=">youImagine:https://you.com/search?tbm=imagine&amp;q=</a></p>
<p><a href="i:00you:https://you.com/search?q=">you:https://you.com/search?q=</a></p>
<p><a href="i:00perplexity:https://www.perplexity.ai/?q=">perplexity:https://www.perplexity.ai/?q=</a></p>
<p><a href="i:00phind:https://www.phind.com/search?q=">phind:https://www.phind.com/search?q=</a></p>
<p><a href="i:00medisearch:https://medisearch.io/results/">medisearch:https://medisearch.io/results/</a></p>
<p>Recommended engines (click or append any of the following to the file &quot;home5.search&quot;)<br>
<a href="i:00Engines:i:40%s_00">Engines:i:40%s_00</a></p>
<p><a href="i:00bing image:http://bing.com/images/search?q=">bing image:http://bing.com/images/search?q=</a></p>
<p><a href="i:00google image:http://www.google.com/images?as_q=">google image:http://www.google.com/images?as_q=</a></p>
<p><a href="i:00flickr:http://www.flickr.com/photos/tags/">flickr:http://www.flickr.com/photos/tags/</a></p>
<p><a href="i:00Yandex image:https://yandex.com/images/search?text=">Yandex image:https://yandex.com/images/search?text=</a></p>
<p><a href="i:00wiki:https://en.wikipedia.org/wiki/Special:Search?search=">wiki:https://en.wikipedia.org/wiki/Special:Search?search=</a></p>
<p><a href="i:00wikipedia:http://en.wikipedia.org/?search=">wikipedia:http://en.wikipedia.org/?search=</a></p>
<p><a href="i:00wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=">wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;search=</a></p>
<p><a href="i:00Youtube:https://www.youtube.com/results?search_query=">Youtube:https://www.youtube.com/results?search_query=</a></p>
<p><a href="i:00eBay:https://www.ebay.com/sch/i.html?_nkw=">eBay:https://www.ebay.com/sch/i.html?_nkw=</a></p>
<p><a href="i:00Quora:https://www.quora.com/search?q=">Quora:https://www.quora.com/search?q=</a></p>
<p><a href="i:00Pinterest:https://www.pinterest.com/search/pins/?q=">Pinterest:https://www.pinterest.com/search/pins/?q=</a></p>
<p><a href="i:00LinkedIn:https://www.linkedin.com/search/results/all/?keywords=">LinkedIn:https://www.linkedin.com/search/results/all/?keywords=</a></p>
<p><a href="i:00Netflix:https://www.netflix.com/search?q=">Netflix:https://www.netflix.com/search?q=</a></p>
<p><a href="i:00Spotify:https://open.spotify.com/search/">Spotify:https://open.spotify.com/search/</a></p>
<p><a href="i:00Medium:https://medium.com/search?q=">Medium:https://medium.com/search?q=</a></p>
<p><a href="i:00TripAdvisor:https://www.tripadvisor.com/Search?q=">TripAdvisor:https://www.tripadvisor.com/Search?q=</a></p>
<p><a href="i:00incaption:https://incaptions.com/">incaption:https://incaptions.com/</a></p>
<p><a href="i:00answer:http://mobile.answers.com/">answer:http://mobile.answers.com/</a></p>
<p><a href="i:00twitter:https://twitter.com/search?q=">twitter:https://twitter.com/search?q=</a></p>
<p><a href="i:00Facebook:https://www.facebook.com/search/str/%s/keywords_search">Facebook:https://www.facebook.com/search/str/%s/keywords_search</a></p>
<p><a href="i:00Instagram:https://www.instagram.com/explore/tags/%s/">Instagram:https://www.instagram.com/explore/tags/%s/</a></p>
<p><a href="i:00social-search:https://www.social-searcher.com/social-buzz/?q5=">social-search:https://www.social-searcher.com/social-buzz/?q5=</a></p>
<p><a href="i:00reddit:http://reddit.com/search?q=">reddit:http://reddit.com/search?q=</a></p>
<p><a href="i:00boardreader:https://boardreader.com/s/%s.html">boardreader:https://boardreader.com/s/%s.html</a></p>
<p><a href="i:00bingvideo:https://www.bing.com/videos/search?q=">bingvideo:https://www.bing.com/videos/search?q=</a></p>
<p><a href="i:00vsearch:https://www.vsearch.me/s?q=">vsearch:https://www.vsearch.me/s?q=</a></p>
<p><a href="i:00crowdview:https://crowdview.ai/search?q=">crowdview:https://crowdview.ai/search?q=</a></p>
<p><a href="i:00groups:http://groups.google.com/groups/search?q=">groups:http://groups.google.com/groups/search?q=</a></p>
<p><a href="i:00wolfram:https://www.wolframalpha.com/input/?i=">wolfram:https://www.wolframalpha.com/input/?i=</a></p>
<p><a href="i:00fxsolver:https://www.fxsolver.com/browse/?q=">fxsolver:https://www.fxsolver.com/browse/?q=</a></p>
<p><a href="i:00book_google:https://google.com/search?q=%22parent+directory%22+pdf+OR+epub+OR+DjVU+OR+xps+%22%s%22+-html+-htm+-shtml+-phtml+-php+-buy+-aspx+-jsp+-asp+-cgi+-pdf+-ftp+-unknownsecret&num=100&filter=0">book_google:https://google.com/search?q=%22parent+directory%22+pdf+OR+epub+OR+DjVU+OR+xps+%22%s%22+-html+-htm+-shtml+-phtml+-php+-buy+-aspx+-jsp+-asp+-cgi+-pdf+-ftp+-unknownsecret&amp;num=100&amp;filter=0</a></p>
<p><a href="i:00annas-archive:https://annas-archive.org/search?q=">annas-archive:https://annas-archive.org/search?q=</a></p>
<p><a href="i:00libgen:http://gen.lib.rus.ec/search.php?req=">libgen:http://gen.lib.rus.ec/search.php?req=</a></p>
<p><a href="i:00google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+">google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+</a></p>
<p><a href="i:00apkcombo:https://apkcombo.com/search/">apkcombo:https://apkcombo.com/search/</a></p>
<p>Note: "Engines" needs file "engine.search"whose format is same as "home.search" except that the keyword part of url must be denoted with "%s". Pressing the right arrow button on the search result page will automatically query with next engine in the file.</p>
<p>Common engines:<br>
<a href="i:00google:https://google.com/search?q=">google:https://google.com/search?q=</a>
<p><a href="i:00bing:http://www.bing.com/search?q=">bing:http://www.bing.com/search?q=</a></p>
<p><a href="i:00marginalia:https://search.marginalia.nu/search?query=">marginalia:https://search.marginalia.nu/search?query=</a></p>
<p><a href="i:00mojeek:https://www.mojeek.com/search?q=">mojeek:https://www.mojeek.com/search?q=</a></p>
<p><a href="i:00rightdao:https://rightdao.com/search?q=">rightdao:https://rightdao.com/search?q=</a></p>
<p><a href="i:00alexandria:https://www.alexandria.org/?q=">alexandria:https://www.alexandria.org/?q=</a></p>
<p><a href="i:00yep:https://yep.com/web?q=">yep:https://yep.com/web?q=</a></p>
<p><a href="i:00seznam:https://search.seznam.cz/?q=">seznam:https://search.seznam.cz/?q=</a></p>
<p><a href="i:00metager:https://metager.org/meta/meta.ger3?eingabe=">metager:https://metager.org/meta/meta.ger3?eingabe=</a></p>
<p><a href="i:00seekr:https://www.seekr.com/search?query=">seekr:https://www.seekr.com/search?query=</a></p>
<p><a href="i:00brave:https://search.brave.com/search?q=">brave:https://search.brave.com/search?q=</a></p>
<p><a href="i:00ellpedia:https://en.ellpedia.com/search?q=">ellpedia:https://en.ellpedia.com/search?q=</a></p>
<p><a href="i:00gemini:https://portal.mozz.us/gemini/geminispace.info/search%3F">gemini:https://portal.mozz.us/gemini/geminispace.info/search%3F</a></p>
<p><a href="i:00waldo:https://www.waldo.fyi/data?q=">waldo:https://www.waldo.fyi/data?q=</a></p>
<p><a href="i:00xda:https://www.xda-developers.com/search/">xda:https://www.xda-developers.com/search/</a></p>
<p><a href="i:00Feeling lucky:https://google.com/search?btnl=1&q=">Feeling lucky:https://google.com/search?btnl=1&amp;q=</a></p>
<p><a href="i:00pix:https://www.google.com/search?tbm=isch&q=">pix:https://www.google.com/search?tbm=isch&amp;q=</a></p>
<p><a href="i:00youtube:https://youtube.com/results?search_query=">youtube:https://youtube.com/results?search_query=</a></p>
<p><a href="i:00news:https://news.search.yahoo.com/search/news?p=">news:https://news.search.yahoo.com/search/news?p=</a></p>
<p><a href="i:00stock:https://finance.yahoo.com/quote/">stock:https://finance.yahoo.com/quote/</a></p>
<p><a href="i:00amazon:https://www.amazon.com/s/?field-keywords=">amazon:https://www.amazon.com/s/?field-keywords=</a></p>
<p><a href="i:00weather:https://www.wunderground.com/cgi-bin/findweather/getForecast?query=">weather:https://www.wunderground.com/cgi-bin/findweather/getForecast?query=</a></p>
<p><a href="i:00IMDB:https://www.imdb.com/find?q=">IMDB:https://www.imdb.com/find?q=</a></p>
<p><a href="i:00film review:https://www.rottentomatoes.com/search/?search=">film review:https://www.rottentomatoes.com/search/?search=</a></p>
<p><a href="i:00goodreads:https://www.goodreads.com/search?query=">goodreads:https://www.goodreads.com/search?query=</a></p>
<p><a href="i:00audible:http://www.audible.com/search?sort=review-rank&advsearchKeywords=">audible:http://www.audible.com/search?sort=review-rank&amp;advsearchKeywords=</a></p>
<p><a href="i:00audiobay:http://audiobookbay.se/?s=">audiobay:http://audiobookbay.se/?s=</a></p>
<p><a href="i:00telegramsearcher:https://telegramsearcher.com/search?q=">telegramsearcher:https://telegramsearcher.com/search?q=</a></p>
<p><a href="i:00lyzem:https://lyzem.com/search?q=">lyzem:https://lyzem.com/search?q=</a></p>
<p><a href="i:00gramxlu:https://gramxly.com/s?q=">gramxlu:https://gramxly.com/s?q=</a></p>
<p>language:<br>
<a href="i:00OED:https://www.oed.com/LIBRARY?dest=https%3A%2F%2Fwww.oed.com%2Fsearch%3FsearchType%3Ddictionary%26q%3D%s%26_searchBtn%3DSearch&acc_id=65585&library_card=12363257">OED:https://www.oed.com/LIBRARY?dest=https%3A%2F%2Fwww.oed.com%2Fsearch%3FsearchType%3Ddictionary%26q%3D%s%26_searchBtn%3DSearch&amp;acc_id=65585&amp;library_card=12363257</a></p>
<p><a href="i:00webster1913:https://www.websters1913.com/words/">webster1913:https://www.websters1913.com/words/</a></p>
<p><a href="i:00merriam-webster:https://www.merriam-webster.com/dictionary/">merriam-webster:https://www.merriam-webster.com/dictionary/</a></p>
<p><a href="i:00dictionary:https://www.dictionary.com/browse/">dictionary:https://www.dictionary.com/browse/</a></p>
<p><a href="i:00finedict:https://www.finedictionary.com/">finedict:https://www.finedictionary.com/</a></p>
<p><a href="i:00freedictionary:https://www.thefreedictionary.com/">freedictionary:https://www.thefreedictionary.com/</a></p>
<p><a href="i:00legal_fd:https://legal-dictionary.thefreedictionary.com/">legal_fd:https://legal-dictionary.thefreedictionary.com/</a></p>
<p><a href="i:00finance_fd:https://financial-dictionary.thefreedictionary.com/">finance_fd:https://financial-dictionary.thefreedictionary.com/</a></p>
<p><a href="i:00wikipedia_fd:https://encyclopedia.thefreedictionary.com/">wikipedia_fd:https://encyclopedia.thefreedictionary.com/</a></p>
<p><a href="i:00encyclopedia_fd:https://encyclopedia2.thefreedictionary.com/">encyclopedia_fd:https://encyclopedia2.thefreedictionary.com/</a></p>
<p><a href="i:00wordreference:https://www.wordreference.com/definition/">wordreference:https://www.wordreference.com/definition/</a></p>
<p><a href="i:00vocabulary:https://www.vocabulary.com/dictionary/">vocabulary:https://www.vocabulary.com/dictionary/</a></p>
<p><a href="i:00etymology:https://www.etymonline.com/search?q=">etymology:https://www.etymonline.com/search?q=</a></p>
<p><a href="i:00powerthesaurus:https://www.powerthesaurus.org/%s/synonyms">powerthesaurus:https://www.powerthesaurus.org/%s/synonyms</a></p>
<p><a href="i:00macmillanthesaurus:https://www.macmillanthesaurus.com/search/?auto=complete&q=">macmillanthesaurus:https://www.macmillanthesaurus.com/search/?auto=complete&amp;q=</a></p>
<p><a href="i:00lword:https://lword.top/word.html#">lword:https://lword.top/word.html#</a></p>
<p><a href="i:00ludwig:https://ludwig.guru/s/">ludwig:https://ludwig.guru/s/</a></p>
<p><a href="i:00webster:https://www.merriam-webster.com/dictionary/">webster:https://www.merriam-webster.com/dictionary/</a></p>
<p><a href="i:00googledict:http://googledictionary.freecollocation.com/meaning?word=">googledict:http://googledictionary.freecollocation.com/meaning?word=</a></p>
<p><a href="i:00freetts_ru:https://freetts.com/Home/PlayAudio?Language=ru-RU&Voice=ru-RU-Standard-A&id=undefined&type=0&TextMessage=">freetts_ru:https://freetts.com/Home/PlayAudio?Language=ru-RU&amp;Voice=ru-RU-Standard-A&amp;id=undefined&amp;type=0&amp;TextMessage=</a></p>
<p><a href="i:00freetts_ar:https://freetts.com/Home/PlayAudio?Language=ar-XA&Voice=ar-XA-Standard-A&id=undefined&type=0&TextMessage=">freetts_ar:https://freetts.com/Home/PlayAudio?Language=ar-XA&amp;Voice=ar-XA-Standard-A&amp;id=undefined&amp;type=0&amp;TextMessage=</a></p>
<p>Science:<br>
<a href="i:00britannica:https://www.britannica.com/search?query=">britannica:https://www.britannica.com/search?query=</a></p>
<p><a href="i:00mathRef:https://reference.wolfram.com/search/?q=">mathRef:https://reference.wolfram.com/search/?q=</a></p>
<p><a href="i:00mathSE:https://math.stackexchange.com/search?q=">mathSE:https://math.stackexchange.com/search?q=</a></p>
<p><a href="i:00phySE:https://physics.stackexchange.com/search?q=">phySE:https://physics.stackexchange.com/search?q=</a></p>
<p><a href="i:00physicsForum:https://www.physicsforums.com/search/2195918/?q=">physicsForum:https://www.physicsforums.com/search/2195918/?q=</a></p>
<p><a href="i:00pubchem SMILES:https://pubchem.ncbi.nlm.nih.gov/#input_type=smiles&query=">pubchem SMILES:https://pubchem.ncbi.nlm.nih.gov/#input_type=smiles&amp;query=</a></p>
<p><a href="i:00pubchem:https://pubchem.ncbi.nlm.nih.gov/#query=">pubchem:https://pubchem.ncbi.nlm.nih.gov/#query=</a></p>
<p><a href="i:00chemSE:https://chemistry.stackexchange.com/search?q=">chemSE:https://chemistry.stackexchange.com/search?q=</a></p>
<p><a href="i:00chem:https://www.ncbi.nlm.nih.gov/pccompound?term=">chem:https://www.ncbi.nlm.nih.gov/pccompound?term=</a></p>
<p><a href="i:00proofwiki:https://proofwiki.org/w/index.php?search=">proofwiki:https://proofwiki.org/w/index.php?search=</a></p>
<p><a href="i:00physics:http://www.physics.org/explore-results-all.asp?q=">physics:http://www.physics.org/explore-results-all.asp?q=</a></p>
<p><a href="i:00biology:https://www.biologyonline.com/dictionary/">biology:https://www.biologyonline.com/dictionary/</a></p>
<p><a href="i:00nist chem:https://webbook.nist.gov/cgi/cbook.cgi?Formula=">nist chem:https://webbook.nist.gov/cgi/cbook.cgi?Formula=</a></p>
<p><a href="i:00chemiday:https://chemiday.com/search/?lang=en&q=">chemiday:https://chemiday.com/search/?lang=en&amp;q=</a></p>
<p><a href="i:00chem.libretexts:https://chem.libretexts.org/Special:Search?q=">chem.libretexts:https://chem.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00bio.libretexts:https://bio.libretexts.org/Special:Search?q=">bio.libretexts:https://bio.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00phys.libretexts:https://phys.libretexts.org/Special:Search?q=">phys.libretexts:https://phys.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00med.libretexts:https://med.libretexts.org/Special:Search?q=">med.libretexts:https://med.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00math.libretexts:https://math.libretexts.org/Special:Search?q=">math.libretexts:https://math.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00stats.libretexts:https://stats.libretexts.org/Special:Search?q=">stats.libretexts:https://stats.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00geo.libretexts:https://geo.libretexts.org/Special:Search?q=">geo.libretexts:https://geo.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00eng.libretexts:https://eng.libretexts.org/Special:Search?q=">eng.libretexts:https://eng.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00biz.libretexts:https://biz.libretexts.org/Special:Search?q=">biz.libretexts:https://biz.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00human.libretexts:https://human.libretexts.org/Special:Search?q=">human.libretexts:https://human.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00socialsci.libretexts:https://socialsci.libretexts.org/Special:Search?q=">socialsci.libretexts:https://socialsci.libretexts.org/Special:Search?q=</a></p>
<p><a href="i:00workforce.libretexts:https://workforce.libretexts.org/Special:Search?q=">workforce.libretexts:https://workforce.libretexts.org/Special:Search?q=</a></p>
<p>More engines:<br>
<a href="i:00oscobo:https://www.oscobo.com/search.php?q=">oscobo:https://www.oscobo.com/search.php?q=</a></p>
<p><a href="i:00teoma:https://www.teoma.com/web?q=">teoma:https://www.teoma.com/web?q=</a></p>
<p><a href="i:00lycos:https://search.lycos.com/web/?q=">lycos:https://search.lycos.com/web/?q=</a></p>
<p><a href="i:00technorati:http://technorati.com/search/index.php?q=">technorati:http://technorati.com/search/index.php?q=</a></p>
<p><a href="i:00qwant:https://lite.qwant.com/?q=">qwant:https://lite.qwant.com/?q=</a></p>
<p><a href="i:00swisscows:https://swisscows.com/web?query=">swisscows:https://swisscows.com/web?query=</a></p>
<p><a href="i:00ecosia:https://www.ecosia.org/search?q=">ecosia:https://www.ecosia.org/search?q=</a></p>
<p><a href="i:00duck:https://duckduckgo.com/?q=">duck:https://duckduckgo.com/?q=</a></p>
<p><a href="i:00presearch:https://presearch.com/search?q=">presearch:https://presearch.com/search?q=</a></p>
<p><a href="i:00gigablast:https://www.gigablast.com/search?c=main&qlangcountry=en-us&q=">gigablast:https://www.gigablast.com/search?c=main&amp;qlangcountry=en-us&amp;q=</a></p>
<p><a href="i:00yandex:https://yandex.com/search/?text=">yandex:https://yandex.com/search/?text=</a></p>
<p><a href="i:00searx:https://searx.be/?q=">searx:https://searx.be/?q=</a></p>
<p><a href="i:00startpage:https://startpage.com/do/search?query=">startpage:https://startpage.com/do/search?query=</a></p>
<p><a href="i:00gibiru:https://gibiru.com/results.html?q=">gibiru:https://gibiru.com/results.html?q=</a></p>
<p><a href="i:00zapmeta:https://www.zapmeta.com/search?q=">zapmeta:https://www.zapmeta.com/search?q=</a></p>
<p>Medical:<br>
<a href="i:00medical_freedict:https://medical-dictionary.thefreedictionary.com/">medical_freedict:https://medical-dictionary.thefreedictionary.com/</a></p>
<p><a href="i:00merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=">merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=</a></p>
<p><a href="i:00openmd:https://openmd.com/search?q=">openmd:https://openmd.com/search?q=</a></p>
<p><a href="i:00radiopaedia:https://radiopaedia.org/search?q=">radiopaedia:https://radiopaedia.org/search?q=</a></p>
<p><a href="i:00medical-dict:https://medical-dictionary.com/results.php?term=">medical-dict:https://medical-dictionary.com/results.php?term=</a></p>
<p><a href="i:00ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=">ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=</a></p>
<p><a href="i:00healio:https://journals.healio.com/action/doSearch?AllField=">healio:https://journals.healio.com/action/doSearch?AllField=</a></p>
<p><a href="i:00pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=">pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=</a></p>
<p><a href="i:00pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=">pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=</a></p>
<p><a href="i:00Tabers:https://www.tabers.com/tabersonline/search?st=OSS&q=">Tabers:https://www.tabers.com/tabersonline/search?st=OSS&amp;q=</a></p>
<p><a href="i:00medicinenet:https://www.medicinenet.com/%s/definition.htm">medicinenet:https://www.medicinenet.com/%s/definition.htm</a></p>
<p>Torrent:<br>
<a href="i:00aio:https://www.aiosearch.com/search/4/Torrents/">aio:https://www.aiosearch.com/search/4/Torrents/</a></p>
<p><a href="i:00academictorrents:https://academictorrents.com/browse.php?search=">academictorrents:https://academictorrents.com/browse.php?search=</a></p>
<p><a href="i:00piratebay:https://thepiratebay.org/search/%s/0/7/0">piratebay:https://thepiratebay.org/search/%s/0/7/0</a></p>
<p><a href="i:00katcr:https://katcr.to/search/">katcr:https://katcr.to/search/</a></p>
<p><a href="i:001337x:https://1337x.to/search/%s/1/">1337x:https://1337x.to/search/%s/1/</a></p>
<p>Scholar:<br>
<a href="i:00classcentral:https://www.classcentral.com/search?q=">classcentral:https://www.classcentral.com/search?q=</a></p>
<p><a href="i:00base:https://www.base-search.net/Search/Results?lookfor=">base:https://www.base-search.net/Search/Results?lookfor=</a></p>
<p><a href="i:00science.gov:POST:fullRecord=%s:https://www.science.gov/scigov/search.html">science.gov:POST:fullRecord=%s:https://www.science.gov/scigov/search.html</a></p>
<p><a href="i:00sweetsearch:https://sweetsearch.com/search?q=">sweetsearch:https://sweetsearch.com/search?q=</a></p>
<p><a href="i:00refseek:https://www.refseek.com/search?q=">refseek:https://www.refseek.com/search?q=</a></p>
<p><a href="i:00google scholar:https://scholar.google.com/scholar?q=">google scholar:https://scholar.google.com/scholar?q=</a></p>
<p><a href="i:00bing academic:http://bing.com/academic/search?q=">bing academic:http://bing.com/academic/search?q=</a></p>
<p><a href="i:00core:https://core.ac.uk/search?q=">core:https://core.ac.uk/search?q=</a></p>
<p><a href="i:00semanticscholar:https://www.semanticscholar.org/search?sort=relevance&q=">semanticscholar:https://www.semanticscholar.org/search?sort=relevance&amp;q=</a></p>
<p><a href="i:00xueshu:https://xueshu.baidu.com/s?wd=">xueshu:https://xueshu.baidu.com/s?wd=</a></p>
<p>Developer:<br>
<a href="i:00devdocs:https://devdocs.io/#q=">devdocs:https://devdocs.io/#q=</a></p>
<p><a href="i:00grep.app:https://grep.app/search?q=">grep.app:https://grep.app/search?q=</a></p>
<p><a href="i:00git:https://github.com/search?type=Repositories&amp;q=">git:https://github.com/search?type=Repositories&amp;q=</a></p>
<p><a href="i:00man:http://man.cx/">man:http://man.cx/</a></p>
<p><a href="i:00code:http://searchcode.com/?q=">code:http://searchcode.com/?q=</a></p>
<p><a href="i:00grep:https://grep.app/search?q=">grep:https://grep.app/search?q=</a></p>
<p><a href="i:00symbolhound:http://symbolhound.com/?q=">symbolhound:http://symbolhound.com/?q=</a></p>
<p><a href="i:00vector:https://vector.me/search/">vector:https://vector.me/search/</a></p>
<p><a href="i:00jsdelivr:http://www.jsdelivr.com/?query=">jsdelivr:http://www.jsdelivr.com/?query=</a></p>
<p><a href="i:00greasyfork:https://greasyfork.org/en/scripts?sort=updated&q=">greasyfork:https://greasyfork.org/en/scripts?sort=updated&amp;q=</a></p>
<p><a href="i:00cdn.githubjs.cf:https://cdn.githubjs.cf/search?q=">cdn.githubjs.cf:https://cdn.githubjs.cf/search?q=</a></p>
<p><a href="i:00hub.yzuu:https://hub.yzuu.cf/search?q=">hub.yzuu:https://hub.yzuu.cf/search?q=</a></p>
<p><a href="i:00hub.nuaa:https://hub.nuaa.cf/search?q=">hub.nuaa:https://hub.nuaa.cf/search?q=</a></p>
<p><a href="i:00hub.njuu:https://hub.njuu.cf/search?q=">hub.njuu:https://hub.njuu.cf/search?q=</a></p>
<p>app:<br>
<a href="i:00App store:market://search?q=">App store:market://search?q=</a></p>
<p>local engines(May need termux customized edition and tools like bcgnuplot etc.):<br>
<a href="i:00bc:d:text/html:echo \'%s\'|bc -l -q:">bc:d:text/html:echo '%s'|bc -l -q:</a></p>
<p><a href="i:002D plot:d:image/svg+xml:gnuplot -e \'set term svg;set output; plot %s\':">2D plot:d:image/svg+xml:gnuplot -e 'set term svg;set output; plot %s':</a></p>
<p><a href="i:003D plot:d:image/svg+xml:gnuplot -e \'set term svg;set output; splot %s\':">3D plot:d:image/svg+xml:gnuplot -e 'set term svg;set output; splot %s':</a></p>
<p><a href="../searchcat/index.html">Search engine files</a></p>
<p>More at:<br>
<a href="https://alternativeto.net/software/google-search/?feature=web-search">alternativeto</a></p>
</div>
<p>Last Modified: 2 April 2024<br>
update AI engines<br>
<pre>Add AI engines
</pre>
</p>
<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>

94
en/searchcat.html Normal file
View File

@ -0,0 +1,94 @@
<!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>Search engine files</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">Search engine files
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/search%20engine/index.html#">search engine</a> </li>
</ul>
<p>Any &quot;.search&quot; file can be opened as search engine file, each line of which has one of the following formats:<br>
[Engine name]:[url without '%s' inside]<br>
[Engine name]:[url with '%s' as keyword]<br>
[Engine name]:POST:[post params with '%s' as keyword]:[url]<br>
[Engine name]:[Extra request headers]:[post params with '%s' as keyword]:[url]</p>
<ul>
<li>[Extra request headers] Ex. &quot;X-Forwarded-For;8.8.8.8&quot;</li>
<li>when [post params] is empty, the url should have '%s' as keyword. Ex. <a href="../search/index.html">bingUS engine w/ chatgpt</a></li>
</ul>
<p>Limitations (they are here for performance reasons):</p>
<ul>
<li>The first engine in the file must be the first type that has no '%s' in the engine url.</li>
<li>Internal scheme engine urls (such as i:, d:, c:) must have '%s', since '%s' format is more general (only type 2 is allowed, since POST makes no sense for internal schemes).</li>
</ul>
<h4 id="local-engines">Local engines</h4>
<p>c:[command line with '%s' as keyword]<br>
d:mimetype:[command line with '%s' as keyword]:[base url for external resources]</p>
</div>
<p>Last Modified: 4 March 2023<br>
i:0m to support extra headers<br>
<pre></pre>
</p>
<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>

102
en/sitejs.html Normal file
View File

@ -0,0 +1,102 @@
<!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>JS/CSS/HTML/preprocessing for domains</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">JS/CSS/HTML/preprocessing for domains
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/javascript/index.html#">javascript</a> </li>
<li><a href="../tags/css/index.html#">css</a> </li>
</ul>
<h3 id="javascript-load-when-page-completes-earliest-loaded-js-should-use-sitecss">Javascript (load when page completes, earliest loaded JS should use sitecss).</h3>
<ul>
<li>Need to be named as &quot;[domain root].js&quot;, such as &quot;yahoo.com.js&quot; or &quot;finance.yahoo.com.js&quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded.</li>
<li>Script must be put under the folder &quot;sitejs&quot; or &quot;/data/data/info.torapp.uweb/files/sitejs&quot;. The later folder has the priority.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Run user scripts&quot;.</li>
<li>Support 2/3-segment domains. If the length of the last 2-segments of domain is less than 7 (ex. &quot;com.pl&quot;), then it is treated as one segment.</li>
</ul>
<h3 id="css-style-and-earliest-loaded-js">CSS style and earliest loaded JS</h3>
<ul>
<li>Need to be named as &quot;[domain root].css&quot;, such as yahoo.com.css or finance.yahoo.com.css。</li>
<li>Under folder &quot;sitecss&quot;.</li>
<li>&quot;[domain root].js&quot; is loaded at the earliest time.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Apply user styles&quot;.</li>
</ul>
<p>If file &quot;default.css&quot; exists, the style will be applied to all sites not matching [domain root].css.</p>
<h3 id="extra-html-and-preprocessing">Extra html and preprocessing</h3>
<ul>
<li>Need to be named as &quot;[domain].html&quot;. Notice: the file name stem here is &quot;[full domain]&quot; not &quot;[domain root]&quot;.</li>
<li>Under folder &quot;siteextra&quot;.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Apply user extra&quot;.</li>
</ul>
<p>An open tag as the last tag in the last 50 bytes of the user extra html expects more content to follow, thus the extra html is placed before the site html. Ex. when the extra html ends with &quot;&lt;textarea&gt;&quot; or &quot;&lt;plaintext&gt;&quot;, the site source html appears as the value of the textarea/plaintext element, thus the extra html can further process the the site source html before rendering. A self closed tag such as &quot;&lt;br&gt;&quot; acts like open tags, also makes the site source follow the extra html.</p>
<p>&quot;sitejs/.js&quot;, &quot;sitecss/.css&quot;, &quot;sitecss/.js&quot; and &quot;siteextra/.html&quot; are applied to all non-http urls (file urls etc.).</p>
</div>
<p>Last Modified: 20 April 2023<br>
support .js files under &#39;css&#39; folder<br>
<pre></pre>
</p>
<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>

124
en/sitemap.html Normal file
View File

@ -0,0 +1,124 @@
<!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>Configuration</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">Configuration
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="i:61ver:../../latest.html#">Check for updates</a></p>
<h4 id="ui">UI</h4>
<ul>
<li><a href="../search/index.html">Search engines</a></li>
<li><a href="../searchurl/homescreen.html">Home screens</a></li>
<li><a href="i:61:../searchurl/func.html">UI</a> (<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/func.html">gitee</a>)</li>
<li><a href="../searchurl/webdav.html">webdav install-able menu generator</a></li>
</ul>
<h4 id="customization">Customization</h4>
<ul>
<li>Long pressing menus for toolbar buttons</li>
<li><a href="../uas/index.html">User agents</a></li>
<li><a href="../rjs/index.html">Javascript</a></li>
<li><a href="../urls/index.html">Url services</a></li>
<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="../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>
<li><a href="../acmd/index.html">Address bar command modes</a></li>
<li><a href="i:60config.html:../searchurl/config.html">Advanced</a></li>
</ul>
<h4 id="advanced">Advanced</h4>
<h5 id="content">Content</h5>
<ul>
<li><a href="../adblock/index.html">AD blocking</a></li>
<li><a href="../globalcss/index.html">CSS styles</a></li>
<li><a href="../redirect/index.html">Redirection</a></li>
<li><a href="../offlinecache/index.html">Offline cache</a></li>
<li><a href="../sitejs/index.html">JS/CSS/HTML/preprocessing for domains</a></li>
<li><a href="../url2site/index.html">Any urls as website</a></li>
</ul>
<h5 id="tools">Tools</h5>
<ul>
<li><a href="../bookmarklet/index.html">Bookmarklets</a></li>
<li><a href="../tcron/index.html">Cron &amp; more</a></li>
<li><a href="../filecap/index.html">Custom file handling</a></li>
<li><a href="../html5/index.html">Html5 application</a></li>
<li><a href="../termux/index.html">Termux</a></li>
</ul>
<h5 id="info">Info</h5>
<ul>
<li><a href="../assets/help_en.html">Manual</a></li>
<li><a href="../tips/index.html">Tips</a></li>
<li><a href="../filenames/index.html">Configuration files</a></li>
<li><a href="../bookmark/index.html">Bookmarks</a></li>
</ul>
</div>
<p>Last Modified: 19 December 2023<br>
version 1037<br>
<pre></pre>
</p>
<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>

View File

@ -2,534 +2,547 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<loc>/en/_posts.html</loc>
<lastmod>2024-03-06T09:59:54+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
href="/zh/_posts.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
href="/en/_posts.html"
/>
</url><url>
<loc>/en/tags/clipboard/</loc>
<loc>/en/tags/clipboard.html</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>
</url><url>
<loc>/en/tags/ssh/</loc>
<loc>/en/tags/ssh.html</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/ssh/"
href="/zh/tags/ssh.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/ssh/"
href="/en/tags/ssh.html"
/>
</url><url>
<loc>/en/tags/</loc>
<loc>/en/tags.html</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/"
href="/zh/tags.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/"
href="/en/tags.html"
/>
</url><url>
<loc>/en/tags/termux/</loc>
<loc>/en/tags/termux.html</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/termux/"
href="/zh/tags/termux.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/termux/"
href="/en/tags/termux.html"
/>
</url><url>
<loc>/en/textprocess/</loc>
<loc>/en/textprocess.html</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/textprocess/"
href="/zh/textprocess.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/textprocess/"
href="/en/textprocess.html"
/>
</url><url>
<loc>/en/tags/windows/</loc>
<loc>/en/</loc>
<lastmod>2024-04-02T09:37:40+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/tags/windows.html</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/windows/"
href="/zh/tags/windows.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/windows/"
href="/en/tags/windows.html"
/>
</url><url>
<loc>/en/links/</loc>
<loc>/en/links.html</loc>
<lastmod>2023-11-15T15:19:25+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/links/"
href="/zh/links.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/links/"
href="/en/links.html"
/>
</url><url>
<loc>/en/tcron/</loc>
<loc>/en/tcron.html</loc>
<lastmod>2024-01-04T17:14:26+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tcron/"
href="/zh/tcron.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tcron/"
href="/en/tcron.html"
/>
</url><url>
<loc>/en/offlinecache/</loc>
<loc>/en/offlinecache.html</loc>
<lastmod>2023-05-09T22:48:54+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/offlinecache/"
href="/zh/offlinecache.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/offlinecache/"
href="/en/offlinecache.html"
/>
</url><url>
<loc>/en/tags/redirection/</loc>
<loc>/en/tags/redirection.html</loc>
<lastmod>2023-06-17T07:35:57+08:00</lastmod>
</url><url>
<loc>/en/redirect/</loc>
<loc>/en/redirect.html</loc>
<lastmod>2023-06-17T07:35:57+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/redirect/"
href="/zh/redirect.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/redirect/"
href="/en/redirect.html"
/>
</url><url>
<loc>/en/tags/adblock/</loc>
<loc>/en/tags/adblock.html</loc>
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
</url><url>
<loc>/en/adblock_domain/</loc>
<loc>/en/adblock_domain.html</loc>
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/adblock_domain/"
href="/zh/adblock_domain.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/adblock_domain/"
href="/en/adblock_domain.html"
/>
</url><url>
<loc>/en/search/</loc>
<lastmod>2024-03-31T11:32:40+08:00</lastmod>
<loc>/en/search.html</loc>
<lastmod>2024-04-02T09:37:40+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/search/"
href="/zh/search.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/search/"
href="/en/search.html"
/>
</url><url>
<loc>/en/topposts/</loc>
<lastmod>2024-03-31T11:32:40+08:00</lastmod>
<loc>/en/topposts.html</loc>
<lastmod>2024-04-02T09:37:40+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/topposts/"
href="/zh/topposts.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/topposts/"
href="/en/topposts.html"
/>
</url><url>
<loc>/en/tags/css/</loc>
<loc>/en/tags/css.html</loc>
<lastmod>2023-04-20T10:17:34+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/css/"
href="/zh/tags/css.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/css/"
href="/en/tags/css.html"
/>
</url><url>
<loc>/en/tags/javascript/</loc>
<loc>/en/tags/javascript.html</loc>
<lastmod>2023-04-20T10:17:34+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/javascript/"
href="/zh/tags/javascript.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/javascript/"
href="/en/tags/javascript.html"
/>
</url><url>
<loc>/en/sitejs/</loc>
<loc>/en/sitejs.html</loc>
<lastmod>2023-04-20T10:17:34+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/sitejs/"
href="/zh/sitejs.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/sitejs/"
href="/en/sitejs.html"
/>
</url><url>
<loc>/en/bookmark/</loc>
<loc>/en/bookmark.html</loc>
<lastmod>2024-03-06T09:59:54+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/bookmark/"
href="/zh/bookmark.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/bookmark/"
href="/en/bookmark.html"
/>
</url><url>
<loc>/en/tips/</loc>
<loc>/en/tips.html</loc>
<lastmod>2023-12-01T15:52:12+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tips/"
href="/zh/tips.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tips/"
href="/en/tips.html"
/>
</url><url>
<loc>/en/acmd/</loc>
<loc>/en/acmd.html</loc>
<lastmod>2023-02-18T14:12:02+08:00</lastmod>
</url><url>
<loc>/en/url2site/</loc>
<loc>/en/url2site.html</loc>
<lastmod>2023-05-14T10:54:36+08:00</lastmod>
</url><url>
<loc>/en/html5/</loc>
<loc>/en/html5.html</loc>
<lastmod>2023-02-20T21:49:16+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/html5/"
href="/zh/html5.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/html5/"
href="/en/html5.html"
/>
</url><url>
<loc>/en/changelog/</loc>
<loc>/en/changelog.html</loc>
<lastmod>2024-03-21T17:54:44+08:00</lastmod>
</url><url>
<loc>/en/sitemap/</loc>
<loc>/en/sitemap.html</loc>
<lastmod>2023-12-19T17:02:46+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/sitemap/"
href="/zh/sitemap.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/sitemap/"
href="/en/sitemap.html"
/>
</url><url>
<loc>/en/filenames/</loc>
<loc>/en/filenames.html</loc>
<lastmod>2023-12-09T18:14:29+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/filenames/"
href="/zh/filenames.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/filenames/"
href="/en/filenames.html"
/>
</url><url>
<loc>/en/adblock/</loc>
<loc>/en/adblock.html</loc>
<lastmod>2023-02-20T21:48:27+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/adblock/"
href="/zh/adblock.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/adblock/"
href="/en/adblock.html"
/>
</url><url>
<loc>/en/bookmarklet/</loc>
<loc>/en/bookmarklet.html</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/bookmarklet/"
href="/zh/bookmarklet.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/bookmarklet/"
href="/en/bookmarklet.html"
/>
</url><url>
<loc>/en/urls/</loc>
<loc>/en/urls.html</loc>
<lastmod>2023-12-05T08:55:37+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/urls/"
href="/zh/urls.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/urls/"
href="/en/urls.html"
/>
</url><url>
<loc>/en/cmds/</loc>
<loc>/en/cmds.html</loc>
<lastmod>2023-12-05T08:55:49+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/cmds/"
href="/zh/cmds.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/cmds/"
href="/en/cmds.html"
/>
</url><url>
<loc>/en/rjs/</loc>
<loc>/en/rjs.html</loc>
<lastmod>2023-04-29T21:37:35+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/rjs/"
href="/zh/rjs.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/rjs/"
href="/en/rjs.html"
/>
</url><url>
<loc>/en/globalcss/</loc>
<loc>/en/globalcss.html</loc>
<lastmod>2023-04-20T10:19:36+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/globalcss/"
href="/zh/globalcss.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/globalcss/"
href="/en/globalcss.html"
/>
</url><url>
<loc>/en/icons/</loc>
<loc>/en/icons.html</loc>
<lastmod>2022-11-01T15:49:25+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/icons/"
href="/zh/icons.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/icons/"
href="/en/icons.html"
/>
</url><url>
<loc>/en/tags/search-engine/</loc>
<loc>/en/tags/search-engine.html</loc>
<lastmod>2023-03-04T09:42:31+08:00</lastmod>
</url><url>
<loc>/en/searchcat/</loc>
<loc>/en/searchcat.html</loc>
<lastmod>2023-03-04T09:42:31+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/searchcat/"
href="/zh/searchcat.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/searchcat/"
href="/en/searchcat.html"
/>
</url><url>
<loc>/en/termux/</loc>
<loc>/en/termux.html</loc>
<lastmod>2023-12-09T18:10:31+08:00</lastmod>
</url><url>
<loc>/en/longclick/</loc>
<loc>/en/longclick.html</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/longclick/"
href="/zh/longclick.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/longclick/"
href="/en/longclick.html"
/>
</url><url>
<loc>/en/tags/tdict/</loc>
<loc>/en/tags/tdict.html</loc>
<lastmod>2022-09-27T17:36:08+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/tdict/"
href="/zh/tags/tdict.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/tdict/"
href="/en/tags/tdict.html"
/>
</url><url>
<loc>/en/tags/tools/</loc>
<loc>/en/tags/tools.html</loc>
<lastmod>2022-09-27T17:36:08+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/tools/"
href="/zh/tags/tools.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/tools/"
href="/en/tags/tools.html"
/>
</url><url>
<loc>/en/tools/</loc>
<loc>/en/tools.html</loc>
<lastmod>2022-09-27T17:36:08+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tools/"
href="/zh/tools.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tools/"
href="/en/tools.html"
/>
</url><url>
<loc>/en/tags/curl/</loc>
<loc>/en/tags/curl.html</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/curl/"
href="/zh/tags/curl.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/curl/"
href="/en/tags/curl.html"
/>
</url><url>
<loc>/en/filecap/</loc>
<loc>/en/filecap.html</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/filecap/"
href="/zh/filecap.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/filecap/"
href="/en/filecap.html"
/>
</url><url>
<loc>/en/gesture/</loc>
<loc>/en/gesture.html</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/gesture/"
href="/zh/gesture.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/gesture/"
href="/en/gesture.html"
/>
</url><url>
<loc>/en/readme/</loc>
<loc>/en/readme.html</loc>
<lastmod>2024-03-24T11:20:30+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/readme/"
href="/zh/readme.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/readme/"
href="/en/readme.html"
/>
</url><url>
<loc>/en/categories/</loc>
<loc>/en/categories.html</loc>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/categories/"
href="/zh/categories.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/categories/"
href="/en/categories.html"
/>
</url><url>
<loc>/en/unlist/</loc>
<loc>/en/unlist.html</loc>
<lastmod>2024-03-24T11:20:30+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/unlist/"
href="/zh/unlist.html"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/unlist/"
href="/en/unlist.html"
/>
</url>
</urlset>

32
en/tags.html Normal file
View File

@ -0,0 +1,32 @@
<!doctype html>
<html>
<body>
<ul>
<li><a href="adblock/index.html#">Adblock</a> 1</li>
<li><a href="clipboard/index.html#">Clipboard</a> 1</li>
<li><a href="css/index.html#">Css</a> 1</li>
<li><a href="curl/index.html#">Curl</a> 1</li>
<li><a href="javascript/index.html#">Javascript</a> 3</li>
<li><a href="redirection/index.html#">Redirection</a> 1</li>
<li><a href="search%20engine/index.html#">Search Engine</a> 1</li>
<li><a href="ssh/index.html#">Ssh</a> 1</li>
<li><a href="tdict/index.html#">Tdict</a> 1</li>
<li><a href="termux/index.html#">Termux</a> 3</li>
<li><a href="tools/index.html#">Tools</a> 1</li>
<li><a href="windows/index.html#">Windows</a> 1</li>
</ul>
</body>
</html>

54
en/tags/adblock.html Normal file
View File

@ -0,0 +1,54 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/adblock/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Adblock</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Adblock</h1>
<ul class="posts">
<li class="post">
<a href="../../adblock_domain/index.html#">
<span>Hosts files</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Adblock on uweb browser: unlimited power</title>
<link>/en/tags/adblock/</link>
<link>/en/tags/adblock.html</link>
<description>Recent content in Adblock on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/adblock/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hosts files</title>
<link>/en/adblock_domain/</link>
<link>/en/adblock_domain.html</link>
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<guid>/en/adblock_domain.html</guid>
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect with the setting option &amp;quot;use hosts&amp;quot;.&#xA;hosts The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:&#xA;[[IP address][attributes]][single space][domain name]&#xA;where &amp;quot;[[IP address][attributes]]&amp;quot; could be:&#xA;ipv4 address such as:&#xA;172.67.157.211 torapp.eu.org&#xA;ipv6 address, Ex.:&#xA;[2606:4700:3037::6815:8c3] torapp.eu.org&#xA;empty, that would lift all server-imposed limitations. Ex.:&#xA;[single space]gitee.com&#xA;which will make all git repositories on the domain visitable as websites with raw file access url.</description>
</item>
</channel>

54
en/tags/clipboard.html Normal file
View File

@ -0,0 +1,54 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/clipboard/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Clipboard</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Clipboard</h1>
<ul class="posts">
<li class="post">
<a href="../../textprocess/index.html#">
<span>Text selection/processing</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Clipboard on uweb browser: unlimited power</title>
<link>/en/tags/clipboard/</link>
<link>/en/tags/clipboard.html</link>
<description>Recent content in Clipboard on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/clipboard/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
<link>/en/textprocess.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/textprocess/</guid>
<guid>/en/textprocess.html</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:&#xA;Copy selected text with html format to clipboard&#xA;Search with home screen&#xA;google Translate&#xA;bing translate&#xA;deepL&#xA;The file &amp;quot;default.select&amp;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:&#xA;[Name]:[mimetype]:[command line]&#xA;[mimetype] specifies input/output for [command line].</description>
</item>
</channel>

58
en/tags/css.html Normal file
View File

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/css/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Css</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">Css</h1>
<ul class="posts">
<li class="post">
<a href="../../sitejs/index.html#">
<span>JS/CSS/HTML/preprocessing for domains</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Css on uweb browser: unlimited power</title>
<link>/en/tags/css/</link>
<link>/en/tags/css.html</link>
<description>Recent content in Css on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/css/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<link>/en/sitejs.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<guid>/en/sitejs.html</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
</channel>

58
en/tags/curl.html Normal file
View File

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/curl/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Curl</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">Curl</h1>
<ul class="posts">
<li class="post">
<a href="../../filecap/index.html#">
<span>Custom file handling</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Curl on uweb browser: unlimited power</title>
<link>/en/tags/curl/</link>
<link>/en/tags/curl.html</link>
<description>Recent content in Curl on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/curl/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Custom file handling</title>
<link>/en/filecap/</link>
<link>/en/filecap.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/en/filecap/</guid>
<guid>/en/filecap.html</guid>
<description>Long press the settings button, check the option &amp;quot;custom file handling&amp;quot; to enable the functionality.&#xA;The custom file handling configuration file is &amp;quot;default.filecap&amp;quot;, each line of it has the format as follows:&#xA;[file extension]:[mimetype]:[command line]&#xA;The &amp;quot;[file extension]&amp;quot; part can have at most two-segment of extensions such as &amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;.&#xA;&amp;quot;[mimetype]&amp;quot; indicates the type of &amp;quot;[command line]&amp;quot; output.&#xA;&amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
</item>
</channel>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on uweb browser: unlimited power</title>
<link>/en/tags/</link>
<link>/en/tags.html</link>
<description>Recent content in Tags on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,86 +10,86 @@
<atom:link href="/en/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Clipboard</title>
<link>/en/tags/clipboard/</link>
<link>/en/tags/clipboard.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/clipboard/</guid>
<guid>/en/tags/clipboard.html</guid>
<description></description>
</item>
<item>
<title>Ssh</title>
<link>/en/tags/ssh/</link>
<link>/en/tags/ssh.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/ssh/</guid>
<guid>/en/tags/ssh.html</guid>
<description></description>
</item>
<item>
<title>Termux</title>
<link>/en/tags/termux/</link>
<link>/en/tags/termux.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/termux/</guid>
<guid>/en/tags/termux.html</guid>
<description></description>
</item>
<item>
<title>Windows</title>
<link>/en/tags/windows/</link>
<link>/en/tags/windows.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/windows/</guid>
<guid>/en/tags/windows.html</guid>
<description></description>
</item>
<item>
<title>Redirection</title>
<link>/en/tags/redirection/</link>
<link>/en/tags/redirection.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/redirection/</guid>
<guid>/en/tags/redirection.html</guid>
<description></description>
</item>
<item>
<title>Adblock</title>
<link>/en/tags/adblock/</link>
<link>/en/tags/adblock.html</link>
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/adblock/</guid>
<guid>/en/tags/adblock.html</guid>
<description></description>
</item>
<item>
<title>Css</title>
<link>/en/tags/css/</link>
<link>/en/tags/css.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/css/</guid>
<guid>/en/tags/css.html</guid>
<description></description>
</item>
<item>
<title>Javascript</title>
<link>/en/tags/javascript/</link>
<link>/en/tags/javascript.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/javascript/</guid>
<guid>/en/tags/javascript.html</guid>
<description></description>
</item>
<item>
<title>Search Engine</title>
<link>/en/tags/search-engine/</link>
<link>/en/tags/search-engine.html</link>
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/search-engine/</guid>
<guid>/en/tags/search-engine.html</guid>
<description></description>
</item>
<item>
<title>Tdict</title>
<link>/en/tags/tdict/</link>
<link>/en/tags/tdict.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tags/tdict/</guid>
<guid>/en/tags/tdict.html</guid>
<description></description>
</item>
<item>
<title>Tools</title>
<link>/en/tags/tools/</link>
<link>/en/tags/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tags/tools/</guid>
<guid>/en/tags/tools.html</guid>
<description></description>
</item>
<item>
<title>Curl</title>
<link>/en/tags/curl/</link>
<link>/en/tags/curl.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/en/tags/curl/</guid>
<guid>/en/tags/curl.html</guid>
<description></description>
</item>
</channel>

70
en/tags/javascript.html Normal file
View File

@ -0,0 +1,70 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/javascript/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Javascript</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">Javascript</h1>
<ul class="posts">
<li class="post">
<a href="../../sitejs/index.html#">
<span>JS/CSS/HTML/preprocessing for domains</span>
</a>
</li>
<li class="post">
<a href="../../bookmarklet/index.html#">
<span>Bookmarklets</span>
</a>
</li>
<li class="post">
<a href="../../longclick/index.html#">
<span>Long pressed link menu</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Javascript on uweb browser: unlimited power</title>
<link>/en/tags/javascript/</link>
<link>/en/tags/javascript.html</link>
<description>Recent content in Javascript on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,23 +10,23 @@
<atom:link href="/en/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<link>/en/sitejs.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<guid>/en/sitejs.html</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
<item>
<title>Bookmarklets</title>
<link>/en/bookmarklet/</link>
<link>/en/bookmarklet.html</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/bookmarklet/</guid>
<guid>/en/bookmarklet.html</guid>
<description>With a href=&amp;quot;../index.html&amp;quot;&amp;gt;uweb browser, long pressing any bookmarklet link, click &amp;quot;Open in new tab&amp;quot;, the bookmarklet will be run on the last other tab.&#xA;List all script urls&#xA;User agent&#xA;Cookie&#xA;Source code&#xA;Last modified date&#xA;Eruda: mobile console&#xA;QR code generation&#xA;Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;&#xA;Shows all form elements&#xA;Enables all form elements&#xA;Toggle checkboxes&#xA;Check all checkboxes&#xA;Uncheck all checkboxes&#xA;Toggle all checkboxes in forms&#xA;Enable selection</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<link>/en/longclick.html</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<guid>/en/longclick.html</guid>
<description>To run commands Each line of file &amp;quot;default.longclick&amp;quot; has the following format: (same as default.cmds)&#xA;[Name]:[mimetype]:[command line]&#xA;in which [command line] can have &amp;quot;%c&amp;quot; (cookie), &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.&#xA;To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;longclick&amp;quot; are part of the popup menu.&#xA;These javascript files are in the following format:&#xA;The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
</channel>

54
en/tags/redirection.html Normal file
View File

@ -0,0 +1,54 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/redirection/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Redirection</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Redirection</h1>
<ul class="posts">
<li class="post">
<a href="../../redirect/index.html#">
<span>Resource redirection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Redirection on uweb browser: unlimited power</title>
<link>/en/tags/redirection/</link>
<link>/en/tags/redirection.html</link>
<description>Recent content in Redirection on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/redirection/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Resource redirection</title>
<link>/en/redirect/</link>
<link>/en/redirect.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid>
<guid>/en/redirect.html</guid>
<description>Redirection forwards cookies with the setting option &amp;quot;Redirect cookies&amp;quot; enabled, so use the options with care.&#xA;Setting options: &amp;quot;Url redirection&amp;quot; vs. &amp;quot;Resource redirection&amp;quot; &amp;quot;Url redirection&amp;quot; redirects the main/page url only while &amp;quot;Resource redirection&amp;quot; is for all urls in the page.&#xA;Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot; or both &amp;quot;Url redirection&amp;quot; and &amp;quot;Redirect cookies&amp;quot;.&#xA;When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item>
</channel>

View File

@ -0,0 +1,54 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/search-engine/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Search Engine</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Search Engine</h1>
<ul class="posts">
<li class="post">
<a href="../../searchcat/index.html#">
<span>Search engine files</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Search Engine on uweb browser: unlimited power</title>
<link>/en/tags/search-engine/</link>
<link>/en/tags/search-engine.html</link>
<description>Recent content in Search Engine on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/search-engine/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Search engine files</title>
<link>/en/searchcat/</link>
<link>/en/searchcat.html</link>
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
<guid>/en/searchcat/</guid>
<guid>/en/searchcat.html</guid>
<description>Any &amp;quot;.search&amp;quot; file can be opened as search engine file, each line of which has one of the following formats:&#xA;[Engine name]:[url without &#39;%s&#39; inside]&#xA;[Engine name]:[url with &#39;%s&#39; as keyword]&#xA;[Engine name]:POST:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt Limitations (they are here for performance reasons):</description>
</item>
</channel>

58
en/tags/ssh.html Normal file
View File

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/ssh/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Ssh</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">Ssh</h1>
<ul class="posts">
<li class="post">
<a href="../../textprocess/index.html#">
<span>Text selection/processing</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Ssh on uweb browser: unlimited power</title>
<link>/en/tags/ssh/</link>
<link>/en/tags/ssh.html</link>
<description>Recent content in Ssh on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
<link>/en/textprocess.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/textprocess/</guid>
<guid>/en/textprocess.html</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:&#xA;Copy selected text with html format to clipboard&#xA;Search with home screen&#xA;google Translate&#xA;bing translate&#xA;deepL&#xA;The file &amp;quot;default.select&amp;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:&#xA;[Name]:[mimetype]:[command line]&#xA;[mimetype] specifies input/output for [command line].</description>
</item>
</channel>

58
en/tags/tdict.html Normal file
View File

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/tdict/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Tdict</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">Tdict</h1>
<ul class="posts">
<li class="post">
<a href="../../tools/index.html#">
<span>Tools</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tdict on uweb browser: unlimited power</title>
<link>/en/tags/tdict/</link>
<link>/en/tags/tdict.html</link>
<description>Recent content in Tdict on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/tdict/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tools</title>
<link>/en/tools/</link>
<link>/en/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tools/</guid>
<guid>/en/tools.html</guid>
<description>This page is for uweb browser.&#xA;install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).&#xA;install the indexes for &amp;quot;American heritage dictionary (en-en&amp;amp;zh with AHD/D.J./K.K. pronunciation)&amp;quot;&#xA;Install AHD to home screen&#xA;Indexes for &amp;quot;研究社新編英和活用大辞典(English usage: en-en&amp;amp;ja)&amp;quot;&#xA;Install &amp;quot;English usage (en-en&amp;amp;ja)&amp;quot;&#xA;Indexes for SOED6&#xA;install SOED&#xA;The following dictionaries work better with markdown processor.&#xA;Install markdown processor</description>
</item>
</channel>

70
en/tags/termux.html Normal file
View File

@ -0,0 +1,70 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/termux/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Termux</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">Termux</h1>
<ul class="posts">
<li class="post">
<a href="../../textprocess/index.html#">
<span>Text selection/processing</span>
</a>
</li>
<li class="post">
<a href="../../tools/index.html#">
<span>Tools</span>
</a>
</li>
<li class="post">
<a href="../../filecap/index.html#">
<span>Custom file handling</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Termux on uweb browser: unlimited power</title>
<link>/en/tags/termux/</link>
<link>/en/tags/termux.html</link>
<description>Recent content in Termux on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,23 +10,23 @@
<atom:link href="/en/tags/termux/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
<link>/en/textprocess.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/textprocess/</guid>
<guid>/en/textprocess.html</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:&#xA;Copy selected text with html format to clipboard&#xA;Search with home screen&#xA;google Translate&#xA;bing translate&#xA;deepL&#xA;The file &amp;quot;default.select&amp;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:&#xA;[Name]:[mimetype]:[command line]&#xA;[mimetype] specifies input/output for [command line].</description>
</item>
<item>
<title>Tools</title>
<link>/en/tools/</link>
<link>/en/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tools/</guid>
<guid>/en/tools.html</guid>
<description>This page is for uweb browser.&#xA;install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).&#xA;install the indexes for &amp;quot;American heritage dictionary (en-en&amp;amp;zh with AHD/D.J./K.K. pronunciation)&amp;quot;&#xA;Install AHD to home screen&#xA;Indexes for &amp;quot;研究社新編英和活用大辞典(English usage: en-en&amp;amp;ja)&amp;quot;&#xA;Install &amp;quot;English usage (en-en&amp;amp;ja)&amp;quot;&#xA;Indexes for SOED6&#xA;install SOED&#xA;The following dictionaries work better with markdown processor.&#xA;Install markdown processor</description>
</item>
<item>
<title>Custom file handling</title>
<link>/en/filecap/</link>
<link>/en/filecap.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/en/filecap/</guid>
<guid>/en/filecap.html</guid>
<description>Long press the settings button, check the option &amp;quot;custom file handling&amp;quot; to enable the functionality.&#xA;The custom file handling configuration file is &amp;quot;default.filecap&amp;quot;, each line of it has the format as follows:&#xA;[file extension]:[mimetype]:[command line]&#xA;The &amp;quot;[file extension]&amp;quot; part can have at most two-segment of extensions such as &amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;.&#xA;&amp;quot;[mimetype]&amp;quot; indicates the type of &amp;quot;[command line]&amp;quot; output.&#xA;&amp;quot;[command line]&amp;quot; is same as the one in default.cmds. The most often used replacements are:</description>
</item>
</channel>

58
en/tags/tools.html Normal file
View File

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/tools/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Tools</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">Tools</h1>
<ul class="posts">
<li class="post">
<a href="../../tools/index.html#">
<span>Tools</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tools on uweb browser: unlimited power</title>
<link>/en/tags/tools/</link>
<link>/en/tags/tools.html</link>
<description>Recent content in Tools on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/tools/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tools</title>
<link>/en/tools/</link>
<link>/en/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/en/tools/</guid>
<guid>/en/tools.html</guid>
<description>This page is for uweb browser.&#xA;install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).&#xA;install the indexes for &amp;quot;American heritage dictionary (en-en&amp;amp;zh with AHD/D.J./K.K. pronunciation)&amp;quot;&#xA;Install AHD to home screen&#xA;Indexes for &amp;quot;研究社新編英和活用大辞典(English usage: en-en&amp;amp;ja)&amp;quot;&#xA;Install &amp;quot;English usage (en-en&amp;amp;ja)&amp;quot;&#xA;Indexes for SOED6&#xA;install SOED&#xA;The following dictionaries work better with markdown processor.&#xA;Install markdown processor</description>
</item>
</channel>

58
en/tags/windows.html Normal file
View File

@ -0,0 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../../en/tags/windows/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>Windows</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">Windows</h1>
<ul class="posts">
<li class="post">
<a href="../../textprocess/index.html#">
<span>Text selection/processing</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Windows on uweb browser: unlimited power</title>
<link>/en/tags/windows/</link>
<link>/en/tags/windows.html</link>
<description>Recent content in Windows on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
@ -10,9 +10,9 @@
<atom:link href="/en/tags/windows/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
<link>/en/textprocess.html</link>
<pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/textprocess/</guid>
<guid>/en/textprocess.html</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:&#xA;Copy selected text with html format to clipboard&#xA;Search with home screen&#xA;google Translate&#xA;bing translate&#xA;deepL&#xA;The file &amp;quot;default.select&amp;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:&#xA;[Name]:[mimetype]:[command line]&#xA;[mimetype] specifies input/output for [command line].</description>
</item>
</channel>

109
en/tcron.html Normal file
View File

@ -0,0 +1,109 @@
<!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>cron</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">cron
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<h4 id="crontab-with-enhanced-semantics">crontab (with enhanced semantics)</h4>
<p>For performance, the file &quot;crontab&quot; uses single space as field separator. Letters are not suppored currently. So use &quot;1&quot; for &quot;January&quot; and 2 for &quot;Tuesday&quot; etc.</p>
<p>The sixth field in crontab file could be in the format of <a href="../links/index.html">internal links</a>. Specifically, &quot;c:&quot; to execute the following commands in termux and &quot;!&quot; to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.</p>
<p>To make crontab more powerful, we changed the semantics as follows:<br>
The day of a command's execution can be specified by two fields — day of month, and day of week. The command will be run when <span style="color:red">both</span> fields matche the current time.</p>
<p>Note (the original crantab semantics):<br>
The day of a command's execution can be specified by two fields — day of month, and day of week. If both fields are restricted (i.e., aren't *), the command will be run when either field matches the current time. For example, ``30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.</p>
<h5 id="make-crontab-persist-after-os-rebooting">make crontab persist after OS rebooting</h5>
<p>If uweb browser was launched at least once after rebooting, the crontab jobs are scheduled as normal.</p>
<p>To keep crontab take effect without launching uweb browser once:</p>
<ul>
<li>Install the &quot;com.termux.boot&quot; and &quot;com.termux&quot; Apps.</li>
<li>Create an executable file in termux under the folder &quot;~/.termux/boot/&quot; containing the two lines:<br>
#!/data/data/com.termux/files/usr/bin/sh<br>
am broadcast -n info.torapp.uweb/.AlarmReceiver --es uweb.line &quot;&quot;</li>
<li>Launch &quot;com.termux.boot&quot; once.</li>
</ul>
<h4 id="tcron">tcron</h4>
<p>With the option &quot;custom file handling&quot; enabled, &quot;default.rc&quot; runs as shell script at uweb launching time and &quot;default.rc2&quot; runs whenever uweb becomes foreground.</p>
<p>Use tcron (<a href="i:0bhttps://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/tcron.tgz">Click to install</a>) with &quot;default.rc&quot; or &quot;default.rc2&quot;.</p>
<p>usage: tcron logfile command hours [timezone delay_sec elsecommand]<br>
execute &quot;command&quot; during time interval once.<br>
where logfile modification time must be updated if &quot;command&quot; runs successfully.</p>
<p>hours: If positive, then each day is divided into multiple intervals (unit: hour), and in each interval, the &quot;command&quot; runs only once.<br>
If negative, then the unit is minute.<br>
hours could be also in &quot;hh:mm-hh:mm,...&quot; format. Ex. &quot;6:00-8:30,11:00-13:00,5:30-6:30&quot;.<br>
timezone: an integer, default to be &quot;8&quot; for Beijing China (UTC+8). &quot;0&quot; for Greenwich UK (UTC+0).<br>
delay_sec: execute &quot;command&quot; after &quot;delay_sec&quot; seconds.<br>
elsecommand: executed whenever &quot;command&quot; not run.</p>
<p>ex:<br>
set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin<br>
#Empty the folder &quot;baidu&quot; every 30 days.<br>
tcron /sdcard/b &quot;rm -rf /sdcard/baidu/*;toybox touch /sdcard/b&quot; 720</p>
<p><a target="_self" href="i:0hdefault.rc:../searchurl/txt/default.rc">Install example default.rc file for termux</a></p>
</div>
<p>Last Modified: 4 January 2024<br>
fix gemini search engine<br>
<pre></pre>
</p>
<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>

102
en/termux.html Normal file
View File

@ -0,0 +1,102 @@
<!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>Termux</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Termux
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Only the termux versions provided along with uweb browser can work seamlessly. For android 10+, please install termux before installing uweb browser. If uweb is already installed, users can uninstall it first, then install termux and reinstall uweb browser.</p>
<h4 id="termux-bookmarks">Termux bookmarks</h4>
<p>Long pressing the following links then either &quot;commands&quot;-&gt;&quot;<a href="../urls/index.html">bookmark</a>&quot; to add bookmarks or &quot;open in new tab&quot; to execute.<br>
<a href="c:bc -l">GNU bc (basic calculator)</a><br>
<a href="c:bc -l *.bc">bc with all extensions</a></p>
<h4 id="click-the-following-links-to-install-termux-configurations">Click the following links to install termux configurations:</h4>
<p><a href="i:0h/data/data/com.termux/files/home/.bashrc:../../termux/bashrc">.bashrc</a></p>
<p><a href="i:0h/data/data/com.termux/files/home/.inputrc:../../termux/inputrc">.inputrc</a></p>
<p><a href="i:0h/data/data/com.termux/files/home/z.sh:https://fastly.jsdelivr.net/gh/rupa/z/z.sh">z.sh</a></p>
<p><a href="i:0h/data/data/com.termux/files/home/commacd.sh:https://fastly.jsdelivr.net/gh/shyiko/commacd/commacd.sh">commacd.sh</a></p>
<p><a href="i:0h/data/data/com.termux/files/home/.profile:../../termux/profile">.profile</a> : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</p>
<h4 id="copy-existing-termux-installation-to-other-devices">Copy existing termux installation to other devices</h4>
<p>Using uweb to copy (Long pressing the following links and &quot;open in new tab&quot; to fix/send/receive):</p>
<ul>
<li>target device: install termux app.</li>
<li>(optional)<a href="d::mkdir -p /data/user/0/com.termux/files/home/.termux;cd /data/user/0/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash with &quot;updateonly&quot; versions</a> by long click this link.</li>
<li>both devices: launch termux and acquire wakelocks. uweb to checke option &quot;Use termux&quot; in UI configuration page for long time tranferring. Uweb itself does not hold any wakelock thus may have issues for huge data transmission.</li>
<li>source device: uweb to visit <a href="files:///data/data/com.termux/files">termux folder</a> by long click, then long click &quot;usr&quot; folder to send to network.</li>
<li>target device: uweb to visit <a href="files:///data/data/com.termux/files">termux folder</a> by long click, then long click &quot;right arrow&quot; button to receive from network.</li>
</ul>
<h5 id="using-ssh-to-copy">Using ssh to copy</h5>
<ul>
<li>target device: install termux app, then run &quot;apt install openssh&quot; inside the termux.</li>
<li>source device: Send the &quot;~/.ssh&quot; folder with uweb browser to the network.</li>
<li>target device: Uweb to visit &quot;file://data/data/com.termux/files/home/&quot; to reach the folder, then receive the data sent by the above source device.</li>
<li>source device: Run &quot;sshd&quot;.</li>
<li>target device: Run the command &quot;scp -P 8022 -r [source ip]:.. ..&quot;</li>
</ul>
<h4 id="tips">Tips</h4>
<p>File system navigation:<br>
With <a href="https://github.com/rupa/z">z.sh</a> and <a href="https://github.com/shyiko/commacd">commacd</a>, user can reach any folder with few key stokes. Run &quot;v&quot; to launch uweb file manager on the current working directory, long click any file link to share.</p>
</div>
<p>Last Modified: 9 December 2023<br>
add TV mode<br>
<pre></pre>
</p>
<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>

116
en/textprocess.html Normal file
View File

@ -0,0 +1,116 @@
<!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/index.html#">termux</a> </li>
<li><a href="../tags/ssh/index.html#">ssh</a> </li>
<li><a href="../tags/clipboard/index.html#">clipboard</a> </li>
<li><a href="../tags/windows/index.html#">windows</a> </li>
</ul>
<p>Click the following links to install menus for long pressing the button &quot;link&quot;:<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 &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:<br>
[Name]:[mimetype]:[command line]</p>
<p>[mimetype] specifies input/output for [command line].<br>
It formats as &quot;[input mimetype]/[output mimetype]&quot;.<br>
[input mimetype] can be the following:</p>
<ul>
<li>&quot;html&quot;: rich text</li>
<li>&quot;&quot; (empty): text</li>
<li>&quot;.js&quot; 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 &quot;<a href="../cmds/index.html">Commands</a>&quot;.</p>
<ul>
<li>regular mimetype such as &quot;text/html&quot;: output as the mimetype</li>
<li>&quot;uweb&quot;: output as links</li>
<li>&quot;uwebA&quot;: output as &quot;A&quot; link, all characters including newlines are part of the link.</li>
<li>&quot;clip&quot;: output to clipboard</li>
<li>&quot;termux&quot;: 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 &quot;/&quot;, optionally append &quot;?[prefix][<em>[postfix]]&quot;. For example, &quot;file:///sdcard/?</em>.png&quot; lists all .png files under the folder &quot;/sdcard&quot;. Select files and process them with checked.js(such as &quot;copy to PC&quot; 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 &quot;DISPLAY=:0 xsel -i&quot;<br>
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<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 &quot;192.168.2.102&quot;.<br>
To use ssh or scp, users need to install uweb compatible Termux provided on the <a href="../en/">uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>
PCs need command &quot;xsel&quot; available to operate on copy/paste.</p>
</div>
<p>Last Modified: 11 December 2023<br>
add RSS<br>
<pre></pre>
</p>
<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>

86
en/tips.html Normal file
View File

@ -0,0 +1,86 @@
<!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>Tips</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">Tips
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<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 &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.</p>
<p><strong>Playing audio when screen off</strong><br>
Option &quot;Floating video&quot; + video fullscreen playing</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>
<p><strong>Configuration folder and file managers</strong><br>
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: 1 December 2023<br>
rename pccopy.md to textprocess.md<br>
<pre></pre>
</p>
<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>

100
en/tools.html Normal file
View File

@ -0,0 +1,100 @@
<!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>Tools</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">Tools
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/termux/index.html#">termux</a> </li>
<li><a href="../tags/tools/index.html#">tools</a> </li>
<li><a href="../tags/tdict/index.html#">tdict</a> </li>
</ul>
<p>This page is for <a href="../en/">uweb browser</a>.</p>
<h4 id="a-hrefi0bhttpsfastlyjsdelivrnetghtorappinfouwebjsbintdict_loctargzinstall-tdict_local-search-with-local-indexes-and-remote-contenta"><a href="i:0bhttps://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/tdict_loc.tar.gz">install tdict_local (search with local indexes and remote content)</a></h4>
<p>Click to install the following local indexes with corresponding search engines (for test only).<br>
<a href="i:0hahd.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ahd.tidx">install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;</a><br>
<a href="i:00AHD:d:text/html:tdict_loc ahd \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/HxY9QT5cdp63ZPK/download?path=%2F&files=ahd.dict\':">Install AHD to home screen</a></p>
<p><a href="i:0henja.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/enja.tidx">Indexes for &quot;研究社新編英和活用大辞典(English usage: en-en&amp;ja)&quot;</a><br>
<a href="i:00enja:d:text/html:tdict_loc enja \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=enja.dict\':">Install &quot;English usage (en-en&amp;ja)&quot;</a></p>
<p><a href="i:0hsoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/soed.tidx">Indexes for SOED6</a><br>
<a href="i:00soed:d:text/html:tdict_loc soed \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=soed.dict\':">install SOED</a></p>
<p>The following dictionaries work better with markdown processor.<br>
<a href="i:0hmd.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/txt/mdme.html">Install markdown processor</a><br>
<a href="i:0hmwi.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/mwi.tidx">Indexes for &quot;Merriam Webster International Unabridged&quot;</a><br>
<a href="i:00mwi:d:text/html:tdict_loc mwi \'%s\'|loc2html text/html.md.html \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=mwi.dict\':">Install MWI</a></p>
<p><a href="i:0hode3.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ode3.tidx">Indexes for ODE3</a><br>
<a href="i:00ode:d:text/html:tdict_loc ode3 \'%s\'|loc2html text/html.md.html \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=ode3.dict\':">Install ODE3</a></p>
<p><a href="i:0hoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/oed.tidx">Indexes for OED</a><br>
<a href="i:00oed:d:text/html:tdict_loc oed \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0IhtTMjeR6rdmd5:">Install OED</a></p>
<p><a href="i:0hbe10.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/be10.tidx">Indexes for &quot;Encyclopedia Britannica&quot;</a><br>
<a href="i:00be10:d:text/html:tdict_loc be10 \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0WfGAwo1S-kq1Lv:">Install &quot;Encyclopedia Britannica&quot;</a></p>
</div>
<p>Last Modified: 27 September 2022<br>
add en/.../tools.md<br>
<pre></pre>
</p>
<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>

8
en/topposts.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<ul>
</ul>
</body>
</html>

View File

@ -2,52 +2,52 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Topposts on uweb browser: unlimited power</title>
<link>/en/topposts/</link>
<link>/en/topposts.html</link>
<description>Recent content in Topposts on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>Sun, 31 Mar 2024 11:32:40 +0800</lastBuildDate>
<lastBuildDate>Tue, 02 Apr 2024 09:37:40 +0800</lastBuildDate>
<atom:link href="/en/topposts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Search engines</title>
<link>/en/search/</link>
<link>/en/search.html</link>
<pubDate>Tue, 07 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/search/</guid>
<guid>/en/search.html</guid>
<description>AI:&#xA;consensus:https://consensus.app/results/?synthesize=on&amp;amp;q=&#xA;youChat:https://you.com/search?tbm=youchat&amp;amp;q=&#xA;youWrite:https://you.com/search?tbm=youwrite&amp;amp;q=&#xA;youImagine:https://you.com/search?tbm=imagine&amp;amp;q=&#xA;you:https://you.com/search?q=&#xA;perplexity:https://www.perplexity.ai/?q=&#xA;phind:https://www.phind.com/search?q=&#xA;medisearch:https://medisearch.io/results/&#xA;Recommended engines (click or append any of the following to the file &amp;quot;home5.search&amp;quot;)&#xA;Engines:i:40%s_00&#xA;bing image:http://bing.com/images/search?q=&#xA;google image:http://www.google.com/images?as_q=&#xA;flickr:http://www.flickr.com/photos/tags/&#xA;Yandex image:https://yandex.com/images/search?text=&#xA;wiki:https://en.wikipedia.org/wiki/Special:Search?search=&#xA;wikipedia:http://en.wikipedia.org/?search=&#xA;wikifull:http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&amp;amp;search=&#xA;Youtube:https://www.youtube.com/results?search_query=&#xA;eBay:https://www.ebay.com/sch/i.html?_nkw=&#xA;Quora:https://www.quora.com/search?q=&#xA;Pinterest:https://www.pinterest.com/search/pins/?q=&#xA;LinkedIn:https://www.linkedin.com/search/results/all/?keywords=&#xA;Netflix:https://www.netflix.com/search?q=&#xA;Spotify:https://open.spotify.com/search/&#xA;Medium:https://medium.com/search?q=&#xA;TripAdvisor:https://www.tripadvisor.com/Search?q=&#xA;incaption:https://incaptions.com/&#xA;answer:http://mobile.answers.com/&#xA;twitter:https://twitter.com/search?q=&#xA;Facebook:https://www.facebook.com/search/str/%s/keywords_search&#xA;Instagram:https://www.instagram.com/explore/tags/%s/&#xA;social-search:https://www.social-searcher.com/social-buzz/?q5=&#xA;reddit:http://reddit.com/search?q=&#xA;boardreader:https://boardreader.com/s/%s.html&#xA;bingvideo:https://www.bing.com/videos/search?q=&#xA;vsearch:https://www.vsearch.me/s?q=&#xA;crowdview:https://crowdview.ai/search?q=&#xA;groups:http://groups.google.com/groups/search?q=&#xA;wolfram:https://www.wolframalpha.com/input/?i=&#xA;fxsolver:https://www.fxsolver.com/browse/?q=&#xA;book_google:https://google.com/search?q=%22parent+directory%22+pdf+OR+epub+OR+DjVU+OR+xps+%22%s%22+-html+-htm+-shtml+-phtml+-php+-buy+-aspx+-jsp+-asp+-cgi+-pdf+-ftp+-unknownsecret&amp;amp;num=100&amp;amp;filter=0&#xA;annas-archive:https://annas-archive.org/search?q=&#xA;libgen:http://gen.lib.rus.ec/search.php?req=&#xA;google_file:https://google.com/search?q=intitle:index.of+%22parent+directory%22+&#xA;apkcombo:https://apkcombo.com/search/&#xA;Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is same as &#34;</description>
</item>
<item>
<title>Downloads</title>
<link>/en/changelog/</link>
<link>/en/changelog.html</link>
<pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate>
<guid>/en/changelog/</guid>
<guid>/en/changelog.html</guid>
<description>Amazon appstore&#xA;Galaxy.Store&#xA;uweb, termux &amp;amp; history versions&#xA;github&#xA;sourceforge&#xA;powerfolder&#xA;udrop&#xA;pagure&#xA;mcbebbs&#xA;Main features Change logs 1038: support chatBot as search engine with url &amp;quot;i:0/js/hash2textarea.js:https://XXX&amp;quot;&#xA;1036: TV mode: reuse &amp;quot;engine.search&amp;quot; as live TV channel urls.&#xA;1034: click share button on homescreen to process clipboard text.&#xA;1030: Allow downloading with global redirection&#xA;1026: Test automation: enable i:0 urls in scripting mode&#xA;1017: crontab alarm clock and links as sixth field.</description>
</item>
<item>
<title>Configuration</title>
<link>/en/sitemap/</link>
<link>/en/sitemap.html</link>
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid>
<guid>/en/sitemap.html</guid>
<description>Check for updates&#xA;UI Search engines Home screens UI (gitee) webdav install-able menu generator Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Advanced Advanced Content AD blocking CSS styles Redirection Offline cache JS/CSS/HTML/preprocessing for domains Any urls as website Tools Bookmarklets Cron &amp;amp; more Custom file handling Html5 application Termux Info Manual Tips Configuration files Bookmarks </description>
</item>
<item>
<title>Url services</title>
<link>/en/urls/</link>
<link>/en/urls.html</link>
<pubDate>Fri, 10 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/urls/</guid>
<guid>/en/urls.html</guid>
<description>Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the &amp;quot;image&amp;quot; button to popup the menu.&#xA;Fullscreen video:i:5f&#xA;Redirect/edit:e:&#xA;Save2autocomplete:i:51:&#xA;Bookmark:i:52:&#xA;Note:i:53:&#xA;Save engine:i:54:&#xA;Save link:i:55:&#xA;Save to desktop:i:58&#xA;Add to media storage::001&#xA;Extract web app:i:0bsitecache/local/:&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=../../download Compatible mode:i:5d&#xA;papago:https://papago.naver.net/website?locale=en&amp;amp;target=en&amp;amp;url=&#xA;google translate:https://translate.google.com/translate?sl=auto&amp;amp;tl=en&amp;amp;u=&#xA;Source:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;googlecache:http://webcache.googleusercontent.com/search?q=cache:&#xA;google by image:https://www.google.com/searchbyimage?safe=off&amp;amp;image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex by image:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=</description>
</item>
<item>
<title>Commands</title>
<link>/en/cmds/</link>
<link>/en/cmds.html</link>
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/cmds/</guid>
<guid>/en/cmds.html</guid>
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.&#xA;Configuration file &amp;quot;default.cmds&amp;quot; examples:&#xA;Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; ! -name &#39;*.cjar&#39; -type f -delete&#xA;Clear database::rm -rf /data/data/info.torapp.uweb/databases/*&#xA;Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc&#xA;Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache&#xA;Clear logcat::logcat -c</description>
</item>
<item>
<title>Execute javascript codes</title>
<link>/en/rjs/</link>
<link>/en/rjs.html</link>
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/rjs/</guid>
<guid>/en/rjs.html</guid>
<description>javascript for domains&#xA;Earliest loaded global javascript files locates in the subfolder &amp;quot;css&amp;quot; of app private folder.&#xA;Global javascript files locates in the subfolder &amp;quot;js&amp;quot; of app private folder. Long press button [☰] to configure. Click the following links to install:&#xA;&amp;lt;a target=_self&amp;quot; href=&amp;quot;i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js&amp;quot;&amp;gt;Save password&#xA;Instant page&#xA;large size javascript code can be installed to the folder &amp;quot;bookmarklet&amp;quot; (long pressing button &amp;quot;js&amp;quot; to popup menu):&#xA;google translation&#xA;Eruda&#xA;Performance&#xA;Note: Bookmarklets whose names begin with &amp;quot;!</description>
</item>
</channel>

8
en/unlist.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<ul>
</ul>
</body>
</html>

View File

@ -2,16 +2,16 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Unlists on uweb browser: unlimited power</title>
<link>/en/unlist/</link>
<link>/en/unlist.html</link>
<description>Recent content in Unlists on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<atom:link href="/en/unlist/index.xml" rel="self" type="application/rss+xml" />
<item>
<title></title>
<link>/en/readme/</link>
<link>/en/readme.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/readme/</guid>
<guid>/en/readme.html</guid>
<description>Uweb browser: unlimited power 中文&#xA;Amazon appstore&#xA;Galaxy.Store&#xA;Downloads&#xA;Uweb browser: downloads, plugins and tips&#xA;(Mirrors: gitlab codeberg repo 4everland fleek netlify surge kinsta bitbucket pages vercel render&#xA;More...)&#xA;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>
</channel>

82
en/url2site.html Normal file
View File

@ -0,0 +1,82 @@
<!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>Make any url as website</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Make any url as website
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>The <a href="../en/">uweb</a> internal link &quot;<a href="../links/index.html">i:0m</a>&quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:</p>
<ul>
<li>&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet.</li>
<li>&quot;i:0m?:[url]&quot;: to treat the [url] content as html, handling css/js properly.</li>
<li>&quot;i:0m?[postfix]:[url]&quot;: auto append query postfix to url to retrieve content.</li>
<li>&quot;i:0mi:5h:[url]&quot;: similar to &quot;i:0m?:[url]&quot;, to treat the [url] content as html (for download or no-script links etc.)</li>
<li>&quot;i:0mi:5h?[postfix]::[url]&quot;: similar to &quot;i:0m?[postfix]:[url]&quot;. auto append query postfix to url to retrieve content.</li>
<li>&quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</li>
</ul>
<p>For more complicated links such as cloud storage shared links, which need user gestures to reach temporary generated content link, use<br>
&quot;i:0m/.../[local.html]:[url]&quot;, where the local file &quot;/.../[local.html]&quot; processes &quot;[url]&quot; as needed.</p>
</div>
<p>Last Modified: 14 May 2023<br>
update bingAI/js/optionsSets.js<br>
<pre></pre>
</p>
<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>

133
en/urls.html Normal file
View File

@ -0,0 +1,133 @@
<!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>Url services</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">Url services
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Click the following links to install url services with <a href="../en/">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the &quot;image&quot; button to popup the menu.</p>
<p><a href="i:01Fullscreen video:i:5f">Fullscreen video:i:5f</a></p>
<p><a href="i:01Redirect/edit:e:">Redirect/edit:e:</a></p>
<p><a href="i:01Save2autocomplete:i:51:">Save2autocomplete:i:51:</a></p>
<p><a href="i:01Bookmark:i:52:">Bookmark:i:52:</a></p>
<p><a href="i:01Note:i:53:">Note:i:53:</a></p>
<p><a href="i:01Save engine:i:54:">Save engine:i:54:</a></p>
<p><a href="i:01Save link:i:55:">Save link:i:55:</a></p>
<p><a href="i:01Save to desktop:i:58">Save to desktop:i:58</a></p>
<p><a href="i:01Add to media storage::001">Add to media storage::001</a></p>
<p><a href="i:01Extract web app:i:0bsitecache/local/:">Extract web app:i:0bsitecache/local/:</a></p>
<p><a href="i:01tgurl:https://tx.me/share/url?url=">tgurl:https://tx.me/share/url?url=</a></p>
<p><a href="i:01tgdownload:https://tx.me/share/url?url=../download ">tgdownload:https://tx.me/share/url?url=../download </a></p>
<p><a href="i:01Compatible mode:i:5d">Compatible mode:i:5d</a></p>
<p><a href="i:01papago:https://papago.naver.net/website?locale=en&target=en&url=">papago:https://papago.naver.net/website?locale=en&amp;target=en&amp;url=</a></p>
<p><a href="i:01google translate:https://translate.google.com/translate?sl=auto&tl=en&u=">google translate:https://translate.google.com/translate?sl=auto&amp;tl=en&amp;u=</a></p>
<p><a href="i:01Source:view-source:">Source:view-source:</a></p>
<p><a href="i:01outline:https://www.outline.com/">outline:https://www.outline.com/</a></p>
<p><a href="i:012pdf:https://www.web2pdfconvert.com#">2pdf:https://www.web2pdfconvert.com#</a></p>
<p><a href="i:01printfriendly:https://www.printfriendly.com/print/?url=">printfriendly:https://www.printfriendly.com/print/?url=</a></p>
<p><a href="i:01htmlview:https://htmlview.glitch.me/?">htmlview:https://htmlview.glitch.me/?</a></p>
<p><a href="i:01htmlpreview:https://htmlpreview.github.io/?">htmlpreview:https://htmlpreview.github.io/?</a></p>
<p><a href="i:01webarchive:https://web.archive.org/web/*/">webarchive:https://web.archive.org/web/*/</a></p>
<p><a href="i:01archive:https://archive.is/?run=1&url=">archive:https://archive.is/?run=1&amp;url=</a></p>
<p><a href="i:01googlecache:http://webcache.googleusercontent.com/search?q=cache:">googlecache:http://webcache.googleusercontent.com/search?q=cache:</a></p>
<p><a href="i:01google by image:https://www.google.com/searchbyimage?safe=off&image_url=">google by image:https://www.google.com/searchbyimage?safe=off&amp;image_url=</a></p>
<p><a href="i:01tinyeye:https://tineye.com/search?url=">tinyeye:https://tineye.com/search?url=</a></p>
<p><a href="i:01Yandex by image:https://yandex.com/images/search?family=yes&rpt=imageview&url=">Yandex by image:https://yandex.com/images/search?family=yes&amp;rpt=imageview&amp;url=</a></p>
<p><a href="i:01ascii2d:https://ascii2d.net/search/url/">ascii2d:https://ascii2d.net/search/url/</a></p>
<p><a href="i:01trace.moe:https://trace.moe/?url=">trace.moe:https://trace.moe/?url=</a></p>
<p><a href="i:01saucenao:https://saucenao.com/search.php?url=">saucenao:https://saucenao.com/search.php?url=</a></p>
<p><a href="i:01Add to Feedly:https://feedly.com/i/subscription/feed/">Add to Feedly:https://feedly.com/i/subscription/feed/</a></p>
<p><a href="i:01Video download:https://tbvd.herokuapp.com/redirect?url=">Video download:https://tbvd.herokuapp.com/redirect?url=</a></p>
<p><a href="i:01Audio download:https://tbvd.herokuapp.com/video?audio=on&url=">Audio download:https://tbvd.herokuapp.com/video?audio=on&amp;url=</a></p>
<p><a href="i:01Site analyzer:https://www.similarweb.com/website/">Site analyzer:https://www.similarweb.com/website/</a></p>
<p><a href="i:01Site buildwith:https://builtwith.com/?">Site buildwith:https://builtwith.com/?</a></p>
<p><a href="i:01instapaper:https://www.instapaper.com/text?u=">instapaper:https://www.instapaper.com/text?u=</a></p>
<p><a href="i:01google docs:http://docs.google.com/gview?embedded=true&url=">google docs:http://docs.google.com/gview?embedded=true&amp;url=</a></p>
<p>in which &quot;redirect&quot; needs <a href="../redirect/index.html">default.redirect</a>.</p>
<p>The following is mostly useful to send msg to TV (TV side needs to execute &quot;wait for msg&quot; first):</p>
<p><a href="i:01Send url/file:i:5j">Send url/file:i:5j</a></p>
<p><a href="i:01Send url(player):i:5ji:5p">Send url(player):i:5ji:5p</a></p>
<p><a href="i:01Send url(bookmark):i:5ji:52../home5:">Send url(bookmark):i:5ji:52../home5:</a></p>
<p><a href="i:01Send url(clipboard):i:5ji:5b">Send url(clipboard):i:5ji:5b</a></p>
<p><a href="i:01Send url(fullscreen):i:5ji:5f">Send url(fullscreen):i:5ji:5f</a></p>
<p><a href="i:01Send url(bookmark fullscreen):i:5ji:52../home5:i:5f">Send url(bookmark fullscreen):i:5ji:52../home5:i:5f</a></p>
<p><a href="i:01Send url(site fullscreen):i:5ji:0mi:5f:">Send url(site fullscreen):i:5ji:0mi:5f:</a></p>
<p><a href="i:01Send url(video):i:5ji:0mc16:">Send url(video):i:5ji:0mc16:</a></p>
<p><a href="i:01Send url(bookmark site fullscreen):i:5ji:52../home5:i:0mi:5f:">Send url(bookmark site fullscreen):i:5ji:52../home5:i:0mi:5f:</a></p>
<p>The following needs corresponding <a href="../html5/index.html">html5 application</a> to be installed:</p>
<p><a href="i:01txtview:file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=">txtview:file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=</a></p>
<p><a href="i:01md+katex:file:///data/user/0/info.torapp.uweb/files/app/mdkatex.html?url=">md+katex:file:///data/user/0/info.torapp.uweb/files/app/mdkatex.html?url=</a></p>
<p><a href="i:01markdeep:file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=">markdeep:file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=</a></p>
<p><a href="i:01plyr:file:///data/user/0/info.torapp.uweb/files/app/plyr.html?u=">plyr:file:///data/user/0/info.torapp.uweb/files/app/plyr.html?u=</a></p>
<p><a href="i:01dplayer:file:///data/user/0/info.torapp.uweb/files/app/dplayer.html?u=">dplayer:file:///data/user/0/info.torapp.uweb/files/app/dplayer.html?u=</a></p>
<p><a href="i:01pdf:file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=">pdf:file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=</a></p>
<p><a href="i:01epub:file:///data/user/0/info.torapp.uweb/files/app/epub.html?u=">epub:file:///data/user/0/info.torapp.uweb/files/app/epub.html?u=</a></p>
<p><a href="i:01djvu:file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=">djvu:file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=</a></p>
</div>
<p>Last Modified: 5 December 2023<br>
i:5g sematics change<br>
<pre></pre>
</p>
<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>

View File

@ -1,6 +1,6 @@
<script>
let verCode = %1%;
let latestV = 1039;
let latestV = 1040;
if( verCode>=latestV) alert("No updates available!");
else
location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+

View File

@ -4,7 +4,7 @@
<sitemap>
<loc>/en/sitemap.xml</loc>
<lastmod>2024-03-31T11:32:40+08:00</lastmod>
<lastmod>2024-04-02T09:37:40+08:00</lastmod>
</sitemap>

8
zh/_posts.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<ul>
</ul>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>_Posts on 超微浏览器: 威、快、高效、极致优化</title>
<link>/zh/_posts/</link>
<link>/zh/_posts.html</link>
<description>Recent content in _Posts on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh</language>
@ -10,233 +10,233 @@
<atom:link href="/zh/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>电视直播</title>
<link>/zh/tvlive/</link>
<link>/zh/tvlive.html</link>
<pubDate>Wed, 06 Dec 2023 00:00:00 +0000</pubDate>
<guid>/zh/tvlive/</guid>
<guid>/zh/tvlive.html</guid>
<description>直播源 直播源网址前面加上前缀&amp;quot;i:0/js/2lnk.js:i:5g&amp;quot;就可将任一直播源转换成直播网页。其中前缀 &amp;quot;i:0/js/2lnk.js:&amp;quot; 对网页使用应用assets内置小书签&amp;quot;/js/2lnk.js&amp;quot;转换直播源,&amp;quot;i:0&amp;quot;中的&amp;quot;0&amp;quot;表示此功能更改了网页原来的展示,有潜在的安全威胁,需用户明确同意(比如通过安装为菜单,书签,对话框确认等方式)。前缀&amp;quot;i:5g&amp;quot;强迫网址以文本方式展示部分直播源以m3u为后缀不能省略前缀&amp;quot;i:5g&amp;quot;。&#xA;YanG-1989/m3u&#xA;频道 CCTV1&#xA;CCTV2财经&#xA;CCTV4国际&#xA;CCTV5体育&#xA;CCTV6电影&#xA;CCTV7军农&#xA;CCTV8电视剧&#xA;CCTV10科教&#xA;CCTV11戏曲&#xA;CCTV12社会与法&#xA;CCTV13新闻&#xA;CCTV15少儿&#xA;CCTV17农村&#xA;万州综合频道&#xA;万州三峡移民&#xA;龙岩综合频道&#xA;三明综合频道&#xA;三明公共频道&#xA;敦煌综合频道&#xA;河源综合频道&#xA;河源公共频道&#xA;黔东南综合频道&#xA;沧州三套节目&#xA;电视模式:配置直播源 文件&amp;quot;engine.search&amp;quot;为自动顺序搜索引擎列表文件,其格式与主屏搜索引擎文件&amp;quot;home5.search&amp;quot;类似。如果将其中的搜索引擎url以视频url代替。此时浏览器会将“engine.search”作为视频直播频道列表文件浏览器进入电视模式启动就会全屏播放。</description>
</item>
<item>
<title>定时脚本</title>
<link>/zh/tcron/</link>
<link>/zh/tcron.html</link>
<pubDate>Thu, 23 Nov 2023 00:00:00 +0000</pubDate>
<guid>/zh/tcron/</guid>
<guid>/zh/tcron.html</guid>
<description>crontab 注意1. 必须使用单一空格作为分割符。&#xA;2. 必须同时满足日期及星期的要求功能增强crontab标准只要求满足其中一个要求。&#xA;文件&amp;quot;crontab&amp;quot;每行第六部分可为url或内部链接也可为&amp;quot;c:&amp;quot;通知termux执行后面命令; &amp;quot;!&amp;quot;直接执行命令。其余格式一律作为闹钟提醒时的伴随消息。&#xA;文件&amp;quot;crontab&amp;quot;自动签到例子:&#xA;5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn&#xA;7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan&#xA;6 9 * * * i:a1http://m.bookschina.com/UserCenter/SignInApi?action=SignIn&#xA;8 9 * * * i:a1http://m.bookschina.com/UserCenter/SignInAward?index=1&#xA;其中&amp;quot;i:a1&amp;quot;为对url发起&amp;quot;post&amp;quot;请求。&#xA;tcron 如果勾选“文件预处理”则uweb启动时运行&amp;quot;default.rc&amp;quot; shell脚本。可与tcron定时管&#xA;理工具(安装tcron)配合运行定时任务,如存储清理、网页签到等。&#xA;勾选“文件预处理”的情况下,如果存在文件&amp;quot;default.rc2&amp;quot;,则在超微浏览器成为前台时,此文件代码被执行。在超微永不退出的情况下,&amp;quot;default.rc&amp;quot;将没有任何执行机会,而&amp;quot;default.rc2&amp;quot;保证即使超微长时间不重启,定时脚本仍可以执行。&#xA;usage: tcron logfile command hours [timezone delay_sec elsecommand]&#xA;指定时间范围内如果命令没有被执行过则tcron会执行一次命令。&#xA;其中logfile可以不记录任何log成功执行命令以后只需更新一下改动时间即可。&#xA;hours: 如果为正整数,则将每天划分为不同的时间区间(单位小时),每个区间命令只能执行一次。如果为负整数,则取绝对值,并且单位为分钟,保证下一次执行至少间隔这么多分钟。&#xA;hours也可以为&amp;quot;hh:mm-hh:mm,...&amp;quot;格式, 譬如&amp;quot;6:00-8:30,11:00-13:00,5:30-6:30&amp;quot;为每天三餐时间脚本执行一次。&#xA;timezone: 时区譬如“8”表示北京时间。(默认为8)&#xA;delay_sec: 等待指定秒数后再执行命令,防止命令被集中执行。&#xA;elsecommand: 无需执行命令command时执行。&#xA;ex:&#xA;set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin&#xA;#天翼云每天签到一次&#xA;tcron /sdcard/a &amp;quot;cloudpan189-go sign;toybox touch /sdcard/a&amp;quot; 24&#xA;#每30天清空baidu目录</description>
</item>
<item>
<title>重定向网址</title>
<link>/zh/redirect/</link>
<link>/zh/redirect.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/zh/redirect/</guid>
<guid>/zh/redirect.html</guid>
<description>全局重定向 长按设置,选中&amp;quot;自定义资源重定向&amp;quot;。此时如果全局重定向url为有效网址则所有网络访问被内部重定向至url: &amp;quot;[全局重定向url]+[原始url]&amp;quot;。&#xA;Example: &amp;quot;https://loud-moth-21.deno.dev/&amp;quot;&#xA;使用仓库 &amp;quot;https://github.com/torappinfo/fetch&amp;quot; 入口&amp;quot;deno.js&amp;quot; 部署Deno&#xA;创建免费重定向,说明类似但代码不同&#xA;cloudflare workers 全局重定向代码&#xA;vercel 全局重定向&#xA;重定向文件 &amp;quot;default.redirect&amp;quot; (仅在无有效全局重定向url时生效) 点击添加google recaptcha国内镜像&#xA;使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。&#xA;其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。&#xA;本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。&#xA;配置default.redirect:&#xA;文件每一行格式为:&#xA;域名:正则表达式:替换表达式&#xA;其中正则表达式以java语言规定为准表达式中不能包含&#39;:&#39;。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用但域名会允许CORS跨域访问 (目前仅对&amp;quot;GET&amp;quot; request生效)。&#xA;例子文件内容如下:&#xA;developer.android.com::developer.android.google.cn&#xA;四种使用重定向的方法:&#xA;长按链接&#xA;添加文件&amp;quot;国内镜像.js&amp;quot;至&amp;quot;longclick&amp;quot;目录下。&#xA;文件内容如下:&#xA;//e:%u 其中&amp;quot;e:&amp;quot;为uweb特殊url协议意为&amp;quot;edit&amp;quot;,即&amp;quot;编辑&amp;quot;。当后面紧跟url网址的情况下会重定向网址。&#xA;重启uweb后长按链接弹出菜单选&amp;quot;国内镜像&amp;quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。&#xA;长按工具条图像按钮。&#xA;长按设置,选中&amp;quot;自定义重定向&amp;quot;。&#xA;长按设置,选中&amp;quot;自定义资源重定向&amp;quot;。此选项除访问url重定向之外还可重定向网页中一切资源。&#xA;更多重定向网址:&#xA;www.bilibili.com::www.ibilibili.com&#xA;pan.baidu.com::pan.baiduwp.com&#xA;www.docin.com::www.docin365.com&#xA;wenku.baidu.com::wenku.baiduvvv.com&#xA;detail.tmall.com::detail.tmallvvv.com&#xA;detail.m.tmall.com::detail.m.tmallvvv.com&#xA;item.taobao.com::item.taobaovvv.com&#xA;h5.m.taobao.com::h5.m.taobaovvv.com&#xA;jd.com::jdvvv.com&#xA;item.yhd.com::item.yhdvvv.com&#xA;goods.kaola.com::goods.kaolavvv.com&#xA;product.dangdang.com::product.dangdangvvv.com&#xA;item.gome.com.cn::item.gomevvv.com.cn</description>
</item>
<item>
<title>常用链接</title>
<link>/zh/links/</link>
<link>/zh/links.html</link>
<pubDate>Mon, 10 Apr 2023 00:00:00 +0000</pubDate>
<guid>/zh/links/</guid>
<guid>/zh/links.html</guid>
<description>点击以下链接可安装至常用链接:&#xA;长截屏 (需长截屏模式)&#xA;VPN&#xA;showCookie&#xA;wireless&#xA;显示网站安全证书&#xA;上传坚果云&#xA;更多 webdav ...&#xA;迅雷盘离线&#xA;网页全屏&#xA;点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等&#xA;点击安装离线下载(pcloud,furk,微云等)&#xA;uweb浏览器中长按书签按钮可弹出常用链接菜单这些链接定义在文件&amp;quot;default.link&amp;quot;中,改动过的文件清后台重启动后生效。每行格式如下:&#xA;[菜单名]:[url][空格][javascript脚本]&#xA;其中空格及之后的脚本为可选项。url及之后的脚本支持&amp;quot;%u&amp;quot;,&amp;quot;%s&amp;quot;等替换。&#xA;脚本将在链接访问结束时自动执行。&#xA;url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&amp;quot;:&amp;quot;为链接第二个字符)及特殊链接(&amp;quot;:&amp;quot;为链接首字符)。&#xA;不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明:&#xA;.js文件(同长按链接运行js文件): 首行前两个字符为&amp;quot;//&amp;quot;者,超微将打开&amp;quot;//&amp;quot;后面的目标网址并执行此文件代码,目标网址支持&amp;quot;%u&amp;quot;,&amp;quot;%s&amp;quot;等替换。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。&#xA;default.gesture及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。&#xA;各类代理配置如下:&#xA;httpproxy::010[proxy host]:[port]&#xA;socks5::011[socks host]:[port]&#xA;noproxy::010:&#xA;&amp;quot;:&amp;quot;为首字符特殊链接 :0001&#xA;自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)&#xA;:0003&#xA;切换全屏模式&#xA;:0004&#xA;屏幕旋转&#xA;:001[fileurl]&#xA;加入媒体库&#xA;:010[proxy host]:[port]&#xA;设置http代理, &amp;quot;:010:&amp;quot;禁用代理。&#xA;:011[socks host]:[port]&#xA;socks代理&#xA;&amp;quot;i:&amp;quot;内部链接: i:0m[bookmarklet index|prefix|c[cssFlag]]:[url]&#xA;将url作为网站访问[bookmarklet index]至少占两个字符。&#xA;c[cssFlag]: For example, &amp;quot;c12&amp;quot; will apply the third and fourth global CSS (12=2^2+2^3). All other cases will be treated as prefix, the real visited url is &amp;quot;[prefix]+url&amp;quot;.</description>
</item>
<item>
<title>小技巧</title>
<link>/zh/tips/</link>
<link>/zh/tips.html</link>
<pubDate>Sat, 04 Mar 2023 00:00:00 +0000</pubDate>
<guid>/zh/tips/</guid>
<guid>/zh/tips.html</guid>
<description>免魔法国内直接使用系列&#xA;使用重定向访问国外技术网址&#xA;google翻译&#xA;目录配置及使用外部文件管理器&#xA;超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。&#xA;准确显示PC网页:&#xA;PC模式 + 勾选选项&amp;quot;宽屏显示&amp;quot; + 全局脚本&amp;quot;强制缩放&amp;quot;。&#xA;多主屏:&#xA;home5.html为自定义主屏home6.html, home6.search, home7.html ...为多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。&#xA;自动翻页&#xA;长按后退按钮自动往前翻页(主屏上长按后退出现-1屏,-2屏...,短按前进按钮+1屏,+2屏...),长按前进按钮弹出系统菜单。&#xA;配置临时修改&#xA;配置后如果没有正常退出或转入后台的话,超微不会自动保存设置更改,此时如果清后台强制退出,下次启动超微会使用原有配置。&#xA;临时恢复UA (user agent)至android默认浏览器&#xA;UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA状态下次启动浏览器时恢复到原有UA。这样用户可常用一些有力的UA配置仅偶尔使用默认配置无需反复切换。&#xA;快速编辑文件&#xA;在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。&#xA;配置文件列表中直接点击文件名即可编辑。</description>
</item>
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>/zh/sitejs/</link>
<link>/zh/sitejs.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<guid>/zh/sitejs.html</guid>
<description>技巧等级:中级&#xA;脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html及预处理 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 长按窗口按钮,勾选“网址附加内容”。 额外html可以以&amp;quot;&amp;lt;textarea&amp;gt;&amp;quot;或&amp;quot;&amp;lt;div&amp;gt;&amp;lt;textarea&amp;gt;&amp;quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。&#xA;文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>html5应用</title>
<link>/zh/html5/</link>
<link>/zh/html5.html</link>
<pubDate>Wed, 27 Jul 2022 00:00:00 +0000</pubDate>
<guid>/zh/html5/</guid>
<guid>/zh/html5.html</guid>
<description>mdict字典搜索引擎:&#xA;书签页面可字典扫描并自动添加。&#xA;长按底部右箭头弹出系统菜单=&amp;gt;添加搜索引擎=&amp;gt;第三行输入搜索引擎串。对于需要批量添加的用户显示主屏时可长按底部时钟按钮点击编辑器然后添加保存清后台重启生效。mdict搜索引擎串有以下两类推荐第一类&#xA;i:5ifile:///.../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%s&#xA;其中&amp;quot;/.../xxx.mdx,xxx.mdd&amp;quot;为词典文件全路径。&#xA;i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s&#xA;对于这类搜索引擎,字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。为方便文件操作,用户可符号链接&amp;quot;app&amp;quot;至任意公共目录。&#xA;点击安装超大文件阅读器支持txt, html, markdown&#xA;点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等&#xA;点击安装plyr视频播放器&#xA;点击安装dplayer视频播放器&#xA;点击安装pdf阅读器&#xA;点击安装epub阅读器(作者llili)&#xA;点击安装djvu阅读器&#xA;相应的菜单安装可见浏览器特色服务&#xA;超微配置目录下的子目录名如果以&amp;quot;app&amp;quot;开始(譬如&amp;quot;appPDF&amp;quot;),则这些&amp;quot;app&amp;quot;开头目录树下放置的html5应用将可获得功能增强。&#xA;配置default.filecap并打开选项“文件预处理”清后台重启浏览器后超微可直接阅读应用对应格式文件。&#xA;点击配置pdf.js,djvu.js,epub.js,超大文件阅读器&#xA;超大文件阅读器txtview.html url如下:&#xA;file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#page=[xxx]&#xA;file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&amp;amp;[length]&#xA;file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#page=[xxx]&#xA;file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&amp;amp;[length]&#xA;譬如&amp;quot;#offset=10000&amp;amp;500&amp;quot;会访问超大文件偏移量10000处长度为500的内容。&#xA;所有阅读器均支持箭头按钮(短按前进按钮或长按后退按钮)自动翻页。&#xA;比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。url如下:&#xA;file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[绝对或相对路径].pdf#page=[xxx]&#xA;则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。&#xA;下面是一些类似的应用:&#xA;djvu.js应用的访问url如下&#xA;file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=[绝对或相对路径或url].pdf#page=[xxx]&#xA;epub.js&#xA;sampotts/plyr : video, YouTube and Vimeo player&#xA;videojs/video.js&#xA;bilibili/flv.js&#xA;MoePlayer/DPlayer&#xA;Streamedian/html5_rtsp_player&#xA;MoePlayer/APlayer : music player</description>
</item>
<item>
<title>信息隐藏技术总览</title>
<link>/zh/adblock/</link>
<link>/zh/adblock.html</link>
<pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/adblock/</guid>
<guid>/zh/adblock.html</guid>
<description>总体来说,分为手动控制和针对特定网站的规则两大类办法。手动控制可以保存为网站配置从而自动化。&#xA;双正则表达式根域名隐藏。&#xA;可使用列出外部脚本小书签生成外部js文件列表长按可疑链接一般为域名不同的外链执行“屏蔽根域名”。 针对特定网站的脚本样式。&#xA;长按底部工具栏&amp;quot;js&amp;quot;按钮,执行&amp;quot;标记不良元素&amp;quot;菜单命令点击页面元素会弹出对话框显示元素及祖先所有属性并生成css屏蔽代码。默认使用“display:none”屏蔽但如果上述显示属性中出现过&amp;quot;display&amp;quot;,则建议使用&amp;quot;transform:scale(0)!important&amp;quot;屏蔽。 长按底部工具栏窗口管理按钮,选取&amp;quot;仅显示图片&amp;quot;或&amp;quot;仅显示视频&amp;quot;,图片视频网站彻底干净。选取&amp;quot;禁用伪元素&amp;quot;,&amp;quot;禁用iframe&amp;quot;。更多可参看自定义样式。&#xA;保存书签时可在网址前面添加&amp;quot;i:0mc32:&amp;quot;,则整个网址树自动采用&amp;quot;仅显示图片&amp;quot;。没有任何不良信息。改为&amp;quot;c16&amp;quot;则为&amp;quot;仅显示视频&amp;quot;。&amp;quot;c12&amp;quot;则同时采用&amp;quot;禁用伪元素&amp;quot;,&amp;quot;禁用iframe&amp;quot;。 长按[☰]按钮&amp;quot;自动全屏播放&amp;quot;,直接全屏无干扰播放。不良信息没有任何机会出现。不使用全局脚本“自动全屏播放”的情况下,还可以有以下几种方法:&#xA;使用常用服务自动全屏播放菜单(长按视频链接-&amp;gt;命令),则页面视频会自动全屏播放。按设置按钮,如果勾选“允许自动播放”,则今后此窗口内其它任何视频网址都将会自动全屏无干扰播放。保存书签时可在网址前面添加&amp;quot;i:5f&amp;quot;。 保存书签时可在网址前面添加&amp;quot;i:0mi:5f:&amp;quot;,则整个网址树自动全屏播放。 长按设置,选取&amp;quot;拦截外链脚本&amp;quot;。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow。&#xA;长按[☰]按钮可隐藏浮动信息,移除横幅,清空定时器(防止定时触发不良信息),中断可疑事件(防止用户操作触发),等待(防止延迟触发)。&#xA;直接关闭图像。&#xA;关闭[JS]脚本。&#xA;url.deny。需要屏蔽的url正则表达式java语法忽视回车可用&amp;quot;#&amp;quot;开头注释。</description>
</item>
<item>
<title>小书签</title>
<link>/zh/bookmarklet/</link>
<link>/zh/bookmarklet.html</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/bookmarklet/</guid>
<guid>/zh/bookmarklet.html</guid>
<description>超微浏览器支持直接运行远程网址上的小书签(Bookmarklet),将本页面或其它包含小书签网址加入书签。使用时只需长按小书签链接,点击“新窗口打开”,小书签将作用于超微浏览器最后一个窗口(非小书签窗口)页面上。&#xA;列出外部脚本&#xA;查看浏览器UA&#xA;网页cookie&#xA;网页源码&#xA;显示网页最后更改时间&#xA;Eruda: mobile console&#xA;生成二维码&#xA;POST转GET&#xA;Shows all form elements&#xA;Enables all form elements&#xA;切换复选框状态&#xA;全选复选框&#xA;复选框全不选&#xA;切换表内复选框状态&#xA;解除选择复制限制无效时可设UA为PC&#xA;恢复长按菜单&#xA;正则搜索&#xA;表格排序&#xA;BugMeNot</description>
</item>
<item>
<title>Android TV</title>
<link>/zh/androidtv/</link>
<link>/zh/androidtv.html</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/androidtv/</guid>
<guid>/zh/androidtv.html</guid>
<description>TV端推荐打开自动播放选项全局脚本打开自动全屏播放全局样式打开“仅显示图片“禁止js confirm对话框。&#xA;点击以下链接可直接设置主屏为书签并添加链接。Android TV可从手机端接收视频url并打开发送见常用服务&#xA;等待从网络接收url并打开&#xA;等待接收url沉默版&#xA;书签&#xA;点击以下链接添加常用服务:&#xA;添加书签至主屏&#xA;Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引擎文件engine.search中的搜索引擎url如果不包含&#39;%s&#39;则搜索引擎只是简单的固定网页url此时顺序搜索表现为频道切换。更多信息见多引擎搜索页面。</description>
</item>
<item>
<title>常用书签</title>
<link>/zh/bookmark/</link>
<link>/zh/bookmark.html</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/bookmark/</guid>
<guid>/zh/bookmark.html</guid>
<description>所有书签都可通过&amp;quot;长按链接-&amp;gt;命令-&amp;gt;书签&amp;quot;保存链接为书签。书签菜单可至特色服务网页安装。&#xA;web&#xA;AI/chatGPT:&#xA;天工 kimi taichu 网络剪贴板&#xA;txtpad&#xA;cmd.im&#xA;Wait for url from other devices&#xA;gamezop&#xA;Personal use 2&#xA;分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。&#xA;&amp;quot;小说.html&amp;quot;: 自动使用阅读模式&#xA;href=&amp;quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)&#xA;Mirrors Mirror list&#xA;zlibirary&#xA;mirror.js.org&#xA;Termux命令书签 以下书签需&amp;quot;长按以下链接-&amp;gt;新窗口打开&amp;quot;才能在此网页正常执行。&#xA;需安装定制版termux及相应工具&#xA;计算器bc&#xA;全能计算器bc&#xA;以下书签需安装gopher.&#xA;CNN news gopher&#xA;wikipedia search gopher&#xA;reddit gopher</description>
</item>
<item>
<title>利用用户自定义样式屏蔽不良信息</title>
<link>/zh/adblock_css/</link>
<link>/zh/adblock_css.html</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/adblock_css/</guid>
<guid>/zh/adblock_css.html</guid>
<description>点击以下链接可安装全局样式,清后台重启浏览器,长按底部工具条窗口按钮弹出对话框后勾选上述文件名即可屏蔽不良信息。&#xA;floppymoose 广告屏蔽样式&#xA;gozer 广告屏蔽样式&#xA;超微浏览器支持根域名屏蔽,完全绝杀手机不良信息小厂。但少部分不良信息大厂本身也提供高质量的内容服务,它们可以将不良信息伪装成正常的内容从而逃脱域名绝杀。&#xA;对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</description>
</item>
<item>
<title>操作选中(富)文本/元素</title>
<link>/zh/textprocess/</link>
<link>/zh/textprocess.html</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/zh/textprocess/</guid>
<guid>/zh/textprocess.html</guid>
<description>点击以下链接可安装长按“链接”按钮菜单:&#xA;bing翻译&#xA;papago翻译&#xA;iciba&#xA;百度翻译&#xA;有道翻译&#xA;搜狗翻译&#xA;彩云小译&#xA;deepL&#xA;点击安装&amp;quot;保存文本&amp;quot;等&#xA;重启浏览器,长按“链接”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。&#xA;配置文件&amp;quot;default.select&amp;quot;定义了超微浏览器对选中(富)文本/元素进行的操作。没有任何选中元素则以整个网页为操作对象。每行格式如下:&#xA;[菜单名]:[mimetype]:[命令行]&#xA;选中(富)文本作为命令行的标准输入,而标准输出根据mimetype进行相应处理。&#xA;mimetype用来表示命令的输入输出类型。格式为&amp;quot;[输入mimetype]/[输出mimetype]&amp;quot;&amp;quot;[输入mimetype]&amp;quot;可为&amp;quot;html&amp;quot;或空txt格式或为以超微配置目录为基准的相对路径.js文件名; 输出可为标准的mimetype或超微特殊扩充。如&#xA;html/text/html: 选中富文本为html格式, 输出mimetype为text/html。&#xA;/uweb: 选中文本为txt格式, 输出mimetype为特殊扩充uweb超微将把输出作为链接来处理。&#xA;/uwebA: 超微将把输出作为&amp;quot;单一&amp;quot;链接来处理。&#xA;/termux: 命令运行结果将作为termux下命令运行。&#xA;checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)&#xA;配置default.select如下&#xA;复制文本到地址栏:/uweb:printf i:15;cat&#xA;复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;&#xA;复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;&#xA;复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done&#xA;如使用剪贴板功能手机需安装uweb定制Termux并在termux下安装openssl。&#xA;此处假定远程PC的IP地址为192.168.2.102PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录此时用户无需将密码写入文件default.select。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。&#xA;采用以上配置笔记将储存在应用内部目录下文件note.txt或note.html中富文本。命名笔记储存文件则由用户在地址栏输入框内指定。&#xA;手机其它应用中的文本可选中后分享给超微浏览器再由超微浏览器作笔记或进一步分享给PC。如果其它应用无法分享选中文本这种情况可以先复制文本至剪贴板。长按链接按钮选择适当功能即可复制至PC剪贴板。&#xA;Windows PC 对Windows PC而言vista及以后自带clip.exe此时配置如下&#xA;复制文本至PC剪贴板::ssh [user:password]@192.168.2.102 clip.exe&#xA;其它推荐工具(读取PC剪贴板)&#xA;pclip</description>
</item>
<item>
<title>CSS样式</title>
<link>/zh/globalcss/</link>
<link>/zh/globalcss.html</link>
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
<guid>/zh/globalcss/</guid>
<guid>/zh/globalcss.html</guid>
<description>超微浏览器自动装载&amp;quot;css&amp;quot;目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式&#xA;强制使用默认字体&#xA;配合透明状态栏(沉浸)&#xA;文件&amp;quot;night.css&amp;quot;为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:&#xA;webview 81+ 夜间模式&#xA;webview 80- 夜间模式</description>
</item>
<item>
<title>超微浏览器配置文件列表</title>
<link>/zh/filenames/</link>
<link>/zh/filenames.html</link>
<pubDate>Fri, 18 Mar 2022 00:00:00 +0000</pubDate>
<guid>/zh/filenames/</guid>
<guid>/zh/filenames.html</guid>
<description>下面列表中以&amp;quot;/&amp;quot;结尾者为目录,其余为文件:&#xA;&amp;quot;css/&amp;quot;:全局样式目录&#xA;&amp;quot;js/&amp;quot;: 全局脚本目录&#xA;&amp;quot;sitejs/&amp;quot;:类油猴脚本,针对特定网址&#xA;&amp;quot;sitecss/&amp;quot;:针对特定网址css样式&#xA;&amp;quot;bookmarklet/&amp;quot;:js脚本目录长按JS按钮可执行。&#xA;&amp;quot;offline/&amp;quot;:离线下载目录&#xA;&amp;quot;sbookmark/&amp;quot;:超级书签默认目录&#xA;&amp;quot;sitecache/&amp;quot;:用户供应网站离线数据&#xA;&amp;quot;longclick/&amp;quot;:长按链接菜单(js)&#xA;&amp;quot;icon/&amp;quot;:图标定制&#xA;&amp;quot;app[XXX]/&amp;quot;:html5应用目录&#xA;&amp;quot;default.longclick&amp;quot;:长按链接菜单&#xA;&amp;quot;default.uas&amp;quot;:浏览器标识&#xA;&amp;quot;default.urls&amp;quot;:特色服务&#xA;&amp;quot;default.acmd&amp;quot;:浏览器地址栏功能配置&#xA;&amp;quot;default.hosts&amp;quot;:不良信息屏蔽文件&#xA;&amp;quot;default.redirect&amp;quot;:重定向配置&#xA;&amp;quot;default.cmds&amp;quot;:长按“历史”按钮配置&#xA;&amp;quot;default.link&amp;quot;:长按“书签”按钮配置&#xA;&amp;quot;default.rjs&amp;quot;:远程及简单脚本&#xA;&amp;quot;default.select&amp;quot;:长按“链接”按钮配置&#xA;&amp;quot;default.input&amp;quot;:每行一个网页常用输入短语&#xA;&amp;quot;default.gesture&amp;quot;:格式与文件default.link完全相同定义地址栏下方手势操作&#xA;&amp;quot;default.gesture2&amp;quot;:右边缘手势操作类似default.gesture。&#xA;&amp;quot;default.button&amp;quot;:格式与文件default.link完全相同每行从最后一个按钮开始重定义单击功能。&#xA;&amp;quot;default.button2&amp;quot;:类似default.button。每行从最后一个按钮开始重定义长按功能。&#xA;&amp;quot;default.filecap&amp;quot;:文件特殊处理&#xA;&amp;quot;default.rc&amp;quot;:如果勾选“文件预处理”则uweb启动时运行此shell脚本。可与tcron配合运行定时任务如存储清理、网页签到等。&#xA;&amp;quot;default.rc2&amp;quot;:如果勾选“文件预处理”则uweb返回前台时运行此shell脚本。&#xA;&amp;quot;crontab&amp;quot;:&#xA;&amp;quot;engine.search&amp;quot;:格式同home5.search搜索引擎url仅支持%s语法。(搜索词部分用%s代替),供自动顺序搜索使用。&#xA;&amp;quot;default.siteconf&amp;quot;:网站独立设置保存ua、禁用js、无图、禁用第三方(js,可疑资源)、当前激活脚本、全局脚本。当前设置与默认不同才会保存。比如当前不屏蔽第三方js但屏蔽第三方可疑资源则屏蔽第三方设置与默认不同站点设置被保存。&#xA;&amp;quot;default.playrate&amp;quot;:全屏播放菜单项格式与文件default.link完全相同。倍速播放菜单链接部分为空譬如&amp;quot;.5x:&amp;quot;,倍速菜单至少有一个。链接部分非空的菜单必须在所有倍速菜单之后。&#xA;&amp;quot;default.autoc&amp;quot;:地址栏autocomplete候选字符串&#xA;&amp;quot;query.autoc&amp;quot;:主屏搜索autocomplete候选字符串&#xA;&amp;quot;home5.html&amp;quot;:自定义主屏home6.html, home6.search, home7.html ... 多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。&#xA;&amp;quot;home5.search&amp;quot;:主屏搜索引擎&#xA;&amp;quot;home.css&amp;quot;:主屏风格虽然后缀名为css但其格式为html故css代码需放在&amp;quot;&amp;lt;style&amp;gt;&amp;quot;元素内。&#xA;&amp;quot;bookmark.html&amp;quot;:主书签&#xA;&amp;quot;quickstart.html&amp;quot;:快速访问&#xA;&amp;quot;colors.txt&amp;quot;:护眼背景色&#xA;&amp;quot;default.css&amp;quot;:勾选网址特定样式后无匹配情形下的默认样式&#xA;&amp;quot;night.css&amp;quot;:夜间模式,代替超微内部实现&#xA;&amp;quot;bookmarklet/videoplayer.js&amp;quot;:用户定义视频播放&#xA;&amp;quot;types.sniff&amp;quot;:嗅探类型&#xA;&amp;quot;js.allow&amp;quot;:外链js白名单,每行一个域名。&#xA;&amp;quot;url.deny&amp;quot;:需要屏蔽的url正则表达式java语法忽视回车可用&amp;quot;#&amp;quot;开头注释。&#xA;&amp;quot;sniff.log&amp;quot;:嗅探结果&#xA;&amp;quot;history.rec&amp;quot;:访问历史&#xA;&amp;quot;query.rec&amp;quot;:查询历史&#xA;应用内部保护目录(/data/data/info.torapp.uweb/files/):&#xA;&amp;quot;shortcut/&amp;quot;:动态shortcut刷新目录若不存在则默认为&amp;quot;bookmark&amp;quot;目录。</description>
</item>
<item>
<title>文件管理器及文件挑选并批量处理</title>
<link>/zh/filemanager/</link>
<link>/zh/filemanager.html</link>
<pubDate>Fri, 11 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/filemanager/</guid>
<guid>/zh/filemanager.html</guid>
<description>超微浏览器访问以&amp;quot;/&amp;quot;结尾 (包括&amp;quot;/?&amp;quot;及后面参数)的&amp;quot;file://&amp;quot; url则进入文件管理器。&#xA;对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][*[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?*.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。&amp;quot;?IMG&amp;quot;列举出所有IMG开头的文件。此时可选定文件并安装checked.js对选取文件进行批量处理。&#xA;文件批量处理配置default.select例子&#xA;图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done</description>
</item>
<item>
<title>超级计算器(bc)</title>
<link>/zh/bc/</link>
<link>/zh/bc.html</link>
<pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/bc/</guid>
<guid>/zh/bc.html</guid>
<description>Gnu bc计算器支持无限精度可扩展函数库、常数库。&#xA;安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令&#xA;apt update&#xA;apt upgrade&#xA;apt install bc 使用书签调用计算器 &amp;quot;长按以下链接-&amp;gt;命令-&amp;gt;书签&amp;quot;可保存链接为书签。书签菜单可至特色服务网页安装。&#xA;bc&#xA;全能bc&#xA;浏览器地址栏作为超级计算器 配置文件default.acmd如下&#xA;计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q&#xA;更多bc扩展库 https://github.com/susca/bc-extensions&#xA;http://phodd.net/gnu-bc&#xA;http://www.numbertheory.org/gnubc/gnubc.html&#xA;使用扩展库以后default.acmd配置如下 计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q extensions.bc scientific_constants.bc&#xA;全能计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q *.bc</description>
</item>
<item>
<title>工具栏定制</title>
<link>/zh/icons/</link>
<link>/zh/icons.html</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/icons/</guid>
<guid>/zh/icons.html</guid>
<description>超微浏览器配置目录下如果存在目录&amp;quot;icon&amp;quot;,则此目录下的文件名为&amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...&#xA;会作为底部工具栏图标。文件&amp;quot;0&amp;quot;替换原后退按钮,&amp;quot;1&amp;quot;为前进按钮,&amp;quot;2&amp;quot;为设置按钮,&amp;quot;3&amp;quot;为主页按钮......。&#xA;如果定义有新按钮(当前版本存在文件&amp;quot;20&amp;quot;则uweb支持向量格式图标VectorDrawable格式为compiled XML。此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。&#xA;用户可定义任意多个按钮(100个按钮毫无压力)其短按长按功能可在文件default.button及default.button2中定义格式与文件default.link完全相同每行从最后一个按钮开始重定义功能。&#xA;注意:刷新按钮及窗口按钮图标暂时不能重定义。</description>
</item>
<item>
<title>安卓系统出错诊断</title>
<link>/zh/logcat/</link>
<link>/zh/logcat.html</link>
<pubDate>Mon, 28 Dec 2020 00:00:00 +0000</pubDate>
<guid>/zh/logcat/</guid>
<guid>/zh/logcat.html</guid>
<description>超微浏览器如果闪退,会生成出错文件&amp;quot;error.log&amp;quot;。&#xA;如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:&#xA;访问常用命令网页点击安装logcat相关的两个命令。 清空后台并重启超微浏览器。 长按历史按钮,执行命令&amp;quot;清空logcat&amp;quot;。 触发有问题的功能。 长按历史按钮,执行命令&amp;quot;输出logcat.log&amp;quot;. 检查文件&amp;quot;logcat.log&amp;quot;内容。 超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &amp;quot;webview-log-js-console-messages&amp;quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。&#xA;非dev版本webview可点击如下链接运行devtools。&#xA;devtools for com.google.android.webview&#xA;devtools for com.android.webview</description>
</item>
<item>
<title>离线下载</title>
<link>/zh/loadbt/</link>
<link>/zh/loadbt.html</link>
<pubDate>Tue, 15 Dec 2020 00:00:00 +0000</pubDate>
<guid>/zh/loadbt/</guid>
<guid>/zh/loadbt.html</guid>
<description>seedr用户可使用常用链接利用seedr离线下载。使用时长按链接-&amp;gt;命令-&amp;gt;seedr离线...。 Telegram用户可使用特色服务利用tg bot离线下载至bot支持网盘。使用时长按链接-&amp;gt;命令-&amp;gt;tg...。 百度网盘存储空间大,但其离线下载限制很多,可能由于某些重要节点被屏蔽的原因,下载国外资料基本都会失败。国外离线网盘空间小,但下载成功率很高。&#xA;本文介绍一种技术,使用国外离线网盘下载资源,然后一键离线至百度网盘。&#xA;超微浏览器上配置百度离线下载&#xA;安装uweb定制Termux应用。&#xA;安装baidupcs-go&#xA;直接下载BaiduPCS-Go安卓手机请选择arm64版本。 解压下载文件 移动解压后文件至最终目的地。Termux运行以下命令:&#xA;mv BaiduPCS-Go /data/data/com.termux/files/usr/bin/.&#xA;chmod 777 /data/data/com.termux/files/usr/bin/BaiduPCS-Go&#xA;登录百度网盘, Termux执行如下命令&#xA;BaiduPCS-Go login&#xA;BaiduPCS-Go config set -appid=266719&#xA;default.longclick配置如下&#xA;百度离线下载:termux/*:BaiduPCS-Go od add &amp;quot;%u&amp;quot;;exit 1&#xA;重启超微浏览器,此时长按链接将会出现菜单“百度离线下载”。&#xA;离线下载资源至国外网盘,下载完成后在超微浏览器内点击资源下载,弹出菜单选择“百度离线下载”,完成整个流程。&#xA;其它支持离线下载的网页也可定义为一键离线。</description>
</item>
<item>
<title>长按链接弹出菜单</title>
<link>/zh/longclick/</link>
<link>/zh/longclick.html</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/zh/longclick/</guid>
<guid>/zh/longclick.html</guid>
<description>长按链接运行第三方程序 配置文件default.longclick每行格式如下同default.cmds&#xA;菜单名:mimetype:命令路径&#xA;命令可以包含%c当前网址cookie执行时会被相应内容自动替换。&#xA;长按链接运行js文件 长按链接弹出菜单显示longclick目录下所有js文件供用户挑选执行。&#xA;js文件格式如下&#xA;首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&amp;quot;%u&amp;quot;等,打开网页时会用长按的链接替换。 首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。 第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。 </description>
</item>
<item>
<title>视频播放小窍门</title>
<link>/zh/video/</link>
<link>/zh/video.html</link>
<pubDate>Tue, 22 Sep 2020 00:00:00 +0000</pubDate>
<guid>/zh/video/</guid>
<guid>/zh/video.html</guid>
<description>覆盖安装全屏播放菜单示例:屏幕旋转,退出&#xA;本文以超微浏览器为例来说明。&#xA;创建文件&amp;quot;default.playrate&amp;quot;可定制全屏倍速播放菜单项格式与文件default.link完全相同。倍速播放菜单链接部分为空譬如&amp;quot;.5x:&amp;quot;,倍速菜单至少有一个。链接部分非空的菜单必须在所有倍速菜单之后。 长按设置按钮勾选“弹出视频地址”则视频播放时会弹出真正的播放地址点击地址播放可避免一切不良信息。如果点击后为下载操作可长按链接分享给视频播放器。用户亦可配置在线播放或安装插件。嗅探的视频资源类型可由文件“types.sniff”控制。 很多视频解析结果在UA为PC的情况下非常干净没什么不良信息。故用户可在播放前切换UA至PC。如wn.run/解析结果对PC非常干净。 某些视频网站在全屏播放时都会出现不良信息占住屏幕一部分。点击全屏播放之前,长按[☰]按钮,超微浏览器将弹出全局脚本菜单,勾选“移除浮动不良信息”后再点全屏播放则完美播放。 也可利用全屏播放屏蔽一切不良信息。方法如下: 长按[☰]按钮,勾选“全屏视频”。此选项将让无法全屏播放的网站强制允许全屏播放。 对无法全屏、无法放大的视频网站,可长按[☰]按钮,勾选“强制缩放”,然后手动放大至全屏。 灵活应用JS、图像开关屏蔽一切不良信息视频搜索前关闭JS开关进入播放网页前关闭图像显示并打开JS。 视频解析之电视剧: 首先在视频网站搜索电视剧片名,下面会显示不同的剧集,点击它们再用视频解析即可观看。如果直接点击电视剧用视频解析则每次播放均为第一集。 视频搜索预配置(超过400个引擎)&#xA;视频资源:&#xA;视频解析配置 nbwz mvcat novip bdys z2py ddrk nfmovies 电视直播 OK资源 全国电视直播 免费视频 国外剧 纪录片 网络直播 点击安装&amp;quot;视频播放增强(倍速等)635+版本功能已内置,仅供高级用户定制参考。&amp;quot;</description>
</item>
<item>
<title>工具汇总</title>
<link>/zh/tools/</link>
<link>/zh/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/zh/tools/</guid>
<guid>/zh/tools.html</guid>
<description>本文以超微浏览器为例来说明。&#xA;安装tdict检索工具 (本地检索,远程内容) 安装完tdict本地检索工具后可选择性安装字典索引及对应的搜索引擎至主屏。以下引擎仅作测试使用。&#xA;安装双解字典索引&#xA;安装双解字典至主屏&#xA;英语活用大词典索引&#xA;安装英语活用至主屏&#xA;汉语大词典索引&#xA;安装汉语词典至主屏&#xA;soed6索引&#xA;安装soed至主屏&#xA;以下字典最好安装markdown处理器。&#xA;安装markdown处理器&#xA;Merriam Webster International Unabridged 索引&#xA;安装mwi至主屏&#xA;ode3索引&#xA;安装ode至主屏&#xA;oed索引&#xA;安装oed至主屏&#xA;大英百科索引&#xA;安装be至主屏&#xA;以下工具需先安装uweb定制Termux应用并启动一次完成初始化。&#xA;安装tdict词典工具 安装完tdict词典工具以后对dict目录下的汉语大字典文件如&amp;quot;dictXXX.xz&amp;quot;可在主屏.search文件配置如下字典查询&#xA;汉语大字典:c:zd xz %s dictXXX&#xA;字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst此时配置变为&amp;quot;zd zst %s dictXXX&amp;quot;相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。&#xA;插件页面也提供了词典方案,但如果手动配置会比较麻烦。</description>
</item>
<item>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<link>/zh/filecap/</link>
<link>/zh/filecap.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/zh/filecap/</guid>
<guid>/zh/filecap.html</guid>
<description>技巧等级:中级&#xA;文件预处理配置文件为default.filecap每行格式如下&#xA;[文件后缀]:[mimetype]:[处理命令]&#xA;其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。&#xA;mimetype表示命令处理后的输出内容格式。&#xA;处理命令与default.cmds相同主要可能用到如下替换&#xA;%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式&#xA;利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。&#xA;配置default.filecap如下&#xA;txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/audio&gt;&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/audio&gt;&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/video&gt;&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/video&gt;&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/video&gt;&#39; doc:uweb:echo https://view.xdocin.com/view?src=%U xls:uweb:echo https://view.xdocin.com/view?src=%U ppt:uweb:echo https://view.xdocin.com/view?src=%U docx:uweb:echo https://view.xdocin.com/view?src=%U xlsx:uweb:echo https://view.xdocin.com/view?src=%U pptx:uweb:echo https://view.xdocin.com/view?src=%U xz:text/plain:curl %p &#34;%u&#34;|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件&#xA;pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。&#xA;如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>
<item>
<title>手势</title>
<link>/zh/gesture/</link>
<link>/zh/gesture.html</link>
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
<guid>/zh/gesture/</guid>
<guid>/zh/gesture.html</guid>
<description>顶部下拉弹出地址栏; 顶部上划隐藏地址栏。底部下划隐藏工具条; 底部左右角落划动弹出工具条。&#xA;紧靠工具条左右划动切换当前窗口; 左右大幅度划动切换到第一或最后一个窗口。&#xA;起点终点紧靠地址栏划动操作调用&amp;quot;default.gesture&amp;quot;文件中对应链接。文件格式与文件default.link完全相同。每行第一部分为助记名第二部分为链接。手势操作对应方式如下&#xA;将屏幕宽度平分为三部分分别对应数字0,1,2 将终点对应的屏幕数字加上起点对应数字的三倍。如果数字为4且初始为往左滑动则数字改为9。 每额外多一次来回转折数字加10。&#xA;超微浏览器将执行上述数字所对应行所定义的链接操作。0对应第一行以此类推 右边缘划动操作调用&amp;quot;default.gesture2&amp;quot;文件中对应链接。对应方法同&amp;quot;default.gesture&amp;quot;。&#xA;常用操作链接:&#xA;back:javascript:history.back()&#xA;forward:javascript:history.forward()&#xA;back2:javascript:history.go(-2)</description>
</item>
<item>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<link>/zh/cmd.html</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
<guid>/zh/cmd/</guid>
<guid>/zh/cmd.html</guid>
<description>技巧等级:中级 PC剪贴板(高级)&#xA;uweb浏览器支持一键执行任意预定义命令这些命令可以与剪贴板交互可以将结果文本、图像、音视频输出到浏览器窗口。&#xA;手机推荐安装uweb定制Termux否则能够执行的命令极其有限。&#xA;预定义命令保存在文件&amp;quot;default.cmds&amp;quot;中。重启浏览器,长按历史按钮,超微将弹出菜单供用户点击执行。&#xA;资深用户可能注意到文件名与default.acmd类似。default.acmd中的命令适合以不同的参数反复执行而default.cmds一般以单次执行为多。default.acmd结果会显示在浏览器当前窗口而default.cmds中命令执行结果会显示在新窗口之中。这两个文件格式也完全相同每行格式如下&#xA;[命令名称]:[mimetype]:[命令代码]&#xA;命令代码可以是任意命令,其中可以包含%c当前网址cookie、%s (地址栏输入)、 %t (当前窗口标题)、 %u (当前窗口url或文件路径)。执行时这些特殊标识将会被相应内容自动替换。&#xA;mimetype用来表示命令的输出类型。除了标准的mimetype之外超微对此还作了扩充便利与剪贴板交互。下面是扩充版的mimetype&#xA;&amp;quot;clip/clip&amp;quot; : 以剪贴板作为命令输入,输出结果复制到剪贴板。&#xA;&amp;quot;/clip&amp;quot; : 输出结果复制到剪贴板。&#xA;&amp;quot;clip/text/html&amp;quot; : 以剪贴板作为命令输入输出结果mimetype类型为“text/html”。&#xA;&amp;quot;termux/*&amp;quot;: 在termux中执行命令。&#xA;&amp;quot;/uweb&amp;quot;: 输出结果作为链接来处理。&#xA;下面是笔者使用的default.cmds配置命令具体解释&#xA;复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -i&#34; PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -o&#34; </description>
</item>
<item>
<title>分类多引擎搜索</title>
<link>/zh/searchcat/</link>
<link>/zh/searchcat.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/searchcat/</guid>
<guid>/zh/searchcat.html</guid>
<description>点击本链接自动安装分类多引擎文件至&amp;quot;bookmark&amp;quot;目录下。&#xA;超微浏览器中通过“设置”-&amp;gt;“总目录”-&amp;gt;“↑”-&amp;gt;“Download”点击后缀为.search的下载文件超微浏览器将自动显示分类多引擎搜索。此时可按菜单键或长按底部工具条后退按钮选择“添加到桌面”方便以后访问。&#xA;.search文件每行格式为如下几种&#xA;[搜索引擎名]:[不含%s的url]&#xA;[搜索引擎名]:[含%s的url]&#xA;[搜索引擎名]:POST:[含%s的post参数]:[url]&#xA;[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt .search文件首行必须为第一种类型的搜索引擎。由于其它类型的引擎数量稀少为性能考虑超微限制了首个引擎的种类。&#xA;&amp;quot;i:&amp;quot;等超微内部scheme作开头的搜索引擎关键词部分仅支持使用&amp;quot;%s&amp;quot;,这纯粹是为了降低代码复杂性。&#xA;本地引擎 搜索引擎已经支持命令行url现在可添加离线字典查询至主页。命令行url格式为&#xA;c:[含%s的命令行]&#xA;d:mimetype:[含%s的命令行]:[外部资源url]&#xA;查询时关键词会自动替换命令行中的%s。&#xA;笔者用来查询各式词典,发现效果非常好。百兆以内的文本文件压缩以后可以直接快速检索,定位至特定位置以后可上下滚动阅读全部文本。</description>
</item>
<item>
<title>加速访问国外网站</title>
<link>/zh/hosts/</link>
<link>/zh/hosts.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/hosts/</guid>
<guid>/zh/hosts.html</guid>
<description>不少国外网站本身虽可访问,但由于网站需要下载其它网址的资源而导致无法访问。根域名屏蔽可屏蔽文件中域名的一切子域名、孙域名、......,从而主动排除这些网址,最终允许浏览器快速访问。&#xA;使用Android端uweb浏览器。&#xA;域名文件内容如下:&#xA;googleadservices.com&#xA;googlesyndication.com&#xA;adsense.com&#xA;googleapis.com&#xA;google-analytics.com&#xA;googletagservices.com&#xA;twitter.com&#xA;facebook.com&#xA;fbcdn.net&#xA;其它国外网址访问技巧:&#xA;尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。 关闭网页图片 </description>
</item>
<item>
<title>绝杀完整域名树</title>
<link>/zh/adblock_domain/</link>
<link>/zh/adblock_domain.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/adblock_domain/</guid>
<guid>/zh/adblock_domain.html</guid>
<description>域名文件可屏蔽文件中域名的一切子域名、孙域名、......可彻底绝杀一切不良信息。所以用户屏蔽根域名时无需选择提示中出现的整个域名只需选取最后两段或三段最后两段不超过6字符如com.cn的域名可取四段&#xA;可使用列出外部脚本小书签生成外部js文件列表然后长按底部工具栏&amp;quot;js&amp;quot;按钮,执行&amp;quot;网址转链接&amp;quot;菜单命令,长按可疑链接(一般为域名不同的外链),执行“屏蔽根域名”。&#xA;长按不良信息链接,点击“图片:屏蔽根域名”,修改弹出域名,一般取最后两段,点击&amp;quot;确定&amp;quot;屏蔽当前图片网址。&#xA;部分不良信息没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击&amp;quot;背景图片&amp;quot;或&amp;quot;看图模式&amp;quot;,再长按不良信息链接点击“图片:屏蔽根域名”,屏蔽图片网址。&#xA;可长按设置开启&amp;quot;资源嗅探&amp;quot;,推荐设置文件&amp;quot;types.sniff&amp;quot;内容为js刷新网页后关闭&amp;quot;资源嗅探&amp;quot;选项。在弹出的资源网页上长按链接,屏蔽根域名。&#xA;(可选) 长按不良信息链接,点击“屏蔽根域名”,屏蔽链接网址。&#xA;(可选) 某些不良信息靠javascript激发链接中不出现域名可点击激发至新网址后将新网址根域名屏蔽。&#xA;支持域名及整个网址正则表达式&#xA;文件格式每行如下:&#xA;根域名[空格]域名前缀正则表达式[空格]整个网址去掉协议部分后正则表达式&#xA;空格及后面两个正则表达式为可选择项。正则表达式采用java标准。&#xA;如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。&#xA;点击本链接自动用样例覆盖default.hosts</description>
</item>
<item>
<title>利用多账号登录获取资源</title>
<link>/zh/multiaccount/</link>
<link>/zh/multiaccount.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/multiaccount/</guid>
<guid>/zh/multiaccount.html</guid>
<description>谈到资源就离不开bt, bt下载费时费力离线bt是最佳选择。国内离线下载由于关键节点屏蔽基本没啥用。我的个人体验是彻彻底底完全没用但别人也许还有点用国外唯一一个有好体验的是seedr, 不过seedr有个大问题需要解决。&#xA;其它我曾推荐过的台湾bt, bug实在太多现在看来也成了半个垃圾。万般无奈之下只能重拾seedr.&#xA;seedr的问题是首次登录需要google人机验证登录成功以后可以永久使用无需小飞机辅助。&#xA;以前偶尔飞飞一点问题也没有毕竟1分钟飞行就可解决很长时间问题了。但目前的状态是信息基本被彻底封死1分钟飞行也成了奢望。所以十分有必要珍惜这来之不易的1分钟飞行成果。&#xA;现在直接上方案使用超微浏览器多账号登录。飞行1分钟以后成功登录seedr, 此时退出浏览器,千万不能强退,一定要让运存中的登录信息写到内部存储。然后用户可备份应用内部目录下的.cjar文件一旦浏览器失去登录状态可恢复此文件即可使用多账号登录重新登录让这1分钟飞行成果保存下来供万万年使用。需要注意的一点是用户退出seedr账号会使保存的文件作废。故千万不要退出账号需要用其它账号登录的请使用多账号登录。</description>
</item>
<item>
<title>利用浏览器地址栏对函数作图</title>
<link>/zh/gnuplot/</link>
<link>/zh/gnuplot.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/gnuplot/</guid>
<guid>/zh/gnuplot.html</guid>
<description>使用Android端uweb浏览器。&#xA;Termux提供了方便的软件包管理系统缺省的uWeb地址栏功能配置需用到作图软件gnuplot。&#xA;安装gnuplot 安装 uweb定制Termux应用 Termux下运行以下命令&#xA;apt update&#xA;apt upgrade&#xA;apt install gnuplot 地址栏功能配置: 配置文件default.acmd每行格式如下&#xA;菜单名:mimeType:命令行 命令行可包含参数%s运行时自动用地址栏输入内容替换。 如果浏览器窗口当前地址为本地url则此目录同时作为命令行工作目录。 配置文件default.acmd如下 命令:text/plain:%s 函数作图:image/svg+xml:gnuplot -e &#39;set term svg;set output; plot %s&#39; 函数作图(3d):image/svg+xml:gnuplot -e &#39;set term svg;set output; splot %s&#39; 超级计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q 长按uweb浏览器底部工具条刷新按钮弹出地址栏功能选择选择“函数作图”地址栏内输入函数如sin(x)**5就可显示函数图案。&#xA;常见问题及诊断 确保gnuplot正确安装在Termux提示符下敲入gnuplot,然后回车,保证出现&amp;quot;gnuplot&amp;gt;&amp;quot;。 确保gnuplot正常运行, 在Termux提示符下执行下面命令&#xA;gnuplot -e &#39;set term svg;set output; plot x&#39;&#xA;屏幕输出应该为正常的svg文件类似html文本。 Termux应为uweb定制包否则有一堆设定需要修改。 超微浏览器下长按设置按钮,勾选“标准错误输出”。再次在地址栏执行画图操作,此时浏览器会显示出错信息。 为保证地址栏输入函数符合gnuplot规范首个测试函数建议为&amp;quot;x&amp;quot;,即整个地址栏内输入为&amp;quot;x&amp;quot;。 </description>
</item>
<item>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<link>/zh/pcdown.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/pcdown/</guid>
<guid>/zh/pcdown.html</guid>
<description>技巧等级:高级&#xA;小孩要听英文有声书“The lying games”国内服务器没一个能下的最后还是在手机上用seedr秒下。但seedr的登录要用google人机交互确认用过代理、tunnel至手机等方法台式机死活登录不上。下面言归正传讲一下超微浏览器直接下载资源至台式机的方法&#xA;手机需安装uweb定制Termux并在termux下安装openssl在Termux窗口下依次敲入如下命令&#xA;apt update&#xA;apt upgrade&#xA;apt install openssl&#xA;脚本pcdownload内容如下(可放置在任意应用内部目录下并相应修改default.longclick配置中文件路径)&#xA;#!/data/data/com.termux/files/usr/bin/sh&#xA;ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 firefox \&amp;quot;$1\&amp;quot;&amp;quot;&#xA;脚本需设置为可执行Termux下执行命令:&#xA;chmod 755 /data/data/com.termux/files/usr/bin/pcdownload&#xA;这里假定用户已经在台式机上设好ssh服务台式机IP地址为192.168.2.102准备用firefox下载。如果下载工具不是图形程序则上述脚本中可删去“DISPLAY=:0”。&#xA;配置文件default.longclick如下&#xA;PCdown:/data/data/com.termux/files/usr/bin/pcdownload&#xA;重启超微浏览器,点击链接下载时会弹出菜单,选择&amp;quot;PCdown&amp;quot;台式机会启动firefox下载手机指定文档。&#xA;可能大家有疑问,台式机无法登录,为什么手机可以登录?这是因为手机上应用多哈。</description>
</item>
<item>
<title>装载网站离线资源</title>
<link>/zh/offlinecache/</link>
<link>/zh/offlinecache.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/offlinecache/</guid>
<guid>/zh/offlinecache.html</guid>
<description>uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件&amp;quot;sitecache/[域名]/[全部路径包括文件名url中的路径部分]&amp;quot;。&#xA;打开选项&amp;quot;使用离线资源&amp;quot;以后超微将自动装载这些离线资源。&#xA;离线资源可作为缓存提高浏览器性能; 可作为国外网站部分备份修复服务访问; 也可替换部分网站资源达到定制网站的作用。</description>
</item>
</channel>

118
zh/adblock.html Normal file
View File

@ -0,0 +1,118 @@
<!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">
</ul>
<p>总体来说,分为手动控制和针对特定网站的规则两大类办法。手动控制可以保存为网站配置从而自动化。</p>
<ul>
<li>
<p><a href="../adblock_domain/index.html">双正则表达式根域名隐藏</a></p>
<ul>
<li>可使用<a href="../bookmarklet/index.html">列出外部脚本小书签</a>生成外部js文件列表长按可疑链接一般为域名不同的外链执行“屏蔽根域名”。</li>
</ul>
</li>
<li>
<p><a href="../sitejs/index.html">针对特定网站的脚本样式</a></p>
<ul>
<li>长按底部工具栏&quot;js&quot;按钮,执行&quot;标记不良元素&quot;菜单命令点击页面元素会弹出对话框显示元素及祖先所有属性并生成css屏蔽代码。默认使用“display:none”屏蔽但如果上述显示属性中出现过&quot;display&quot;,则建议使用&quot;transform:scale(0)!important&quot;屏蔽。</li>
</ul>
</li>
<li>
<p>长按底部工具栏窗口管理按钮,选取&quot;仅显示图片&quot;&quot;仅显示视频&quot;,图片视频网站彻底干净。选取&quot;禁用伪元素&quot;,&quot;禁用iframe&quot;。更多可参看<a href="../adblock_css/index.html">自定义样式</a></p>
<ul>
<li>保存书签时可在网址前面添加&quot;i:0mc32:&quot;,则整个网址树自动采用&quot;仅显示图片&quot;。没有任何不良信息。改为&quot;c16&quot;则为&quot;仅显示视频&quot;&quot;c12&quot;则同时采用&quot;禁用伪元素&quot;,&quot;禁用iframe&quot;</li>
</ul>
</li>
<li>
<p>长按[☰]按钮&quot;自动全屏播放&quot;,直接<a href="../video/index.html">全屏无干扰播放</a>。不良信息没有任何机会出现。不使用全局脚本“自动全屏播放”的情况下,还可以有以下几种方法:</p>
<ul>
<li>使用<a href="../searchurl/url.html">常用服务</a>自动全屏播放菜单(长按视频链接-&gt;命令),则页面视频会自动全屏播放。按设置按钮,如果勾选“允许自动播放”,则今后此窗口内其它任何视频网址都将会自动全屏无干扰播放。保存书签时可在网址前面添加&quot;i:5f&quot;</li>
<li>保存书签时可在网址前面添加&quot;i:0mi:5f:&quot;,则整个网址树自动全屏播放。</li>
</ul>
</li>
<li>
<p>长按设置,选取&quot;拦截外链脚本&quot;。可在<a href="i:61:../zh/searchurl/func.html">界面配置及杂项</a>网页额外拦截第三方可疑资源。可<a href="file:///data/data/info.torapp.uweb/files/js.allow">配置白名单js.allow</a></p>
</li>
<li>
<p>长按[☰]按钮可隐藏浮动信息,移除横幅,清空定时器(防止定时触发不良信息),中断可疑事件(防止用户操作触发),等待(防止延迟触发)。</p>
</li>
<li>
<p>直接关闭图像。</p>
</li>
<li>
<p>关闭[JS]脚本。</p>
</li>
<li>
<p><a href="file:///data/data/info.torapp.uweb/files/url.deny">url.deny</a>。需要屏蔽的url正则表达式java语法忽视回车可用&quot;#&quot;开头注释。</p>
</li>
</ul>
</div>
<p>Last Modified: 20 February 2023<br>
use relative path<br>
<pre></pre>
</p>
<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>

80
zh/adblock_css.html Normal file
View File

@ -0,0 +1,80 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">利用用户自定义样式屏蔽不良信息
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd/index.html#">不良信息屏蔽</a> </li>
<li><a href="../tags/css/index.html#">css</a> </li>
</ul>
<p>点击以下链接可安装全局样式,清后台重启浏览器,长按底部工具条窗口按钮弹出对话框后勾选上述文件名即可屏蔽不良信息。<br>
<a href="i:0hcss/floppymoose.css:http://www.floppymoose.com/userContent.css">floppymoose 广告屏蔽样式</a><br>
<a href="i:0hcss/gozer.css:https://www.gozer.org/mozilla/ad_blocking/css/ad_blocking.css">gozer 广告屏蔽样式</a></p>
<p><a href="../zh/">超微浏览器</a>支持<a href="../adblock_domain/index.html">根域名屏蔽</a>,完全绝杀手机不良信息小厂。但少部分不良信息大厂本身也提供高质量的内容服务,它们可以将不良信息伪装成正常的内容从而逃脱域名绝杀。<br>
对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</p>
</div>
<p>Last Modified: 24 September 2022<br>
i:0g/h to use relative path<br>
<pre></pre>
</p>
<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>

106
zh/adblock_domain.html Normal file
View File

@ -0,0 +1,106 @@
<!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/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd/index.html#">不良信息屏蔽</a> </li>
</ul>
<p><a href="file:///data/data/info.torapp.uweb/files/default.hosts">域名文件</a>可屏蔽文件中域名的一切子域名、孙域名、......,可彻底绝杀一切不良信息。所以用户屏蔽根域名时无需选择提示中出现的整个域名,<span style="color:red">只需选取最后两段或三段</span>最后两段不超过6字符如com.cn的域名可取四段</p>
<ul>
<li>
<p>可使用<a href="../bookmarklet/index.html">列出外部脚本小书签</a>生成外部js文件列表然后长按底部工具栏&quot;js&quot;按钮,执行&quot;网址转链接&quot;菜单命令,长按可疑链接(一般为域名不同的外链),执行“屏蔽根域名”。</p>
</li>
<li>
<p>长按不良信息链接,点击“图片:屏蔽根域名”,修改弹出域名,一般取最后两段,点击&quot;确定&quot;屏蔽当前图片网址。</p>
</li>
<li>
<p>部分不良信息没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击&quot;背景图片&quot;&quot;看图模式&quot;,再长按不良信息链接点击“图片:屏蔽根域名”,屏蔽图片网址。</p>
</li>
<li>
<p>可长按设置开启&quot;资源嗅探&quot;,推荐设置文件&quot;types.sniff&quot;内容为js刷新网页后关闭&quot;资源嗅探&quot;选项。在弹出的资源网页上长按链接,屏蔽根域名。</p>
</li>
<li>
<p>(可选) 长按不良信息链接,点击“屏蔽根域名”,屏蔽链接网址。</p>
</li>
<li>
<p>(可选) 某些不良信息靠javascript激发链接中不出现域名可点击激发至新网址后将新网址根域名屏蔽。</p>
</li>
<li>
<p>支持域名及整个网址正则表达式<br>
文件格式每行如下:<br>
根域名[空格]域名前缀正则表达式[空格]整个网址去掉协议部分后正则表达式<br>
空格及后面两个正则表达式为可选择项。正则表达式采用java标准。<br>
如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。</p>
</li>
</ul>
<p><a target="_self" href="i:0hdefault.hosts:../searchurl/default.hosts">点击本链接自动用样例覆盖default.hosts</a></p>
</div>
<p>Last Modified: 14 February 2023<br>
i:0h to use relative path<br>
<pre></pre>
</p>
<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>

79
zh/androidtv.html Normal file
View File

@ -0,0 +1,79 @@
<!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>Android TV</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Android TV
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>TV端推荐打开自动播放选项全局脚本打开自动全屏播放全局样式打开“仅显示图片“禁止js confirm对话框。</p>
<p>点击以下链接可直接设置主屏为书签并添加链接。Android TV可从手机端接收视频url并打开发送见常用服务<br>
<a href="i:0ghome5.html::<a href=%22i:1w%22>等待从网络接收url并打开</a>%0A">等待从网络接收url并打开</a></p>
<p><a href="i:0ghome5.html::<a href=%22i:1w1%22>等待接收url沉默版</a>%0A">等待接收url沉默版</a></p>
<p><a href="i:0ghome5.html::<a href=%22file:///data/data/info.torapp.uweb/files/bookmark.html%22>书签</a>%0A">书签</a></p>
<p>点击以下链接添加常用服务:<br>
<a href="i:01添加书签至主屏:i:51../home5:">添加书签至主屏</a></p>
<p>Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引擎文件engine.search中的搜索引擎url如果不包含'%s'则搜索引擎只是简单的固定网页url此时顺序搜索表现为频道切换。更多信息见多引擎搜索页面。</p>
</div>
<p>Last Modified: 4 February 2023<br>
i:1c for certificate<br>
<pre></pre>
</p>
<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>

94
zh/bc.html Normal file
View File

@ -0,0 +1,94 @@
<!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>超级计算器(bc)</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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">超级计算器(bc)
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Gnu bc计算器支持无限精度可扩展函数库、常数库。</p>
<h3 id="安装bc-android11无需安装">安装bc (Android11+无需安装)</h3>
<ul>
<li>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a></li>
<li>Termux下运行以下命令<br>
apt update<br>
apt upgrade<br>
apt install bc</li>
</ul>
<h3 id="使用书签调用计算器">使用书签调用计算器</h3>
<p>&quot;长按以下链接-&gt;命令-&gt;书签&quot;可保存链接为书签。书签菜单可至<a href="../urls/index.html">特色服务网页</a>安装。<br>
<a href="c:bc -l">bc</a><br>
<a href="c:bc -l *.bc">全能bc</a></p>
<h3 id="浏览器地址栏作为超级计算器">浏览器地址栏作为超级计算器</h3>
<p>配置文件default.acmd如下<br>
计算器:text/html:echo &quot;%s&quot;|bc -l -q</p>
<h3 id="更多bc扩展库">更多bc扩展库</h3>
<p>https://github.com/susca/bc-extensions<br>
http://phodd.net/gnu-bc<br>
http://www.numbertheory.org/gnubc/gnubc.html</p>
<h3 id="使用扩展库以后defaultacmd配置如下">使用扩展库以后default.acmd配置如下</h3>
<p>计算器:text/html:echo &quot;%s&quot;|bc -l -q extensions.bc scientific_constants.bc<br>
全能计算器:text/html:echo &quot;%s&quot;|bc -l -q *.bc</p>
</div>
<p>Last Modified: 24 September 2022<br>
add acmd.md<br>
<pre></pre>
</p>
<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>

106
zh/bookmark.html Normal file
View File

@ -0,0 +1,106 @@
<!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">
</ul>
<p>所有书签都可通过&quot;长按链接-&gt;命令-&gt;书签&quot;保存链接为书签。书签菜单可至<a href="../urls/index.html">特色服务网页</a>安装。<br>
<a href="https://web.xml.wiki">web</a><br>
AI/chatGPT:</p>
<ul>
<li><a href="https://search.tiangong.cn">天工</a></li>
<li><a href="https://kimi.ai">kimi</a></li>
<li><a href="https://taichu-web.ia.ac.cn/#/chat">taichu</a></li>
</ul>
<p><a href="https://netcut.cn">网络剪贴板</a><br>
<a href="https://txtpad.cn">txtpad</a><br>
<a href="https://cmd.im">cmd.im</a><br>
<a href="i:1w">Wait for url from other devices</a><br>
<a href="https://www.gamezop.com">gamezop</a><br>
<a href="https://www.123pan.com/s/cKA9-HFUCA">Personal use 2</a></p>
<h3 id="分类书签模板">分类书签模板</h3>
<p>点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。<br>
<a href="i:0hbookmark/小说.html:../searchurl/bookmark/novel.html">&quot;小说.html&quot;: 自动使用阅读模式</a></p>
<p>href=&quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html)</a></p>
<h3 id="mirrors">Mirrors</h3>
<p><a href="https://www.library.ac.cn">Mirror list</a><br>
<a href="https://entry.zhelper.net">zlibirary</a><br>
<a href="i:631:https://mirror.js.org">mirror.js.org</a></p>
<h3 id="termux命令书签">Termux命令书签</h3>
<p>以下书签需&quot;长按以下链接-&gt;新窗口打开&quot;才能在此网页正常执行。<br>
需安装定制版termux及相应工具<br>
<a href="c:bc -l">计算器bc</a><br>
<a href="c:bc -l *.bc">全能计算器bc</a></p>
<p>以下书签需安装gopher.<br>
<a href="c:gopher gopher://codevoid.de/1/cnn">CNN news gopher</a><br>
<a href="c:gopher gopher://gopherpedia.com/7/lookup">wikipedia search gopher</a><br>
<a href="c:gopher gopher://gopherddit.com">reddit gopher</a></p>
</div>
<p>Last Modified: 23 March 2024<br>
add more AI chatbox as search engines<br>
<pre></pre>
</p>
<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>

97
zh/bookmarklet.html Normal file
View File

@ -0,0 +1,97 @@
<!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/javascript/index.html#">javascript</a> </li>
</ul>
<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>
<p><a href="javascript:(function(){function toggle(box){temp=box.onchange;box.onchange=null;box.checked=!box.checked;box.onchange=temp;}var f=document.querySelectorAll(%22input[type='checkbox']%22);var j;for(j=0;j<f.length;++j)toggle(f[j]);})()">切换复选框状态</a><br>
<a href="javascript:(function(){function set(box,bChecked){temp=box.onchange;box.onchange=null;box.checked=bChecked;box.onchange=temp;}var f=document.querySelectorAll(%22input[type='checkbox']%22);var j;for(j=0;j<f.length;++j)set(f[j],true);})()">全选复选框</a><br>
<a href="javascript:(function(){function set(box,bChecked){temp=box.onchange;box.onchange=null;box.checked=bChecked;box.onchange=temp;}var f=document.querySelectorAll(%22input[type='checkbox']%22);var j;for(j=0;j<f.length;++j)set(f[j],false);})()">复选框全不选</a><br>
<a href="javascript:(function(){ function toggle(box){ temp=box.onchange; box.onchange=null; box.checked=!box.checked; box.onchange=temp; } var x,k,f,j; x=document.forms; for (k=0; k<x.length; ++k) { f=x[k]; for (j=0;j<f.length;++j) if (f[j].type.toLowerCase() == &quot;checkbox&quot;) toggle(f[j]); } })();">切换表内复选框状态</a><br>
<a href="javascript:(function(){var%20doc=document;var%20bd=doc.body;bd.onselectstart=bd.oncopy=bd.onpaste=bd.onkeydown=bd.oncontextmenu=bd.onmousemove=bd.onselectstart=bd.ondragstart=doc.onselectstart=doc.oncopy=doc.onpaste=doc.onkeydown=doc.oncontextmenu=null;doc.onselectstart=doc.oncontextmenu=doc.onmousedown=doc.onkeydown=null;void(0)})()">解除选择复制限制无效时可设UA为PC</a><br>
<a href="javascript:(function() { function R(a){ona = &quot;on&quot;+a; if(window.addEventListener) window.addEventListener(a, function (e) { for(var n=e.originalTarget; n; n=n.parentNode) n[ona]=null; }, true); window[ona]=null; document[ona]=null; if(document.body) document.body[ona]=null; } R(&quot;contextmenu&quot;); R(&quot;click&quot;); R(&quot;mousedown&quot;); R(&quot;mouseup&quot;); })()">恢复长按菜单</a><br>
<a href="javascript:(function(){var count=0, text, regexp;text=prompt(&quot;Search regexp:&quot;, &quot;&quot;);if(text==null || text.length==0)return;try{regexp=new RegExp(&quot;(&quot; + text +&quot;)&quot;, &quot;i&quot;);}catch(er){alert(&quot;Unable to create regular expression using text '&quot;+text+&quot;'.\n\n&quot;+er);return;}function searchWithinNode(node, re){var pos, skip, spannode, middlebit, endbit, middleclone;skip=0;if( node.nodeType==3 ){pos=node.data.search(re);if(pos>=0){spannode=document.createElement(&quot;SPAN&quot;);spannode.style.backgroundColor=&quot;yellow&quot;;middlebit=node.splitText(pos);endbit=middlebit.splitText(RegExp.$1.length);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else if( node.nodeType==1 &amp;&amp; node.childNodes &amp;&amp; node.tagName.toUpperCase()!=&quot;SCRIPT&quot; &amp;&amp; node.tagName.toUpperCase!=&quot;STYLE&quot;){for (var child=0; child < node.childNodes.length; ++child){child=child+searchWithinNode(node.childNodes[child], re);}}return skip;}window.status=&quot;Searching for &quot;+regexp+&quot;...&quot;;searchWithinNode(document.body, regexp);window.status=&quot;Found &quot;+count+&quot; match&quot;+(count==1?&quot;&quot;:&quot;es&quot;)+&quot; for &quot;+regexp+&quot;.&quot;;})();">正则搜索</a><br>
<a href="javascript:function toArray (c){var a, k;a=new Array;for (k=0; k<c.length; ++k)a[k]=c[k];return a;}function insAtTop(par,child){if(par.childNodes.length) par.insertBefore(child, par.childNodes[0]);else par.appendChild(child);}function countCols(tab){var nCols, i;nCols=0;for(i=0;i<tab.rows.length;++i)if(tab.rows[i].cells.length>nCols)nCols=tab.rows[i].cells.length;return nCols;}function makeHeaderLink(tableNo, colNo, ord){var link;link=document.createElement('a');link.href='javascript:sortTable('+tableNo+','+colNo+','+ord+');';link.appendChild(document.createTextNode((ord>0)?'a':'d'));return link;}function makeHeader(tableNo,nCols){var header, headerCell, i;header=document.createElement('tr');for(i=0;i<nCols;++i){headerCell=document.createElement('td');headerCell.appendChild(makeHeaderLink(tableNo,i,1));headerCell.appendChild(document.createTextNode('/'));headerCell.appendChild(makeHeaderLink(tableNo,i,-1));header.appendChild(headerCell);}return header;}g_tables=toArray(document.getElementsByTagName('table'));if(!g_tables.length) alert(&quot;This page doesn't contain any tables.&quot;);(function(){var j, thead;for(j=0;j<g_tables.length;++j){thead=g_tables[j].createTHead();insAtTop(thead, makeHeader(j,countCols(g_tables[j])))}}) ();function compareRows(a,b){if(a.sortKey==b.sortKey)return 0;return (a.sortKey < b.sortKey) ? g_order : -g_order;}function sortTable(tableNo, colNo, ord){var table, rows, nR, bs, i, j, temp;g_order=ord;g_colNo=colNo;table=g_tables[tableNo];rows=new Array();nR=0;bs=table.tBodies;for(i=0; i<bs.length; ++i)for(j=0; j<bs[i].rows.length; ++j){rows[nR]=bs[i].rows[j];temp=rows[nR].cells[g_colNo];if(temp) rows[nR].sortKey=temp.innerHTML;else rows[nR].sortKey=&quot;&quot;;++nR;}rows.sort(compareRows);for (i=0; i < rows.length; ++i)insAtTop(table.tBodies[0], rows[i]);}">表格排序</a></p>
<p><a href="javascript: (function() { var url = ('http://www.bugmenot.com/view/' + escape(location.hostname)); w = open(url, 'w', 'location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=500,height=400,modal=yes,dependent=yes'); if (w) { setTimeout('w.focus()', 1000) } else { location = url } })();">BugMeNot</a></p>
</div>
<p>Last Modified: 24 September 2022<br>
add adblock.md<br>
<pre></pre>
</p>
<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>

8
zh/categories.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<ul>
</ul>
</body>
</html>

View File

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on 超微浏览器: 威、快、高效、极致优化</title>
<link>/zh/categories/</link>
<link>/zh/categories.html</link>
<description>Recent content in Categories on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh</language>

94
zh/cmd.html Normal file
View File

@ -0,0 +1,94 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">一键执行预定义命令
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/termux/index.html#">termux</a> </li>
<li><a href="../tags/ssh/index.html#">ssh</a> </li>
<li><a href="../tags/%e5%89%aa%e8%b4%b4%e6%9d%bf/index.html#">剪贴板</a> </li>
</ul>
<p>技巧等级:中级 PC剪贴板(高级)</p>
<p><a href="../zh/">uweb浏览器</a>支持一键执行任意预定义命令,这些命令可以与剪贴板交互,可以将结果(文本、图像、音视频)输出到浏览器窗口。</p>
<p>手机推荐安装uweb定制<a href="../gnuplot/index.html">Termux</a>,否则能够执行的命令极其有限。</p>
<p>预定义命令保存在文件&quot;default.cmds&quot;中。重启浏览器,长按历史按钮,超微将弹出菜单供用户点击执行。</p>
<p>资深用户可能注意到文件名与<a href="../gnuplot/index.html">default.acmd</a>类似。default.acmd中的命令适合以不同的参数反复执行而default.cmds一般以单次执行为多。default.acmd结果会显示在浏览器当前窗口而default.cmds中命令执行结果会显示在新窗口之中。这两个文件格式也完全相同每行格式如下<br>
[命令名称]:[mimetype]:[命令代码]</p>
<p>命令代码可以是任意命令,其中可以包含%c当前网址cookie、%s (地址栏输入)、 %t (当前窗口标题)、 %u (当前窗口url或文件路径)。执行时这些特殊标识将会被相应内容自动替换。</p>
<p>mimetype用来表示命令的输出类型。除了标准的mimetype之外超微对此还作了扩充便利与剪贴板交互。下面是扩充版的mimetype<br>
&quot;clip/clip&quot; : 以剪贴板作为命令输入,输出结果复制到剪贴板。<br>
&quot;/clip&quot; : 输出结果复制到剪贴板。<br>
&quot;clip/text/html&quot; : 以剪贴板作为命令输入输出结果mimetype类型为“text/html”。<br>
&quot;termux/*&quot;: 在termux中执行命令。<br>
&quot;/uweb&quot;: 输出结果作为<a href="../links/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: 1 December 2023<br>
rename pccopy.md to textprocess.md<br>
<pre></pre>
</p>
<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>

120
zh/cmds.html Normal file
View File

@ -0,0 +1,120 @@
<!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">
</ul>
<p><a href="../zh/">超微浏览器</a>下点击配置链接可自动添加常用命令,<b>强制清空后台重启后</b>长按历史按钮可用。</p>
<p><a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/cmds.cfg">打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示支持数学公式、各类图表</a></p>
<p>配置文件&quot;default.cmds&quot;示例:</p>
<p><a href="i:03清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete">清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete</a></p>
<p><a href="i:03清空应用数据库::rm -rf /data/data/info.torapp.uweb/databases/*">清空应用数据库::rm -rf /data/data/info.torapp.uweb/databases/*</a></p>
<p><a href="i:03本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb">本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb</a></p>
<p><a href="i:03本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.">本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.</a></p>
<p><a href="i:03合并查询历史至自动填充:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc">合并查询历史至自动填充:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc</a></p>
<p><a href="i:03清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache">清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
<p><a href="i:03清空logcat::logcat -c">清空logcat::logcat -c</a></p>
<p><a href="i:03输出logcat.log::logcat -d > logcat.log">输出logcat.log::logcat -d &gt; logcat.log</a></p>
<p><a href="i:03复制cookie:/clip:printf '%c'">复制cookie:/clip:printf '%c'</a></p>
<p><a href="i:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
<p>以下命令需修改接收端IP定制。另外发送消息前接收端需首先执行“<a href="../links/index.html">等待网络消息</a>”命令。<br>
<a href="i:03发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat">发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat</a></p>
<p><a href="i:03发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p><a href="i:03发送剪贴板2:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">发送剪贴板2:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
<p>下面配置需要root权限<br>
<a href="i:03解冻微信::su -c 'pm enable com.tencent.mm'">解冻微信::su -c 'pm enable com.tencent.mm'</a></p>
<p><a href="i:03冻结微信::su -c 'pm disable com.tencent.mm'">冻结微信::su -c 'pm disable com.tencent.mm'</a></p>
<p><a href="i:03解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'">解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'</a></p>
<p><a href="i:03冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'">冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'</a></p>
<p>下面配置需要termux<br>
<a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
<p><a href="i:03无线::am start -a android.settings.WIRELESS_SETTINGS">无线::am start -a android.settings.WIRELESS_SETTINGS</a></p>
<p><a href="i:03cd:termux/*:cd %f;exit 1">cd:termux/*:cd %f;exit 1</a></p>
<p><a href="i:03vim:termux/*:vim %f">vim:termux/*:vim %f</a></p>
<p><a href="i:03历史去重::awk -F'\t' '!s[\$2]++' /data/data/info.torapp.uweb/files/history.rec>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/history.rec">历史去重::awk -F'\t' '!s[$2]++' /data/data/info.torapp.uweb/files/history.rec&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/history.rec</a></p>
<p><a href="i:03书签去重::awk '!s[\$0]++' /data/data/info.torapp.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/bookmark.html">书签去重::awk '!s[$0]++' /data/data/info.torapp.uweb/files/bookmark.html&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/bookmark.html</a></p>
<p><a href="i:03hosts去重::toybox tac /data/data/info.torapp.uweb/files/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.hosts">hosts去重::toybox tac /data/data/info.torapp.uweb/files/default.hosts|awk -F' ' '!s[$1]++' |toybox tac&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.hosts</a></p>
<p><a href="i:03网站设置去重::toybox tac /data/data/info.torapp.uweb/files/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.siteconf">网站设置去重::toybox tac /data/data/info.torapp.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac&gt;/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.siteconf</a></p>
<p><a href="i:03代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS">代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS</a></p>
<p><a href="i:03剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'">剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'</a></p>
<p><a href="i:03剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'">剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'</a></p>
<p><a href="i:03剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast">剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast</a></p>
<p><a href="i:03剪贴板_从广播:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'">剪贴板_从广播:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'</a></p>
<p><a href="i:03剪贴板_二维码:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png">剪贴板_二维码:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png</a></p>
<p>代理8888需要安装有tinyproxyapt install tinyproxy端口为8888。用户可配置为允许外部PC使用。<br>
发送url需更改智能电视机ip地址。<br>
剪贴板_PC需更改用户名PC端安装有xseltermux安装有ssh (apt install openssh)且配置好ssh无密码登录。<br>
剪贴板广播需安装有socatapt install socat)。<br>
剪贴板_二维码需安装libqrencode.</p>
</div>
<p>Last Modified: 5 December 2023<br>
i:5g sematics change<br>
<pre></pre>
</p>
<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>

118
zh/filecap.html Normal file
View File

@ -0,0 +1,118 @@
<!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/index.html#">termux</a> </li>
<li><a href="../tags/curl/index.html#">curl</a> </li>
</ul>
<p>技巧等级:中级</p>
<p>文件预处理配置文件为default.filecap每行格式如下<br>
[文件后缀]:[mimetype]:[处理命令]</p>
<p>其中文件后缀可允许最多两段后缀,譬如&quot;txt.xz&quot;,&quot;html.gz&quot;<br>
mimetype表示命令处理后的输出内容格式。<br>
处理命令与<a href="../cmd/index.html">default.cmds</a>相同,主要可能用到如下替换:<br>
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式</p>
<p>利用文件预处理,<a href="../zh/">超微浏览器</a>现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。</p>
<p>配置default.filecap如下</p>
<pre><code>txt:text/html:curl %p "%u"
mp3:text/html:echo '&lt;audio controls width=100% height=100%>&lt;source src="%u">&lt;/audio>'
m4b:text/html:echo '&lt;audio controls width=100% height=100%>&lt;source src="%u">&lt;/audio>'
m3u8:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
mp4:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
mkv:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
doc:uweb:echo https://view.xdocin.com/view?src=%U
xls:uweb:echo https://view.xdocin.com/view?src=%U
ppt:uweb:echo https://view.xdocin.com/view?src=%U
docx:uweb:echo https://view.xdocin.com/view?src=%U
xlsx:uweb:echo https://view.xdocin.com/view?src=%U
pptx:uweb:echo https://view.xdocin.com/view?src=%U
xz:text/plain:curl %p "%u"|xz -d --</code></pre>
<p>安装过相应的<a href="../html5/index.html">html5应用</a>,则如下配置阅读相应格式文件:</p>
<pre><code>pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u
djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u
epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u</code></pre>
<p>长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。</p>
<p>如果用户配置中处理命令用到curl则需要安装<a href="../gnuplot/index.html">Termux</a>并在Termux中安装curl (&quot;apt install curl&quot;)。<br>
如果用户不安装Termux则上述配置命令中的&quot;am&quot;需要全部路径,需用&quot;/system/bin/am&quot;替换。</p>
<p>使用微软服务预览office文档 (https://view.officeapps.live.com/op/view.aspx?src=)必需当前UA为PC否则会出现空白页面。有条件的用户建议使用google docs (&quot;http://docs.google.com/gview?embedded=true&amp;url=&quot;) 服务替换。</p>
<p>若使用手机应用预览文件则docx处理命令可改为</p>
<pre>am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/docx"</pre>
<p>其余常见文件的类型名:<br>
application/msword<br>
application/msexcel<br>
application/pdf</p>
<p>目前已知服务:<br>
google docs, 功能强大,可查看几乎一切文档,但 &quot;我的所爱在山腰,想要得到山太高。&quot;</p>
<p>微软office, 可预览office文档ua必须是pc。</p>
</div>
<p>Last Modified: 28 January 2023<br>
minor changes for zh<br>
<pre></pre>
</p>
<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>

75
zh/filemanager.html Normal file
View File

@ -0,0 +1,75 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">文件管理器及文件挑选并批量处理
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../zh/">超微浏览器</a>访问以&quot;/&quot;结尾 (包括&quot;/?&quot;及后面参数)的&quot;file://&quot; url则进入文件管理器。</p>
<p>对任何目录型(以“/”结尾)文件url后面可附&quot;?[文件前缀][*[文件后缀]]&quot;。譬如&quot;file:///sdcard/?*.png&quot;会列举出&quot;/sdcard&quot;目录下所有.png文件。&quot;?IMG&quot;列举出所有IMG开头的文件。此时可选定文件<a target="_self" href="i:0hcheck.js:../searchurl/txt/check.js">安装checked.js</a>对选取文件进行批量处理。</p>
<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: 1 December 2023<br>
rename pccopy.md to textprocess.md<br>
<pre></pre>
</p>
<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>

128
zh/filenames.html Normal file
View 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>超微浏览器配置文件列表</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">
</ul>
<p>下面列表中以&quot;/&quot;结尾者为目录,其余为文件:<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/css/">css/</a>&quot;:<a href="../globalcss/index.html">全局样式目录</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/js/">js/</a>&quot;: 全局脚本目录<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sitejs/">sitejs/</a>&quot;:<a href="../sitejs/index.html">类油猴脚本,针对特定网址</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sitecss/">sitecss/</a>&quot;:<a href="../sitejs/index.html">针对特定网址css样式</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/bookmarklet/">bookmarklet/</a>&quot;:js脚本目录长按JS按钮可执行。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/offline/">offline/</a>&quot;:离线下载目录<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sbookmark/">sbookmark/</a>&quot;:超级书签默认目录<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sitecache/">sitecache/</a>&quot;:<a href="../offlinecache/index.html">用户供应网站离线数据</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick/</a>&quot;:长按链接菜单(js)<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/icon/">icon/</a>&quot;:<a href="../icons/index.html">图标定制</a><br>
&quot;app[XXX]/&quot;:<a href="../html5/index.html">html5应用目录</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>&quot;:长按链接菜单<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.uas">default.uas</a>&quot;:<a href="../searchurl/uas.html">浏览器标识</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.urls">default.urls</a>&quot;:<a href="../urls/index.html">特色服务</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.acmd">default.acmd</a>&quot;:<a href="../gnuplot/index.html">浏览器地址栏功能配置</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.hosts">default.hosts</a>&quot;:<a href="../adblock_hosts/index.html">不良信息屏蔽文件</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.redirect">default.redirect</a>&quot;:<a href="../redirect/index.html">重定向配置</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../cmds/index.html">长按“历史”按钮配置</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.link">default.link</a>&quot;:<a href="../links/index.html">长按“书签”按钮配置</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>&quot;:<a href="../rjs/index.html">远程及简单脚本</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>&quot;:<a href="../textprocess/index.html">长按“链接”按钮配置</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.input">default.input</a>&quot;:每行一个网页常用输入短语<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.gesture">default.gesture</a>&quot;:格式与文件<a href="../links/index.html">default.link</a>完全相同,定义<a href="../gesture/index.html">地址栏下方手势操作</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.gesture2">default.gesture2</a>&quot;:右边缘手势操作类似default.gesture。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.button">default.button</a>&quot;:格式与文件<a href="../links/index.html">default.link</a>完全相同,每行从最后一个按钮开始重定义单击功能。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.button2">default.button2</a>&quot;:类似default.button。每行从最后一个按钮开始重定义长按功能。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.filecap">default.filecap</a>&quot;:<a href="../filecap/index.html">文件特殊处理</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rc">default.rc</a>&quot;:如果勾选“文件预处理”则uweb启动时运行此shell脚本。可与<a href="../tools/index.html">tcron</a>配合运行定时任务,如存储清理、网页签到等。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.rc2">default.rc2</a>&quot;:如果勾选“文件预处理”则uweb返回前台时运行此shell脚本。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/crontab">crontab</a>&quot;:<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/engine.search">engine.search</a>&quot;:格式同<a href="../search/index.html">home5.search</a>搜索引擎url仅支持%s语法。(搜索词部分用%s代替),供自动顺序搜索使用。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.siteconf">default.siteconf</a>&quot;:网站独立设置保存ua、禁用js、无图、禁用第三方(js,可疑资源)、当前激活脚本、全局脚本。当前设置与默认不同才会保存。比如当前不屏蔽第三方js但屏蔽第三方可疑资源则屏蔽第三方设置与默认不同站点设置被保存。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.playrate">default.playrate</a>&quot;:全屏播放菜单项,格式与文件<a href="../links/index.html">default.link</a>完全相同。倍速播放菜单链接部分为空,譬如&quot;.5x:&quot;,倍速菜单至少有一个。链接部分非空的菜单必须在所有倍速菜单之后。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.autoc">default.autoc</a>&quot;:地址栏autocomplete候选字符串<br>
&quot;query.autoc&quot;:主屏搜索autocomplete候选字符串<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/home5.html">home5.html</a>&quot;:自定义主屏home6.html, home6.search, home7.html ... 多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/home5.search">home5.search</a>&quot;:<a href="../search/index.html">主屏搜索引擎</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>&quot;:<a href="../searchurl/homescreen.html">主屏风格</a>虽然后缀名为css但其格式为html故css代码需放在&quot;&lt;style&gt;&quot;元素内。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html</a>&quot;:主书签<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html</a>&quot;:<a href="../searchurl/quickstart.html">快速访问</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt</a>&quot;:护眼背景色<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.css">default.css</a>&quot;:<a href="../sitejs/index.html">勾选网址特定样式后无匹配情形下的默认样式</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/night.css">night.css</a>&quot;:<a href="../globalcss/index.html">夜间模式</a>,代替超微内部实现<br>
&quot;bookmarklet/videoplayer.js&quot;:<a href="../video/index.html">用户定义视频播放</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/types.sniff">types.sniff</a>&quot;:嗅探类型<br>
&quot;js.allow&quot;:外链js白名单,每行一个域名。<br>
&quot;url.deny&quot;:需要屏蔽的url正则表达式java语法忽视回车可用&quot;#&quot;开头注释。<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/sniff.log">sniff.log</a>&quot;:嗅探结果<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/history.rec">history.rec</a>&quot;:访问历史<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/query.rec">query.rec</a>&quot;:查询历史</p>
<p>应用内部保护目录(/data/data/info.torapp.uweb/files/):<br>
&quot;shortcut/&quot;:动态shortcut刷新目录若不存在则默认为&quot;bookmark&quot;目录。</p>
</div>
<p>Last Modified: 1 December 2023<br>
rename pccopy.md to textprocess.md<br>
<pre></pre>
</p>
<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>

89
zh/gesture.html Normal file
View File

@ -0,0 +1,89 @@
<!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">
</ul>
<p>顶部下拉弹出地址栏; 顶部上划隐藏地址栏。底部下划隐藏工具条; 底部左右角落划动弹出工具条。</p>
<p>紧靠工具条左右划动切换当前窗口; 左右大幅度划动切换到第一或最后一个窗口。</p>
<p>起点终点紧靠地址栏划动操作调用&quot;default.gesture&quot;文件中对应链接。文件格式与文件<a href="../links/index.html">default.link</a>完全相同。每行第一部分为助记名,第二部分为链接。手势操作对应方式如下:</p>
<ol>
<li>将屏幕宽度平分为三部分分别对应数字0,1,2</li>
<li>将终点对应的屏幕数字加上起点对应数字的三倍。如果数字为4且初始为往左滑动则数字改为9。</li>
<li>每额外多一次来回转折数字加10。<br>
超微浏览器将执行上述数字所对应行所定义的链接操作。0对应第一行以此类推</li>
</ol>
<p>右边缘划动操作调用&quot;default.gesture2&quot;文件中对应链接。对应方法同&quot;default.gesture&quot;</p>
<p>常用操作链接:<br>
back:javascript:history.back()<br>
forward:javascript:history.forward()<br>
back2:javascript:history.go(-2)</p>
</div>
<p>Last Modified: 24 September 2022<br>
reorg for multi-languages<br>
<pre></pre>
</p>
<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>

81
zh/globalcss.html Normal file
View File

@ -0,0 +1,81 @@
<!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>CSS样式</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">CSS样式
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../zh/">超微浏览器</a>自动装载&quot;css&quot;目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式</p>
<p><a href="i:0hcss/使用默认字体.css:../searchurl/txt/clearfont.css">强制使用默认字体</a><br>
<a href="i:0hcss/配合透明状态栏.css:../searchurl/txt/margintop.css">配合透明状态栏(沉浸)</a></p>
<p>文件&quot;night.css&quot;为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:<br>
<a href="i:0hnight.css:../searchurl/txt/night.css">webview 81+ 夜间模式</a><br>
<a href="i:0hnight.css:../searchurl/txt/night_old.css">webview 80- 夜间模式</a></p>
</div>
<p>Last Modified: 14 February 2023<br>
i:0h to use relative path<br>
<pre></pre>
</p>
<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>

107
zh/gnuplot.html Normal file
View File

@ -0,0 +1,107 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">利用浏览器地址栏对函数作图
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/termux/index.html#">termux</a> </li>
</ul>
<p>使用Android端<a href="../zh/">uweb浏览器</a><br>
Termux提供了方便的软件包管理系统缺省的uWeb地址栏功能配置需用到作图软件gnuplot。</p>
<h4 id="安装gnuplot">安装gnuplot</h4>
<ul>
<li>安装 <a href="../searchurl/plugins.html">uweb定制Termux应用</a></li>
<li>Termux下运行以下命令<br>
apt update<br>
apt upgrade<br>
apt install gnuplot</li>
</ul>
<h4 id="地址栏功能配置">地址栏功能配置:</h4>
<ul>
<li>配置文件<a href=e:default.acmd>default.acmd</a>每行格式如下:<br>
菜单名:mimeType:命令行</li>
<li>命令行可包含参数%s运行时自动用地址栏输入内容替换。</li>
<li>如果浏览器窗口当前地址为本地url则此目录同时作为命令行工作目录。</li>
</ul>
<h4 id="配置文件defaultacmd如下">配置文件default.acmd如下</h4>
<pre><code>命令:text/plain:%s
函数作图:image/svg+xml:gnuplot -e 'set term svg;set output; plot %s'
函数作图(3d):image/svg+xml:gnuplot -e 'set term svg;set output; splot %s'
超级计算器:text/html:echo &quot;%s&quot;|bc -l -q
</code></pre>
<p>长按uweb浏览器底部工具条刷新按钮弹出地址栏功能选择选择“函数作图”地址栏内输入函数如sin(x)**5就可显示函数图案。</p>
<h4 id="常见问题及诊断">常见问题及诊断</h4>
<ul>
<li>确保gnuplot正确安装在Termux提示符下敲入gnuplot,然后回车,保证出现&quot;gnuplot&gt;&quot;</li>
<li>确保gnuplot正常运行, 在Termux提示符下执行下面命令<br>
<code>gnuplot -e 'set term svg;set output; plot x'</code><br>
屏幕输出应该为正常的svg文件类似html文本</li>
<li>Termux应为uweb定制包否则有一堆设定需要修改。</li>
<li>超微浏览器下长按设置按钮,勾选“标准错误输出”。再次在地址栏执行画图操作,此时浏览器会显示出错信息。</li>
<li>为保证地址栏输入函数符合gnuplot规范首个测试函数建议为&quot;x&quot;,即整个地址栏内输入为&quot;x&quot;</li>
</ul>
</div>
<p>Last Modified: 24 September 2022<br>
remove /sdcard/uweb folder<br>
<pre></pre>
</p>
<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>

92
zh/hosts.html Normal file
View File

@ -0,0 +1,92 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">加速访问国外网站
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd/index.html#">不良信息屏蔽</a> </li>
<li><a href="../tags/%e5%9b%bd%e5%a4%96%e7%bd%91%e5%9d%80/index.html#">国外网址</a> </li>
</ul>
<p>不少国外网站本身虽可访问,但由于网站需要下载其它网址的资源而导致无法访问。根域名屏蔽可屏蔽文件中域名的一切子域名、孙域名、......,从而主动排除这些网址,最终允许浏览器快速访问。</p>
<p>使用Android端<a href="../zh/">uweb浏览器</a><br>
域名文件内容如下:<br>
googleadservices.com<br>
googlesyndication.com<br>
adsense.com<br>
googleapis.com<br>
google-analytics.com<br>
googletagservices.com<br>
twitter.com<br>
facebook.com<br>
fbcdn.net</p>
<p>其它国外网址访问技巧:</p>
<ul>
<li>尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。</li>
<li>关闭网页图片</li>
</ul>
</div>
<p>Last Modified: 24 September 2022<br>
reorg for multi-languages<br>
<pre></pre>
</p>
<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>

113
zh/html5.html Normal file
View File

@ -0,0 +1,113 @@
<!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>html5应用</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">html5应用
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>mdict字典搜索引擎:<br>
<a href="../../en/bookmark/index.html">书签页面</a>可字典扫描并自动添加。<br>
长按底部右箭头弹出系统菜单=&gt;添加搜索引擎=&gt;第三行输入搜索引擎串。对于需要批量添加的用户显示主屏时可长按底部时钟按钮点击编辑器然后添加保存清后台重启生效。mdict搜索引擎串有以下两类推荐第一类</p>
<p>i:5ifile:///.../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%s</p>
<p>其中&quot;/.../xxx.mdx,xxx.mdd&quot;为词典文件全路径。</p>
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p>
<p>对于这类搜索引擎,字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。为方便文件操作,用户可<a href="../../en/bookmark/index.html">符号链接&quot;app&quot;至任意公共目录</a></p>
<p><a target="_self" href="i:0happ/txtview.html:../searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br>
<a target="_self" href="i:0happ/markdeep.html:../searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br>
<a target="_self" href="i:0happ/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>
<a target="_self" href="i:0happ/dplayer.html:../searchurl/txt/dplayer.html">点击安装dplayer视频播放器</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:../searchurl/txt/pdfviewer.html">点击安装pdf阅读器</a><br>
<a target="_self" href="i:0happ/epub.html:../searchurl/txt/epub.html">点击安装epub阅读器(作者llili)</a><br>
<a target="_self" href="i:0happ/djvu.html:../searchurl/txt/djvu.html">点击安装djvu阅读器</a><br>
相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p>
<p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p>
<p><a href="../filecap/index.html">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br>
<a target="_self" href="i:0gdefault.filecap:../searchurl/txt/filecap.cfg">点击配置pdf.js,djvu.js,epub.js,超大文件阅读器</a></p>
<p>超大文件阅读器txtview.html url如下:<br>
file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#page=[xxx]<br>
file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&amp;[length]<br>
file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#page=[xxx]<br>
file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&amp;[length]<br>
譬如&quot;#offset=10000&amp;500&quot;会访问超大文件偏移量10000处长度为500的内容。<br>
所有阅读器均支持箭头按钮(短按前进按钮或长按后退按钮)自动翻页。</p>
<p>比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。url如下:<br>
file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[绝对或相对路径].pdf#page=[xxx]<br>
则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。</p>
<p>下面是一些类似的应用:<br>
djvu.js应用的访问url如下<br>
file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=[绝对或相对路径或url].pdf#page=[xxx]</p>
<p>epub.js<br>
sampotts/plyr : video, YouTube and Vimeo player<br>
videojs/video.js<br>
bilibili/flv.js<br>
MoePlayer/DPlayer<br>
Streamedian/html5_rtsp_player<br>
MoePlayer/APlayer : music player</p>
</div>
<p>Last Modified: 20 February 2023<br>
use relative path<br>
<pre></pre>
</p>
<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>

80
zh/icons.html Normal file
View File

@ -0,0 +1,80 @@
<!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">
</ul>
<p>超微浏览器配置目录下如果存在目录&quot;icon&quot;,则此目录下的文件名为&quot;0&quot;,&quot;1&quot;,&quot;2&quot;...<br>
会作为底部工具栏图标。文件&quot;0&quot;替换原后退按钮,&quot;1&quot;为前进按钮,&quot;2&quot;为设置按钮,&quot;3&quot;为主页按钮......。</p>
<p>如果定义有新按钮(当前版本存在文件&quot;20&quot;则uweb支持向量格式图标VectorDrawable格式为compiled XML。此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</p>
<p>用户可定义任意多个按钮(100个按钮毫无压力)其短按长按功能可在文件default.button及default.button2中定义格式与文件<a href="../links">default.link</a>完全相同,每行从最后一个按钮开始重定义功能。</p>
<p>注意:刷新按钮及窗口按钮图标暂时不能重定义。</p>
</div>
<p>Last Modified: 24 September 2022<br>
reorg for multi-languages<br>
<pre></pre>
</p>
<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>

View File

@ -4,9 +4,9 @@
<meta name="generator" content="Hugo 0.124.1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/zh/index.xml" title="超微浏览器: 威、快、高效、极致优化">
<link rel="alternate" type="application/rss+xml" href="../zh/index.xml" title="超微浏览器: 威、快、高效、极致优化">
<link rel="stylesheet" href="../style.css" type="text/css" />
<link rel="stylesheet" href="../style.css#" type="text/css" />
<title>超微浏览器: 威、快、高效、极致优化</title>
<script type="text/javascript">
function findLang(){
@ -30,7 +30,7 @@
</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 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>
@ -45,17 +45,17 @@
<ul class="posts">
<li class="post">
<a href="searchurl/donate.html">
<a href="searchurl/donate.html#">
<span>请一杯咖啡,提一个要求</span>
</a>
</li>
<li class="post">
<a href="../en/changelog/index.html">
<a href="../en/changelog/index.html#">
<span>超微浏览器最新版下载及修改历史</span>
</a>
</li>
<li class="post">
<a href="readme/index.html">
<a href="readme/index.html#">
<span>超微浏览器简介</span>
</a>
</li>
@ -63,237 +63,237 @@
<li class="post">
<a href="search/index.html">
<a href="search/index.html#">
<span>浏览器多搜索引擎一键直达</span>
</a>
</li>
<li class="post">
<a href="sitemap/index.html">
<a href="sitemap/index.html#">
<span>配置总览</span>
</a>
</li>
<li class="post">
<a href="urls/index.html">
<a href="urls/index.html#">
<span>配置浏览器特色服务</span>
</a>
</li>
<li class="post">
<a href="cmds/index.html">
<a href="cmds/index.html#">
<span>配置浏览器常用命令</span>
</a>
</li>
<li class="post">
<a href="rjs/index.html">
<a href="rjs/index.html#">
<span>运行javascript脚本</span>
</a>
</li>
<li class="post">
<a href="i:61:searchurl/func.html">
<a href="i:61:searchurl/func.html#">
<span>UI</span>
</a>
</li>
<li class="post">
<a href="tvlive/index.html">
<a href="tvlive/index.html#">
<span>电视直播</span>
</a>
</li>
<li class="post">
<a href="tcron/index.html">
<a href="tcron/index.html#">
<span>定时脚本</span>
</a>
</li>
<li class="post">
<a href="redirect/index.html">
<a href="redirect/index.html#">
<span>重定向网址</span>
</a>
</li>
<li class="post">
<a href="links/index.html">
<a href="links/index.html#">
<span>常用链接</span>
</a>
</li>
<li class="post">
<a href="tips/index.html">
<a href="tips/index.html#">
<span>小技巧</span>
</a>
</li>
<li class="post">
<a href="sitejs/index.html">
<a href="sitejs/index.html#">
<span>特定网址脚本、样式、额外html及预处理</span>
</a>
</li>
<li class="post">
<a href="html5/index.html">
<a href="html5/index.html#">
<span>html5应用</span>
</a>
</li>
<li class="post">
<a href="adblock/index.html">
<a href="adblock/index.html#">
<span>信息隐藏技术总览</span>
</a>
</li>
<li class="post">
<a href="bookmarklet/index.html">
<a href="bookmarklet/index.html#">
<span>小书签</span>
</a>
</li>
<li class="post">
<a href="androidtv/index.html">
<a href="androidtv/index.html#">
<span>Android TV</span>
</a>
</li>
<li class="post">
<a href="bookmark/index.html">
<a href="bookmark/index.html#">
<span>常用书签</span>
</a>
</li>
<li class="post">
<a href="adblock_css/index.html">
<a href="adblock_css/index.html#">
<span>利用用户自定义样式屏蔽不良信息</span>
</a>
</li>
<li class="post">
<a href="textprocess/index.html">
<a href="textprocess/index.html#">
<span>操作选中(富)文本/元素</span>
</a>
</li>
<li class="post">
<a href="globalcss/index.html">
<a href="globalcss/index.html#">
<span>CSS样式</span>
</a>
</li>
<li class="post">
<a href="filenames/index.html">
<a href="filenames/index.html#">
<span>超微浏览器配置文件列表</span>
</a>
</li>
<li class="post">
<a href="filemanager/index.html">
<a href="filemanager/index.html#">
<span>文件管理器及文件挑选并批量处理</span>
</a>
</li>
<li class="post">
<a href="bc/index.html">
<a href="bc/index.html#">
<span>超级计算器(bc)</span>
</a>
</li>
<li class="post">
<a href="icons/index.html">
<a href="icons/index.html#">
<span>工具栏定制</span>
</a>
</li>
<li class="post">
<a href="logcat/index.html">
<a href="logcat/index.html#">
<span>安卓系统出错诊断</span>
</a>
</li>
<li class="post">
<a href="loadbt/index.html">
<a href="loadbt/index.html#">
<span>离线下载</span>
</a>
</li>
<li class="post">
<a href="longclick/index.html">
<a href="longclick/index.html#">
<span>长按链接弹出菜单</span>
</a>
</li>
<li class="post">
<a href="video/index.html">
<a href="video/index.html#">
<span>视频播放小窍门</span>
</a>
</li>
<li class="post">
<a href="tools/index.html">
<a href="tools/index.html#">
<span>工具汇总</span>
</a>
</li>
<li class="post">
<a href="filecap/index.html">
<a href="filecap/index.html#">
<span>利用文件预处理预览/查看/播放可下载资源</span>
</a>
</li>
<li class="post">
<a href="gesture/index.html">
<a href="gesture/index.html#">
<span>手势</span>
</a>
</li>
<li class="post">
<a href="cmd/index.html">
<a href="cmd/index.html#">
<span>一键执行预定义命令</span>
</a>
</li>
<li class="post">
<a href="searchcat/index.html">
<a href="searchcat/index.html#">
<span>分类多引擎搜索</span>
</a>
</li>
<li class="post">
<a href="hosts/index.html">
<a href="hosts/index.html#">
<span>加速访问国外网站</span>
</a>
</li>
<li class="post">
<a href="adblock_domain/index.html">
<a href="adblock_domain/index.html#">
<span>绝杀完整域名树</span>
</a>
</li>
<li class="post">
<a href="multiaccount/index.html">
<a href="multiaccount/index.html#">
<span>利用多账号登录获取资源</span>
</a>
</li>
<li class="post">
<a href="gnuplot/index.html">
<a href="gnuplot/index.html#">
<span>利用浏览器地址栏对函数作图</span>
</a>
</li>
<li class="post">
<a href="pcdown/index.html">
<a href="pcdown/index.html#">
<span>浏览器控制服务器下载资源</span>
</a>
</li>
<li class="post">
<a href="offlinecache/index.html">
<a href="offlinecache/index.html#">
<span>装载网站离线资源</span>
</a>
</li>
@ -301,23 +301,23 @@
<li class="post">
<a href="searchurl/uas.html">
<a href="searchurl/uas.html#">
<span>浏览器标识配置</span>
</a>
</li>
<li class="post">
<a href="searchurl/backup.html">
<a href="searchurl/backup.html#">
<span>备份与恢复</span>
</a>
</li>
<li class="post">
<a href="searchurl/plugins.html">
<a href="searchurl/plugins.html#">
<span>插件汇总</span>
</a>
</li>
<li class="post">
<a href="searchurl/input.html">
<a href="searchurl/input.html#">
<span>难字输入--部件檢索</span>
</a>
</li>

View File

@ -6,279 +6,279 @@
<description>Recent content on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh</language>
<lastBuildDate>Fri, 22 Mar 2024 17:34:30 +0800</lastBuildDate>
<lastBuildDate>Sun, 31 Mar 2024 11:32:29 +0800</lastBuildDate>
<atom:link href="/zh/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>电视直播</title>
<link>/zh/tvlive/</link>
<link>/zh/tvlive.html</link>
<pubDate>Wed, 06 Dec 2023 00:00:00 +0000</pubDate>
<guid>/zh/tvlive/</guid>
<guid>/zh/tvlive.html</guid>
<description>直播源 直播源网址前面加上前缀&amp;quot;i:0/js/2lnk.js:i:5g&amp;quot;就可将任一直播源转换成直播网页。其中前缀 &amp;quot;i:0/js/2lnk.js:&amp;quot; 对网页使用应用assets内置小书签&amp;quot;/js/2lnk.js&amp;quot;转换直播源,&amp;quot;i:0&amp;quot;中的&amp;quot;0&amp;quot;表示此功能更改了网页原来的展示,有潜在的安全威胁,需用户明确同意(比如通过安装为菜单,书签,对话框确认等方式)。前缀&amp;quot;i:5g&amp;quot;强迫网址以文本方式展示部分直播源以m3u为后缀不能省略前缀&amp;quot;i:5g&amp;quot;。&#xA;YanG-1989/m3u&#xA;频道 CCTV1&#xA;CCTV2财经&#xA;CCTV4国际&#xA;CCTV5体育&#xA;CCTV6电影&#xA;CCTV7军农&#xA;CCTV8电视剧&#xA;CCTV10科教&#xA;CCTV11戏曲&#xA;CCTV12社会与法&#xA;CCTV13新闻&#xA;CCTV15少儿&#xA;CCTV17农村&#xA;万州综合频道&#xA;万州三峡移民&#xA;龙岩综合频道&#xA;三明综合频道&#xA;三明公共频道&#xA;敦煌综合频道&#xA;河源综合频道&#xA;河源公共频道&#xA;黔东南综合频道&#xA;沧州三套节目&#xA;电视模式:配置直播源 文件&amp;quot;engine.search&amp;quot;为自动顺序搜索引擎列表文件,其格式与主屏搜索引擎文件&amp;quot;home5.search&amp;quot;类似。如果将其中的搜索引擎url以视频url代替。此时浏览器会将“engine.search”作为视频直播频道列表文件浏览器进入电视模式启动就会全屏播放。</description>
</item>
<item>
<title>定时脚本</title>
<link>/zh/tcron/</link>
<link>/zh/tcron.html</link>
<pubDate>Thu, 23 Nov 2023 00:00:00 +0000</pubDate>
<guid>/zh/tcron/</guid>
<guid>/zh/tcron.html</guid>
<description>crontab 注意1. 必须使用单一空格作为分割符。&#xA;2. 必须同时满足日期及星期的要求功能增强crontab标准只要求满足其中一个要求。&#xA;文件&amp;quot;crontab&amp;quot;每行第六部分可为url或内部链接也可为&amp;quot;c:&amp;quot;通知termux执行后面命令; &amp;quot;!&amp;quot;直接执行命令。其余格式一律作为闹钟提醒时的伴随消息。&#xA;文件&amp;quot;crontab&amp;quot;自动签到例子:&#xA;5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn&#xA;7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan&#xA;6 9 * * * i:a1http://m.bookschina.com/UserCenter/SignInApi?action=SignIn&#xA;8 9 * * * i:a1http://m.bookschina.com/UserCenter/SignInAward?index=1&#xA;其中&amp;quot;i:a1&amp;quot;为对url发起&amp;quot;post&amp;quot;请求。&#xA;tcron 如果勾选“文件预处理”则uweb启动时运行&amp;quot;default.rc&amp;quot; shell脚本。可与tcron定时管&#xA;理工具(安装tcron)配合运行定时任务,如存储清理、网页签到等。&#xA;勾选“文件预处理”的情况下,如果存在文件&amp;quot;default.rc2&amp;quot;,则在超微浏览器成为前台时,此文件代码被执行。在超微永不退出的情况下,&amp;quot;default.rc&amp;quot;将没有任何执行机会,而&amp;quot;default.rc2&amp;quot;保证即使超微长时间不重启,定时脚本仍可以执行。&#xA;usage: tcron logfile command hours [timezone delay_sec elsecommand]&#xA;指定时间范围内如果命令没有被执行过则tcron会执行一次命令。&#xA;其中logfile可以不记录任何log成功执行命令以后只需更新一下改动时间即可。&#xA;hours: 如果为正整数,则将每天划分为不同的时间区间(单位小时),每个区间命令只能执行一次。如果为负整数,则取绝对值,并且单位为分钟,保证下一次执行至少间隔这么多分钟。&#xA;hours也可以为&amp;quot;hh:mm-hh:mm,...&amp;quot;格式, 譬如&amp;quot;6:00-8:30,11:00-13:00,5:30-6:30&amp;quot;为每天三餐时间脚本执行一次。&#xA;timezone: 时区譬如“8”表示北京时间。(默认为8)&#xA;delay_sec: 等待指定秒数后再执行命令,防止命令被集中执行。&#xA;elsecommand: 无需执行命令command时执行。&#xA;ex:&#xA;set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin&#xA;#天翼云每天签到一次&#xA;tcron /sdcard/a &amp;quot;cloudpan189-go sign;toybox touch /sdcard/a&amp;quot; 24&#xA;#每30天清空baidu目录</description>
</item>
<item>
<title>重定向网址</title>
<link>/zh/redirect/</link>
<link>/zh/redirect.html</link>
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/zh/redirect/</guid>
<description>全局重定向 长按设置,选中&amp;quot;自定义资源重定向&amp;quot;。此时如果全局重定向url为有效网址则所有网络访问被内部重定向至url: &amp;quot;[全局重定向url]+[原始url]&amp;quot;。&#xA;Example: &amp;quot;https://loud-moth-21.deno.dev/&amp;quot;&#xA;使用仓库&amp;quot;https://github.com/torappinfo/fetch&amp;quot;入口&amp;quot;deno.js&amp;quot;部署Deno&#xA;创建免费魔法重定向,说明类似但代码不同&#xA;cloudflare workers 全局重定向代码&#xA;vercel 全局重定向&#xA;重定向文件 &amp;quot;default.redirect&amp;quot; (仅在无有效全局重定向url时生效) 点击添加google recaptcha国内镜像&#xA;使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。&#xA;其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。&#xA;本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。&#xA;配置default.redirect:&#xA;文件每一行格式为:&#xA;域名:正则表达式:替换表达式&#xA;其中正则表达式以java语言规定为准表达式中不能包含&#39;:&#39;。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用但域名会允许CORS跨域访问 (目前仅对&amp;quot;GET&amp;quot; request生效)。&#xA;例子文件内容如下:&#xA;developer.android.com::developer.android.google.cn&#xA;四种使用重定向的方法:&#xA;长按链接&#xA;添加文件&amp;quot;国内镜像.js&amp;quot;至&amp;quot;longclick&amp;quot;目录下。&#xA;文件内容如下:&#xA;//e:%u 其中&amp;quot;e:&amp;quot;为uweb特殊url协议意为&amp;quot;edit&amp;quot;,即&amp;quot;编辑&amp;quot;。当后面紧跟url网址的情况下会重定向网址。&#xA;重启uweb后长按链接弹出菜单选&amp;quot;国内镜像&amp;quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。&#xA;长按工具条图像按钮。&#xA;长按设置,选中&amp;quot;自定义重定向&amp;quot;。&#xA;长按设置,选中&amp;quot;自定义资源重定向&amp;quot;。此选项除访问url重定向之外还可重定向网页中一切资源。&#xA;更多重定向网址:&#xA;www.bilibili.com::www.ibilibili.com&#xA;pan.baidu.com::pan.baiduwp.com&#xA;www.docin.com::www.docin365.com&#xA;wenku.baidu.com::wenku.baiduvvv.com&#xA;detail.tmall.com::detail.tmallvvv.com&#xA;detail.m.tmall.com::detail.m.tmallvvv.com&#xA;item.taobao.com::item.taobaovvv.com&#xA;h5.m.taobao.com::h5.m.taobaovvv.com&#xA;jd.com::jdvvv.com&#xA;item.yhd.com::item.yhdvvv.com&#xA;goods.kaola.com::goods.kaolavvv.com&#xA;product.dangdang.com::product.dangdangvvv.com&#xA;item.gome.com.cn::item.gomevvv.com.cn</description>
<guid>/zh/redirect.html</guid>
<description>全局重定向 长按设置,选中&amp;quot;自定义资源重定向&amp;quot;。此时如果全局重定向url为有效网址则所有网络访问被内部重定向至url: &amp;quot;[全局重定向url]+[原始url]&amp;quot;。&#xA;Example: &amp;quot;https://loud-moth-21.deno.dev/&amp;quot;&#xA;使用仓库 &amp;quot;https://github.com/torappinfo/fetch&amp;quot; 入口&amp;quot;deno.js&amp;quot; 部署Deno&#xA;创建免费重定向,说明类似但代码不同&#xA;cloudflare workers 全局重定向代码&#xA;vercel 全局重定向&#xA;重定向文件 &amp;quot;default.redirect&amp;quot; (仅在无有效全局重定向url时生效) 点击添加google recaptcha国内镜像&#xA;使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。&#xA;其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。&#xA;本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。&#xA;配置default.redirect:&#xA;文件每一行格式为:&#xA;域名:正则表达式:替换表达式&#xA;其中正则表达式以java语言规定为准表达式中不能包含&#39;:&#39;。正则表达式为空时系统默认为与域名相同。正则表达式,替换表达式同时为空时无重定向作用但域名会允许CORS跨域访问 (目前仅对&amp;quot;GET&amp;quot; request生效)。&#xA;例子文件内容如下:&#xA;developer.android.com::developer.android.google.cn&#xA;四种使用重定向的方法:&#xA;长按链接&#xA;添加文件&amp;quot;国内镜像.js&amp;quot;至&amp;quot;longclick&amp;quot;目录下。&#xA;文件内容如下:&#xA;//e:%u 其中&amp;quot;e:&amp;quot;为uweb特殊url协议意为&amp;quot;edit&amp;quot;,即&amp;quot;编辑&amp;quot;。当后面紧跟url网址的情况下会重定向网址。&#xA;重启uweb后长按链接弹出菜单选&amp;quot;国内镜像&amp;quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。&#xA;长按工具条图像按钮。&#xA;长按设置,选中&amp;quot;自定义重定向&amp;quot;。&#xA;长按设置,选中&amp;quot;自定义资源重定向&amp;quot;。此选项除访问url重定向之外还可重定向网页中一切资源。&#xA;更多重定向网址:&#xA;www.bilibili.com::www.ibilibili.com&#xA;pan.baidu.com::pan.baiduwp.com&#xA;www.docin.com::www.docin365.com&#xA;wenku.baidu.com::wenku.baiduvvv.com&#xA;detail.tmall.com::detail.tmallvvv.com&#xA;detail.m.tmall.com::detail.m.tmallvvv.com&#xA;item.taobao.com::item.taobaovvv.com&#xA;h5.m.taobao.com::h5.m.taobaovvv.com&#xA;jd.com::jdvvv.com&#xA;item.yhd.com::item.yhdvvv.com&#xA;goods.kaola.com::goods.kaolavvv.com&#xA;product.dangdang.com::product.dangdangvvv.com&#xA;item.gome.com.cn::item.gomevvv.com.cn</description>
</item>
<item>
<title>常用链接</title>
<link>/zh/links/</link>
<link>/zh/links.html</link>
<pubDate>Mon, 10 Apr 2023 00:00:00 +0000</pubDate>
<guid>/zh/links/</guid>
<guid>/zh/links.html</guid>
<description>点击以下链接可安装至常用链接:&#xA;长截屏 (需长截屏模式)&#xA;VPN&#xA;showCookie&#xA;wireless&#xA;显示网站安全证书&#xA;上传坚果云&#xA;更多 webdav ...&#xA;迅雷盘离线&#xA;网页全屏&#xA;点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等&#xA;点击安装离线下载(pcloud,furk,微云等)&#xA;uweb浏览器中长按书签按钮可弹出常用链接菜单这些链接定义在文件&amp;quot;default.link&amp;quot;中,改动过的文件清后台重启动后生效。每行格式如下:&#xA;[菜单名]:[url][空格][javascript脚本]&#xA;其中空格及之后的脚本为可选项。url及之后的脚本支持&amp;quot;%u&amp;quot;,&amp;quot;%s&amp;quot;等替换。&#xA;脚本将在链接访问结束时自动执行。&#xA;url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&amp;quot;:&amp;quot;为链接第二个字符)及特殊链接(&amp;quot;:&amp;quot;为链接首字符)。&#xA;不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明:&#xA;.js文件(同长按链接运行js文件): 首行前两个字符为&amp;quot;//&amp;quot;者,超微将打开&amp;quot;//&amp;quot;后面的目标网址并执行此文件代码,目标网址支持&amp;quot;%u&amp;quot;,&amp;quot;%s&amp;quot;等替换。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。&#xA;default.gesture及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。&#xA;各类代理配置如下:&#xA;httpproxy::010[proxy host]:[port]&#xA;socks5::011[socks host]:[port]&#xA;noproxy::010:&#xA;&amp;quot;:&amp;quot;为首字符特殊链接 :0001&#xA;自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)&#xA;:0003&#xA;切换全屏模式&#xA;:0004&#xA;屏幕旋转&#xA;:001[fileurl]&#xA;加入媒体库&#xA;:010[proxy host]:[port]&#xA;设置http代理, &amp;quot;:010:&amp;quot;禁用代理。&#xA;:011[socks host]:[port]&#xA;socks代理&#xA;&amp;quot;i:&amp;quot;内部链接: i:0m[bookmarklet index|prefix|c[cssFlag]]:[url]&#xA;将url作为网站访问[bookmarklet index]至少占两个字符。&#xA;c[cssFlag]: For example, &amp;quot;c12&amp;quot; will apply the third and fourth global CSS (12=2^2+2^3). All other cases will be treated as prefix, the real visited url is &amp;quot;[prefix]+url&amp;quot;.</description>
</item>
<item>
<title>小技巧</title>
<link>/zh/tips/</link>
<link>/zh/tips.html</link>
<pubDate>Sat, 04 Mar 2023 00:00:00 +0000</pubDate>
<guid>/zh/tips/</guid>
<guid>/zh/tips.html</guid>
<description>免魔法国内直接使用系列&#xA;使用重定向访问国外技术网址&#xA;google翻译&#xA;目录配置及使用外部文件管理器&#xA;超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。&#xA;准确显示PC网页:&#xA;PC模式 + 勾选选项&amp;quot;宽屏显示&amp;quot; + 全局脚本&amp;quot;强制缩放&amp;quot;。&#xA;多主屏:&#xA;home5.html为自定义主屏home6.html, home6.search, home7.html ...为多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。&#xA;自动翻页&#xA;长按后退按钮自动往前翻页(主屏上长按后退出现-1屏,-2屏...,短按前进按钮+1屏,+2屏...),长按前进按钮弹出系统菜单。&#xA;配置临时修改&#xA;配置后如果没有正常退出或转入后台的话,超微不会自动保存设置更改,此时如果清后台强制退出,下次启动超微会使用原有配置。&#xA;临时恢复UA (user agent)至android默认浏览器&#xA;UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA状态下次启动浏览器时恢复到原有UA。这样用户可常用一些有力的UA配置仅偶尔使用默认配置无需反复切换。&#xA;快速编辑文件&#xA;在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。&#xA;配置文件列表中直接点击文件名即可编辑。</description>
</item>
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>/zh/sitejs/</link>
<link>/zh/sitejs.html</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<guid>/zh/sitejs.html</guid>
<description>技巧等级:中级&#xA;脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html及预处理 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 长按窗口按钮,勾选“网址附加内容”。 额外html可以以&amp;quot;&amp;lt;textarea&amp;gt;&amp;quot;或&amp;quot;&amp;lt;div&amp;gt;&amp;lt;textarea&amp;gt;&amp;quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。&#xA;文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>浏览器多搜索引擎一键直达</title>
<link>/zh/search/</link>
<link>/zh/search.html</link>
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/zh/search/</guid>
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。&#xA;AI引擎&#xA;gitcode:https://gitcode.com/search?val=&#xA;gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s&#xA;镜像:&#xA;google:i:0mhttps://loud-moth-21.deno.dev/:https://google.com/search?q=%s&#xA;推荐引擎(将下面文本添加到home5.search中)&#xA;顺序:i:40%s_00&#xA;apkdl:https://apkdl.in/app/search?q=&#xA;apkbog:https://www.apkbog.com/en/apks/search/&#xA;知乎:https://www.zhihu.com/search?type=content&amp;amp;q=&#xA;bilibili:https://m.bilibili.com/search?keyword=&#xA;抖音:https://www.douyin.com/search/%s?source=normal_search&#xA;高德地图:https://ditu.amap.com/search?query=&#xA;京东:https://search.jd.com/Search?enc=utf-8&amp;amp;keyword=&#xA;淘宝:https://taobao.com/search?q=&#xA;苏宁:https://m.suning.com/search/%s/&#xA;拼多多:http://mobile.yangkeduo.com/search_result.html?search_key=&#xA;优惠券:http://mall.yhm11.com/index.php?r=l&amp;amp;kw=&#xA;百度图片:http://image.baidu.com/search/index?tn=baiduimage&amp;amp;word=&#xA;bing图片:http://bing.com/images/search?q=&#xA;搜狗表情:https://pic.sogou.com/pic/emo/searchList.jsp?keyword=&#xA;微信:https://weixin.sogou.com/weixin?type=2&amp;amp;s_from=input&amp;amp;query=&#xA;大百科全书:http://h.bkzx.cn/search?sublibId=2&amp;amp;query=&#xA;wolfram:https://www.wolframalpha.com/input/?i=&#xA;bookmarkearth:https://www.bookmarkearth.com/s/search?q=&#xA;答案答案:https://daandaan.com/search?q=&#xA;问答库:https://m.asklib.com/s/&#xA;ACG:http://www.acgsou.com/?bound=content&amp;amp;local=1&amp;amp;keyword=&#xA;动漫花园:https://share.dmhy.org/topics/list?keyword=&#xA;末日动漫:https://share.acgnx.se/search.php?keyword=&#xA;慢慢买:http://s.manmanbuy.com/default.aspx?key=&#xA;购物党:https://gwdang.com/search?s_product=&#xA;快搜比价:https://ks.pconline.com.cn/product.shtml?q=&#xA;比一比价:http://www.b1bj.com/s.aspx?key=&#xA;盒子比价:http://www.boxz.com/search/&#xA;buzz:https://search.buzz.im/?search=&#xA;toplinks:https://www.toplinks.cc/s/?keyword=&#xA;顺序搜索需文件engine.search格式与home5.search相同但其中url关键词部分必须用“%s”标识。用此引擎搜索的网页按前进键自动用下一引擎搜索。&#xA;除了批量添加引擎外,超微可以将任意支持搜索的网址添加为搜索引擎。方法如下:&#xA;访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&amp;quot;添加为搜索引擎&amp;quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&amp;quot;&amp;amp;&amp;quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:&#xA;google:https://google.com/search?q=&#xA;必应:https://www.bing.com/search?q=&#xA;百度:https://m.baidu.com/s?wd=&#xA;Fsou:https://fsoufsou.com/search?q=&#xA;seekr:https://www.seekr.com/search?query=&#xA;sese:https://sese.yyj.moe/search?q=&#xA;you:https://you.com/search?q=&#xA;神马:http://m.sm.cn/s?q=&#xA;夸克AI:https://quark.sm.cn/s?q=&#xA;无追:https://www.wuzhuiso.com/s?q=&#xA;360:http://www.so.com/s?q=&#xA;搜狗:https://m.sogou.com/web?query=&#xA;ecosia:https://www.ecosia.org/search?q=&#xA;萌搜:https://mengso.com/search?q=&#xA;头条:https://m.toutiao.com/search/?keyword=&#xA;magi:https://magi.com/search?q=&#xA;Lookao:https://lookao.com/search?q=&#xA;answers:https://www.answers.com/search?q=&#xA;1907:https://im1907.top/?jx=&#xA;影视:https://cupfox.app/search?key=&#xA;libvio:https://libvio.me/search/-------------.html?wd=&#xA;努努影院:https://www.nunuyy.top/so/%s---.html&#xA;louk:https://www.louk.cn/vodsearch/-------------.html?wd=&#xA;4444影视:http://k.4444.li/search.php?searchword=&#xA;nfmovies:https://www.nfmovies.com/search.php?searchword=&#xA;电影狗:https://www.dianyinggou.com/so/</description>
<guid>/zh/search.html</guid>
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。&#xA;AI引擎&#xA;gitcode:https://gitcode.com/search?val=&#xA;metaso:https://metaso.cn/?q=&#xA;360AI:https://so.360.com/s?q=&#xA;gc-copilot:i:0/js/hash2textarea.js:https://gitcode.com/ai-copilot/#%s&#xA;tiangong:i:0/js/hash2textarea.js:https://beta.tiangong.cn/#%s&#xA;xunfei:i:0/js/hash2textarea.js:https://xinghuo.xfyun.cn/desk#%s&#xA;chatglm:i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s&#xA;doubao:i:0/js/hash2textarea.js:https://www.doubao.com/chat/#%s&#xA;baichuan:i:0/js/hash2textarea.js:https://www.baichuan-ai.com/chat#%s&#xA;镜像:&#xA;google:i:0mhttps://loud-moth-21.deno.dev/:https://google.com/search?q=%s&#xA;推荐引擎(将下面文本添加到home5.search中)&#xA;顺序:i:40%s_00&#xA;apkdl:https://apkdl.in/app/search?q=&#xA;apkbog:https://www.apkbog.com/en/apks/search/&#xA;知乎:https://www.zhihu.com/search?type=content&amp;amp;q=&#xA;bilibili:https://m.bilibili.com/search?keyword=&#xA;抖音:https://www.douyin.com/search/%s?source=normal_search&#xA;高德地图:https://ditu.amap.com/search?query=&#xA;京东:https://search.jd.com/Search?enc=utf-8&amp;amp;keyword=&#xA;淘宝:https://taobao.com/search?q=&#xA;苏宁:https://m.suning.com/search/%s/&#xA;拼多多:http://mobile.yangkeduo.com/search_result.html?search_key=&#xA;优惠券:http://mall.yhm11.com/index.php?r=l&amp;amp;kw=&#xA;百度图片:http://image.baidu.com/search/index?tn=baiduimage&amp;amp;word=&#xA;bing图片:http://bing.com/images/search?q=&#xA;搜狗表情:https://pic.sogou.com/pic/emo/searchList.jsp?keyword=&#xA;微信:https://weixin.sogou.com/weixin?type=2&amp;amp;s_from=input&amp;amp;query=&#xA;大百科全书:http://h.bkzx.cn/search?sublibId=2&amp;amp;query=&#xA;wolfram:https://www.wolframalpha.com/input/?i=&#xA;bookmarkearth:https://www.bookmarkearth.com/s/search?q=&#xA;答案答案:https://daandaan.com/search?q=&#xA;问答库:https://m.asklib.com/s/&#xA;ACG:http://www.acgsou.com/?bound=content&amp;amp;local=1&amp;amp;keyword=&#xA;动漫花园:https://share.dmhy.org/topics/list?keyword=&#xA;末日动漫:https://share.acgnx.se/search.php?keyword=&#xA;慢慢买:http://s.manmanbuy.com/default.aspx?key=&#xA;购物党:https://gwdang.com/search?s_product=&#xA;快搜比价:https://ks.pconline.com.cn/product.shtml?q=&#xA;比一比价:http://www.b1bj.com/s.aspx?key=&#xA;盒子比价:http://www.boxz.com/search/&#xA;buzz:https://search.buzz.im/?search=&#xA;toplinks:https://www.toplinks.cc/s/?keyword=&#xA;顺序搜索需文件engine.search格式与home5.search相同但其中url关键词部分必须用“%s”标识。用此引擎搜索的网页按前进键自动用下一引擎搜索。&#xA;除了批量添加引擎外,超微可以将任意支持搜索的网址添加为搜索引擎。方法如下:&#xA;访问网站并搜索。 按菜单键,没有的话可长按底部工具条前进按钮弹出菜单。 选择&amp;quot;添加为搜索引擎&amp;quot;,对话框中将出现的地址适当编辑。不少网址后半部分为用&amp;quot;&amp;amp;&amp;quot;分割的等式,将包含搜索条目的等式移动到最后,删除搜索条目本身,其余等式可删可留。若无等式,一般在网址中直接删除搜索条目本身即可。 常用引擎,供用户查漏添加:&#xA;google:https://google.com/search?q=&#xA;必应:https://www.bing.com/search?q=&#xA;必应CN:https://cn.bing.com/search?q=&#xA;百度:https://m.baidu.com/s?wd=&#xA;Fsou:https://fsoufsou.com/search?q=&#xA;seekr:https://www.seekr.com/search?query=&#xA;sese:https://sese.yyj.moe/search?q=&#xA;you:https://you.com/search?q=&#xA;神马:http://m.sm.cn/s?q=&#xA;夸克AI:https://quark.sm.cn/s?q=&#xA;无追:https://www.wuzhuiso.com/s?q=&#xA;360:http://www.so.com/s?q=&#xA;搜狗:https://m.sogou.com/web?query=&#xA;ecosia:https://www.ecosia.org/search?q=&#xA;萌搜:https://mengso.com/search?q=&#xA;头条:https://m.toutiao.com/search/?keyword=&#xA;magi:https://magi.com/search?q=&#xA;Lookao:https://lookao.com/search?q=&#xA;answers:https://www.answers.com/search?q=</description>
</item>
<item>
<title>html5应用</title>
<link>/zh/html5/</link>
<link>/zh/html5.html</link>
<pubDate>Wed, 27 Jul 2022 00:00:00 +0000</pubDate>
<guid>/zh/html5/</guid>
<guid>/zh/html5.html</guid>
<description>mdict字典搜索引擎:&#xA;书签页面可字典扫描并自动添加。&#xA;长按底部右箭头弹出系统菜单=&amp;gt;添加搜索引擎=&amp;gt;第三行输入搜索引擎串。对于需要批量添加的用户显示主屏时可长按底部时钟按钮点击编辑器然后添加保存清后台重启生效。mdict搜索引擎串有以下两类推荐第一类&#xA;i:5ifile:///.../xxx.mdx,xxx.mdd?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%s&#xA;其中&amp;quot;/.../xxx.mdx,xxx.mdd&amp;quot;为词典文件全路径。&#xA;i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s&#xA;对于这类搜索引擎,字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。为方便文件操作,用户可符号链接&amp;quot;app&amp;quot;至任意公共目录。&#xA;点击安装超大文件阅读器支持txt, html, markdown&#xA;点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等&#xA;点击安装plyr视频播放器&#xA;点击安装dplayer视频播放器&#xA;点击安装pdf阅读器&#xA;点击安装epub阅读器(作者llili)&#xA;点击安装djvu阅读器&#xA;相应的菜单安装可见浏览器特色服务&#xA;超微配置目录下的子目录名如果以&amp;quot;app&amp;quot;开始(譬如&amp;quot;appPDF&amp;quot;),则这些&amp;quot;app&amp;quot;开头目录树下放置的html5应用将可获得功能增强。&#xA;配置default.filecap并打开选项“文件预处理”清后台重启浏览器后超微可直接阅读应用对应格式文件。&#xA;点击配置pdf.js,djvu.js,epub.js,超大文件阅读器&#xA;超大文件阅读器txtview.html url如下:&#xA;file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#page=[xxx]&#xA;file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&amp;amp;[length]&#xA;file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#page=[xxx]&#xA;file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&amp;amp;[length]&#xA;譬如&amp;quot;#offset=10000&amp;amp;500&amp;quot;会访问超大文件偏移量10000处长度为500的内容。&#xA;所有阅读器均支持箭头按钮(短按前进按钮或长按后退按钮)自动翻页。&#xA;比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。url如下:&#xA;file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[绝对或相对路径].pdf#page=[xxx]&#xA;则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。&#xA;下面是一些类似的应用:&#xA;djvu.js应用的访问url如下&#xA;file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=[绝对或相对路径或url].pdf#page=[xxx]&#xA;epub.js&#xA;sampotts/plyr : video, YouTube and Vimeo player&#xA;videojs/video.js&#xA;bilibili/flv.js&#xA;MoePlayer/DPlayer&#xA;Streamedian/html5_rtsp_player&#xA;MoePlayer/APlayer : music player</description>
</item>
<item>
<title>配置总览</title>
<link>/zh/sitemap/</link>
<link>/zh/sitemap.html</link>
<pubDate>Wed, 27 Jul 2022 00:00:00 +0000</pubDate>
<guid>/zh/sitemap/</guid>
<guid>/zh/sitemap.html</guid>
<description>检测并下载最新版&#xA;界面配置 搜索引擎 主页 快速访问 界面配置及杂项 (gitee镜像) 备份与恢复 个性化 工具条按钮长按菜单 浏览器标识 js脚本 常用服务 常用链接 常用命令 远程脚本 选中文本类菜单 长按链接弹出菜单 底部工具条定制 手势 高级个性化定制 高级设置 内容类 信息隐藏 CSS样式 重定向 特定网址用户脚本及样式 网站离线资源 工具应用类 小书签 定时脚本 文件预处理 html5应用 文件管理器 工具汇总 终端应用及Termux 超级计算器 函数作图 离线下载 输入法辅助 部件检索 综合 配置文件列表 插件 使用技巧 使用攻略 使用技巧 视频 安卓系统出错诊断 </description>
</item>
<item>
<title>配置浏览器特色服务</title>
<link>/zh/urls/</link>
<link>/zh/urls.html</link>
<pubDate>Tue, 28 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/urls/</guid>
<description>超微浏览器下点击配置链接可自动添加特色服务,强制清空后台重启后长按图像按钮可用。&#xA;配置文件&amp;quot;default.urls&amp;quot;如下:&#xA;自动全屏播放:i:5f&#xA;重定向/编辑:e:&#xA;保存地址栏提示:i:51:&#xA;书签:i:52:&#xA;笔记:i:53:&#xA;保存为搜索引擎:i:54:&#xA;添加至链接:i:55:&#xA;保存到桌面:i:58&#xA;媒体扫描单文件::001&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=/download 兼容模式:i:5d&#xA;历史价格:http://www.hisprice.cn/his.php?hisurl=&#xA;历史价格2:http://p.zwjhl.com/price.aspx?url=&#xA;vveby:https://www.vveby.com/search?keyword=&#xA;慢慢买:http://tool.manmanbuy.com/historyLowest.aspx?url=&#xA;过客比价:http://www.tool168.cn/?m=history&amp;amp;a=view&amp;amp;k=&#xA;历史价格3:http://www.xitie.com/s.php?no=&#xA;买买买:https://just998.com/price?url=&#xA;网页快照:https://his.sh/&#xA;有道翻译:http://webtrans.yodao.com/webTransPc/index.html?from=auto&amp;amp;to=zh-CHS&amp;amp;type=1&amp;amp;url=&#xA;搜狗翻译:http://translate.sogoucdn.com/pcvtsnapshot?to=zh-CHS&amp;amp;tfr=translatepc&amp;amp;url=&#xA;papago翻译:https://papago.naver.net/website?locale=en&amp;amp;source=en&amp;amp;target=zh-CN&amp;amp;url=&#xA;google翻译:https://translate.google.com/translate?sl=auto&amp;amp;tl=zh&amp;amp;u=&#xA;网址工具:https://wn.run/&#xA;查看源码:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;google识图:https://www.google.com/searchbyimage?image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex图片:https://yandex.com/images/search?text=&#xA;Yandex识图:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=&#xA;ascii2d:https://ascii2d.net/search/url/&#xA;trace.moe:https://trace.moe/?url=&#xA;saucenao:https://saucenao.com/search.php?url=&#xA;搜狗识图:https://pic.sogou.com/pics?query=&#xA;360识图:https://image.so.com/i?q=&#xA;Add to Feedly:https://feedly.com/i/subscription/feed/&#xA;Video download:https://tbvd.herokuapp.com/redirect?url=&#xA;Audio download:https://tbvd.herokuapp.com/video?audio=on&amp;amp;url=&#xA;Site analyzer:https://www.similarweb.com/website/&#xA;Site buildwith:https://builtwith.com/?&#xA;instapaper:https://www.instapaper.com/text?u=&#xA;xdocin:https://view.xdocin.com/view?src=&#xA;google docs:http://docs.google.com/gview?embedded=true&amp;amp;url=&#xA;其中&amp;quot;重定向&amp;quot;由文件default.redirect配置&amp;quot;file://&amp;quot;重定向将调用合适编辑器编辑文件。&#xA;适合向TV端发送TV端需先执行“等待接收...”)&#xA;发送url/file:i:5j&#xA;发送url(播放器):i:5ji:5p&#xA;发送url(书签):i:5ji:52../home5:&#xA;发送url(剪贴板):i:5ji:5b&#xA;发送url(全屏播放):i:5ji:5f&#xA;发送url(书签全屏):i:5ji:52../home5:i:5f&#xA;发送url(整网全屏):i:5ji:0mi:5f:&#xA;发送url(只显视频):i:5ji:0mc16:&#xA;发送url(书签整网全屏):i:5ji:52../home5:i:0mi:5f:</description>
<guid>/zh/urls.html</guid>
<description>超微浏览器下点击配置链接可自动添加特色服务,强制清空后台重启后长按图像按钮可用。&#xA;配置文件&amp;quot;default.urls&amp;quot;如下:&#xA;自动全屏播放:i:5f&#xA;重定向/编辑:e:&#xA;保存地址栏提示:i:51:&#xA;书签:i:52:&#xA;笔记:i:53:&#xA;保存为搜索引擎:i:54:&#xA;添加至链接:i:55:&#xA;保存到桌面:i:58&#xA;媒体扫描单文件::001&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=../download 兼容模式:i:5d&#xA;历史价格:http://www.hisprice.cn/his.php?hisurl=&#xA;历史价格2:http://p.zwjhl.com/price.aspx?url=&#xA;vveby:https://www.vveby.com/search?keyword=&#xA;慢慢买:http://tool.manmanbuy.com/historyLowest.aspx?url=&#xA;过客比价:http://www.tool168.cn/?m=history&amp;amp;a=view&amp;amp;k=&#xA;历史价格3:http://www.xitie.com/s.php?no=&#xA;买买买:https://just998.com/price?url=&#xA;网页快照:https://his.sh/&#xA;有道翻译:http://webtrans.yodao.com/webTransPc/index.html?from=auto&amp;amp;to=zh-CHS&amp;amp;type=1&amp;amp;url=&#xA;搜狗翻译:http://translate.sogoucdn.com/pcvtsnapshot?to=zh-CHS&amp;amp;tfr=translatepc&amp;amp;url=&#xA;papago翻译:https://papago.naver.net/website?locale=en&amp;amp;source=en&amp;amp;target=zh-CN&amp;amp;url=&#xA;google翻译:https://translate.google.com/translate?sl=auto&amp;amp;tl=zh&amp;amp;u=&#xA;网址工具:https://wn.run/&#xA;查看源码:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;google识图:https://www.google.com/searchbyimage?image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex图片:https://yandex.com/images/search?text=&#xA;Yandex识图:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=&#xA;ascii2d:https://ascii2d.net/search/url/&#xA;trace.moe:https://trace.moe/?url=&#xA;saucenao:https://saucenao.com/search.php?url=&#xA;搜狗识图:https://pic.sogou.com/pics?query=&#xA;360识图:https://image.so.com/i?q=&#xA;Add to Feedly:https://feedly.com/i/subscription/feed/&#xA;Video download:https://tbvd.herokuapp.com/redirect?url=&#xA;Audio download:https://tbvd.herokuapp.com/video?audio=on&amp;amp;url=&#xA;Site analyzer:https://www.similarweb.com/website/&#xA;Site buildwith:https://builtwith.com/?&#xA;instapaper:https://www.instapaper.com/text?u=&#xA;xdocin:https://view.xdocin.com/view?src=&#xA;google docs:http://docs.google.com/gview?embedded=true&amp;amp;url=&#xA;其中&amp;quot;重定向&amp;quot;由文件default.redirect配置&amp;quot;file://&amp;quot;重定向将调用合适编辑器编辑文件。&#xA;适合向TV端发送TV端需先执行“等待接收...”)&#xA;发送url/file:i:5j&#xA;发送url(播放器):i:5ji:5p&#xA;发送url(书签):i:5ji:52../home5:&#xA;发送url(剪贴板):i:5ji:5b&#xA;发送url(全屏播放):i:5ji:5f&#xA;发送url(书签全屏):i:5ji:52../home5:i:5f&#xA;发送url(整网全屏):i:5ji:0mi:5f:&#xA;发送url(只显视频):i:5ji:0mc16:&#xA;发送url(书签整网全屏):i:5ji:52../home5:i:0mi:5f:</description>
</item>
<item>
<title>信息隐藏技术总览</title>
<link>/zh/adblock/</link>
<link>/zh/adblock.html</link>
<pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/adblock/</guid>
<guid>/zh/adblock.html</guid>
<description>总体来说,分为手动控制和针对特定网站的规则两大类办法。手动控制可以保存为网站配置从而自动化。&#xA;双正则表达式根域名隐藏。&#xA;可使用列出外部脚本小书签生成外部js文件列表长按可疑链接一般为域名不同的外链执行“屏蔽根域名”。 针对特定网站的脚本样式。&#xA;长按底部工具栏&amp;quot;js&amp;quot;按钮,执行&amp;quot;标记不良元素&amp;quot;菜单命令点击页面元素会弹出对话框显示元素及祖先所有属性并生成css屏蔽代码。默认使用“display:none”屏蔽但如果上述显示属性中出现过&amp;quot;display&amp;quot;,则建议使用&amp;quot;transform:scale(0)!important&amp;quot;屏蔽。 长按底部工具栏窗口管理按钮,选取&amp;quot;仅显示图片&amp;quot;或&amp;quot;仅显示视频&amp;quot;,图片视频网站彻底干净。选取&amp;quot;禁用伪元素&amp;quot;,&amp;quot;禁用iframe&amp;quot;。更多可参看自定义样式。&#xA;保存书签时可在网址前面添加&amp;quot;i:0mc32:&amp;quot;,则整个网址树自动采用&amp;quot;仅显示图片&amp;quot;。没有任何不良信息。改为&amp;quot;c16&amp;quot;则为&amp;quot;仅显示视频&amp;quot;。&amp;quot;c12&amp;quot;则同时采用&amp;quot;禁用伪元素&amp;quot;,&amp;quot;禁用iframe&amp;quot;。 长按[☰]按钮&amp;quot;自动全屏播放&amp;quot;,直接全屏无干扰播放。不良信息没有任何机会出现。不使用全局脚本“自动全屏播放”的情况下,还可以有以下几种方法:&#xA;使用常用服务自动全屏播放菜单(长按视频链接-&amp;gt;命令),则页面视频会自动全屏播放。按设置按钮,如果勾选“允许自动播放”,则今后此窗口内其它任何视频网址都将会自动全屏无干扰播放。保存书签时可在网址前面添加&amp;quot;i:5f&amp;quot;。 保存书签时可在网址前面添加&amp;quot;i:0mi:5f:&amp;quot;,则整个网址树自动全屏播放。 长按设置,选取&amp;quot;拦截外链脚本&amp;quot;。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow。&#xA;长按[☰]按钮可隐藏浮动信息,移除横幅,清空定时器(防止定时触发不良信息),中断可疑事件(防止用户操作触发),等待(防止延迟触发)。&#xA;直接关闭图像。&#xA;关闭[JS]脚本。&#xA;url.deny。需要屏蔽的url正则表达式java语法忽视回车可用&amp;quot;#&amp;quot;开头注释。</description>
</item>
<item>
<title>小书签</title>
<link>/zh/bookmarklet/</link>
<link>/zh/bookmarklet.html</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/bookmarklet/</guid>
<guid>/zh/bookmarklet.html</guid>
<description>超微浏览器支持直接运行远程网址上的小书签(Bookmarklet),将本页面或其它包含小书签网址加入书签。使用时只需长按小书签链接,点击“新窗口打开”,小书签将作用于超微浏览器最后一个窗口(非小书签窗口)页面上。&#xA;列出外部脚本&#xA;查看浏览器UA&#xA;网页cookie&#xA;网页源码&#xA;显示网页最后更改时间&#xA;Eruda: mobile console&#xA;生成二维码&#xA;POST转GET&#xA;Shows all form elements&#xA;Enables all form elements&#xA;切换复选框状态&#xA;全选复选框&#xA;复选框全不选&#xA;切换表内复选框状态&#xA;解除选择复制限制无效时可设UA为PC&#xA;恢复长按菜单&#xA;正则搜索&#xA;表格排序&#xA;BugMeNot</description>
</item>
<item>
<title>配置浏览器常用命令</title>
<link>/zh/cmds/</link>
<link>/zh/cmds.html</link>
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
<guid>/zh/cmds/</guid>
<guid>/zh/cmds.html</guid>
<description>超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。&#xA;打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示支持数学公式、各类图表&#xA;配置文件&amp;quot;default.cmds&amp;quot;示例:&#xA;清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; ! -name &#39;*.cjar&#39; -type f -delete&#xA;清空应用数据库::rm -rf /data/data/info.torapp.uweb/databases/*&#xA;本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb&#xA;本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.&#xA;合并查询历史至自动填充:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc&#xA;清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache&#xA;清空logcat::logcat -c&#xA;输出logcat.log::logcat -d &amp;gt; logcat.log&#xA;复制cookie:/clip:printf &#39;%c&#39;&#xA;tgz install::toybox tar -xzf %f -C /&#xA;以下命令需修改接收端IP定制。另外发送消息前接收端需首先执行“等待网络消息”命令。&#xA;发送剪贴板:clip/uweb:printf &#39;i:5ji:5b&#39;;cat&#xA;发送url::printf &#39;%u&#39;|/system/bin/toybox nc 192.168.2.155 1500&#xA;发送url(书签)::printf &#39;i:51../home5:i:0mc16:%u&#39;|/system/bin/toybox nc 192.168.2.155 1500</description>
</item>
<item>
<title>Android TV</title>
<link>/zh/androidtv/</link>
<link>/zh/androidtv.html</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/androidtv/</guid>
<guid>/zh/androidtv.html</guid>
<description>TV端推荐打开自动播放选项全局脚本打开自动全屏播放全局样式打开“仅显示图片“禁止js confirm对话框。&#xA;点击以下链接可直接设置主屏为书签并添加链接。Android TV可从手机端接收视频url并打开发送见常用服务&#xA;等待从网络接收url并打开&#xA;等待接收url沉默版&#xA;书签&#xA;点击以下链接添加常用服务:&#xA;添加书签至主屏&#xA;Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引擎文件engine.search中的搜索引擎url如果不包含&#39;%s&#39;则搜索引擎只是简单的固定网页url此时顺序搜索表现为频道切换。更多信息见多引擎搜索页面。</description>
</item>
<item>
<title>常用书签</title>
<link>/zh/bookmark/</link>
<link>/zh/bookmark.html</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/bookmark/</guid>
<description>所有书签都可通过&amp;quot;长按链接-&amp;gt;命令-&amp;gt;书签&amp;quot;保存链接为书签。书签菜单可至特色服务网页安装。&#xA;web&#xA;AI/chatGPT:&#xA;天工 kimi 网络剪贴板&#xA;txtpad&#xA;cmd.im&#xA;Wait for url from other devices&#xA;gamezop&#xA;Personal use 2&#xA;分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。&#xA;&amp;quot;小说.html&amp;quot;: 自动使用阅读模式&#xA;href=&amp;quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)&#xA;Mirrors Mirror list&#xA;zlibirary&#xA;mirror.js.org&#xA;Termux命令书签 以下书签需&amp;quot;长按以下链接-&amp;gt;新窗口打开&amp;quot;才能在此网页正常执行。&#xA;需安装定制版termux及相应工具&#xA;计算器bc&#xA;全能计算器bc&#xA;以下书签需安装gopher.&#xA;CNN news gopher&#xA;wikipedia search gopher&#xA;reddit gopher</description>
<guid>/zh/bookmark.html</guid>
<description>所有书签都可通过&amp;quot;长按链接-&amp;gt;命令-&amp;gt;书签&amp;quot;保存链接为书签。书签菜单可至特色服务网页安装。&#xA;web&#xA;AI/chatGPT:&#xA;天工 kimi taichu 网络剪贴板&#xA;txtpad&#xA;cmd.im&#xA;Wait for url from other devices&#xA;gamezop&#xA;Personal use 2&#xA;分类书签模板 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。&#xA;&amp;quot;小说.html&amp;quot;: 自动使用阅读模式&#xA;href=&amp;quot;i:0hbookmark/txt.html:../searchurl/bookmark/viewtxt.html&amp;quot;&amp;gt;&amp;quot;txt.html&amp;quot;: 在线阅读下载直链(txt/html)&#xA;Mirrors Mirror list&#xA;zlibirary&#xA;mirror.js.org&#xA;Termux命令书签 以下书签需&amp;quot;长按以下链接-&amp;gt;新窗口打开&amp;quot;才能在此网页正常执行。&#xA;需安装定制版termux及相应工具&#xA;计算器bc&#xA;全能计算器bc&#xA;以下书签需安装gopher.&#xA;CNN news gopher&#xA;wikipedia search gopher&#xA;reddit gopher</description>
</item>
<item>
<title>利用用户自定义样式屏蔽不良信息</title>
<link>/zh/adblock_css/</link>
<link>/zh/adblock_css.html</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/adblock_css/</guid>
<guid>/zh/adblock_css.html</guid>
<description>点击以下链接可安装全局样式,清后台重启浏览器,长按底部工具条窗口按钮弹出对话框后勾选上述文件名即可屏蔽不良信息。&#xA;floppymoose 广告屏蔽样式&#xA;gozer 广告屏蔽样式&#xA;超微浏览器支持根域名屏蔽,完全绝杀手机不良信息小厂。但少部分不良信息大厂本身也提供高质量的内容服务,它们可以将不良信息伪装成正常的内容从而逃脱域名绝杀。&#xA;对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</description>
</item>
<item>
<title>运行javascript脚本</title>
<link>/zh/rjs/</link>
<link>/zh/rjs.html</link>
<pubDate>Sun, 01 May 2022 00:00:00 +0000</pubDate>
<guid>/zh/rjs/</guid>
<guid>/zh/rjs.html</guid>
<description>特定网址用户脚本&#xA;全局脚本位于js子目录, 长按[☰]按钮配置。点击以下链&#xA;接安装:&#xA;&amp;lt;a target=_self&amp;quot; href=&amp;quot;i:0hjs/记住密码.js:../searchurl/txt/passwdsave.js&amp;quot;&amp;gt;记住密码&#xA;极速网页&#xA;大型脚本可安装到&amp;quot;bookmarklet&amp;quot;目录下长按js按钮&#xA;免魔法google翻译&#xA;免魔法Google翻译至简体&#xA;免魔法Google翻译至英文&#xA;Eruda&#xA;Performance&#xA;移除覆盖物&#xA;远程脚本配置文件default.rjs样列如下点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单)&#xA;Selection to sentence:;let g=&#39;sentence&#39;;getSelection().modify(&#39;move&#39;,&#39;forward&#39;,g);getSelection().modify(&#39;extend&#39;,&#39;backward&#39;,g);&#xA;Selection to line:;let g=&#39;line&#39;;getSelection().modify(&#39;move&#39;,&#39;forward&#39;,g);getSelection().modify(&#39;extend&#39;,&#39;backward&#39;,g);&#xA;Selection to paragraph:;let g=&#39;paragraph&#39;;getSelection().modify(&#39;move&#39;,&#39;forward&#39;,g);getSelection().modify(&#39;extend&#39;,&#39;backward&#39;,g);&#xA;显示数学公式:[&#39;https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js&#39;]&#xA;新窗口打开链接:;let d=document;b=d.createElement(&#39;base&#39;);b.setAttribute(&#39;target&#39;,&#39;_blank&#39;);d.head.appendChild(b)&#xA;站内搜索:;open(&#39;i:15site:&#39; + location.hostname)&#xA;编辑器拼写检查:;let t=document.getElementsByTagName(&#39;textarea&#39;);let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v&#xA;远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。&#xA;点击安装背景图等&#xA;远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)&#xA;[远程脚本名]:[返回url数组的javascript代码]&#xA;其中url可以为本地http脚本地址。譬如&#39;https://local/...&#39; (本地html5应用或离线缓存)。此时js脚本也可使用.link文件方式调用。</description>
</item>
<item>
<title>操作选中(富)文本/元素</title>
<link>/zh/textprocess/</link>
<link>/zh/textprocess.html</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/zh/textprocess/</guid>
<guid>/zh/textprocess.html</guid>
<description>点击以下链接可安装长按“链接”按钮菜单:&#xA;bing翻译&#xA;papago翻译&#xA;iciba&#xA;百度翻译&#xA;有道翻译&#xA;搜狗翻译&#xA;彩云小译&#xA;deepL&#xA;点击安装&amp;quot;保存文本&amp;quot;等&#xA;重启浏览器,长按“链接”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。&#xA;配置文件&amp;quot;default.select&amp;quot;定义了超微浏览器对选中(富)文本/元素进行的操作。没有任何选中元素则以整个网页为操作对象。每行格式如下:&#xA;[菜单名]:[mimetype]:[命令行]&#xA;选中(富)文本作为命令行的标准输入,而标准输出根据mimetype进行相应处理。&#xA;mimetype用来表示命令的输入输出类型。格式为&amp;quot;[输入mimetype]/[输出mimetype]&amp;quot;&amp;quot;[输入mimetype]&amp;quot;可为&amp;quot;html&amp;quot;或空txt格式或为以超微配置目录为基准的相对路径.js文件名; 输出可为标准的mimetype或超微特殊扩充。如&#xA;html/text/html: 选中富文本为html格式, 输出mimetype为text/html。&#xA;/uweb: 选中文本为txt格式, 输出mimetype为特殊扩充uweb超微将把输出作为链接来处理。&#xA;/uwebA: 超微将把输出作为&amp;quot;单一&amp;quot;链接来处理。&#xA;/termux: 命令运行结果将作为termux下命令运行。&#xA;checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)&#xA;配置default.select如下&#xA;复制文本到地址栏:/uweb:printf i:15;cat&#xA;复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;&#xA;复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;&#xA;复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done&#xA;如使用剪贴板功能手机需安装uweb定制Termux并在termux下安装openssl。&#xA;此处假定远程PC的IP地址为192.168.2.102PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录此时用户无需将密码写入文件default.select。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。&#xA;采用以上配置笔记将储存在应用内部目录下文件note.txt或note.html中富文本。命名笔记储存文件则由用户在地址栏输入框内指定。&#xA;手机其它应用中的文本可选中后分享给超微浏览器再由超微浏览器作笔记或进一步分享给PC。如果其它应用无法分享选中文本这种情况可以先复制文本至剪贴板。长按链接按钮选择适当功能即可复制至PC剪贴板。&#xA;Windows PC 对Windows PC而言vista及以后自带clip.exe此时配置如下&#xA;复制文本至PC剪贴板::ssh [user:password]@192.168.2.102 clip.exe&#xA;其它推荐工具(读取PC剪贴板)&#xA;pclip</description>
</item>
<item>
<title>CSS样式</title>
<link>/zh/globalcss/</link>
<link>/zh/globalcss.html</link>
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
<guid>/zh/globalcss/</guid>
<guid>/zh/globalcss.html</guid>
<description>超微浏览器自动装载&amp;quot;css&amp;quot;目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式&#xA;强制使用默认字体&#xA;配合透明状态栏(沉浸)&#xA;文件&amp;quot;night.css&amp;quot;为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:&#xA;webview 81+ 夜间模式&#xA;webview 80- 夜间模式</description>
</item>
<item>
<title>超微浏览器配置文件列表</title>
<link>/zh/filenames/</link>
<link>/zh/filenames.html</link>
<pubDate>Fri, 18 Mar 2022 00:00:00 +0000</pubDate>
<guid>/zh/filenames/</guid>
<guid>/zh/filenames.html</guid>
<description>下面列表中以&amp;quot;/&amp;quot;结尾者为目录,其余为文件:&#xA;&amp;quot;css/&amp;quot;:全局样式目录&#xA;&amp;quot;js/&amp;quot;: 全局脚本目录&#xA;&amp;quot;sitejs/&amp;quot;:类油猴脚本,针对特定网址&#xA;&amp;quot;sitecss/&amp;quot;:针对特定网址css样式&#xA;&amp;quot;bookmarklet/&amp;quot;:js脚本目录长按JS按钮可执行。&#xA;&amp;quot;offline/&amp;quot;:离线下载目录&#xA;&amp;quot;sbookmark/&amp;quot;:超级书签默认目录&#xA;&amp;quot;sitecache/&amp;quot;:用户供应网站离线数据&#xA;&amp;quot;longclick/&amp;quot;:长按链接菜单(js)&#xA;&amp;quot;icon/&amp;quot;:图标定制&#xA;&amp;quot;app[XXX]/&amp;quot;:html5应用目录&#xA;&amp;quot;default.longclick&amp;quot;:长按链接菜单&#xA;&amp;quot;default.uas&amp;quot;:浏览器标识&#xA;&amp;quot;default.urls&amp;quot;:特色服务&#xA;&amp;quot;default.acmd&amp;quot;:浏览器地址栏功能配置&#xA;&amp;quot;default.hosts&amp;quot;:不良信息屏蔽文件&#xA;&amp;quot;default.redirect&amp;quot;:重定向配置&#xA;&amp;quot;default.cmds&amp;quot;:长按“历史”按钮配置&#xA;&amp;quot;default.link&amp;quot;:长按“书签”按钮配置&#xA;&amp;quot;default.rjs&amp;quot;:远程及简单脚本&#xA;&amp;quot;default.select&amp;quot;:长按“链接”按钮配置&#xA;&amp;quot;default.input&amp;quot;:每行一个网页常用输入短语&#xA;&amp;quot;default.gesture&amp;quot;:格式与文件default.link完全相同定义地址栏下方手势操作&#xA;&amp;quot;default.gesture2&amp;quot;:右边缘手势操作类似default.gesture。&#xA;&amp;quot;default.button&amp;quot;:格式与文件default.link完全相同每行从最后一个按钮开始重定义单击功能。&#xA;&amp;quot;default.button2&amp;quot;:类似default.button。每行从最后一个按钮开始重定义长按功能。&#xA;&amp;quot;default.filecap&amp;quot;:文件特殊处理&#xA;&amp;quot;default.rc&amp;quot;:如果勾选“文件预处理”则uweb启动时运行此shell脚本。可与tcron配合运行定时任务如存储清理、网页签到等。&#xA;&amp;quot;default.rc2&amp;quot;:如果勾选“文件预处理”则uweb返回前台时运行此shell脚本。&#xA;&amp;quot;crontab&amp;quot;:&#xA;&amp;quot;engine.search&amp;quot;:格式同home5.search搜索引擎url仅支持%s语法。(搜索词部分用%s代替),供自动顺序搜索使用。&#xA;&amp;quot;default.siteconf&amp;quot;:网站独立设置保存ua、禁用js、无图、禁用第三方(js,可疑资源)、当前激活脚本、全局脚本。当前设置与默认不同才会保存。比如当前不屏蔽第三方js但屏蔽第三方可疑资源则屏蔽第三方设置与默认不同站点设置被保存。&#xA;&amp;quot;default.playrate&amp;quot;:全屏播放菜单项格式与文件default.link完全相同。倍速播放菜单链接部分为空譬如&amp;quot;.5x:&amp;quot;,倍速菜单至少有一个。链接部分非空的菜单必须在所有倍速菜单之后。&#xA;&amp;quot;default.autoc&amp;quot;:地址栏autocomplete候选字符串&#xA;&amp;quot;query.autoc&amp;quot;:主屏搜索autocomplete候选字符串&#xA;&amp;quot;home5.html&amp;quot;:自定义主屏home6.html, home6.search, home7.html ... 多主屏(前进按钮可进)。同前缀文件中.html文件优先于.search文件。home4.html, home3.html ... (长按后退按钮可进)。&#xA;&amp;quot;home5.search&amp;quot;:主屏搜索引擎&#xA;&amp;quot;home.css&amp;quot;:主屏风格虽然后缀名为css但其格式为html故css代码需放在&amp;quot;&amp;lt;style&amp;gt;&amp;quot;元素内。&#xA;&amp;quot;bookmark.html&amp;quot;:主书签&#xA;&amp;quot;quickstart.html&amp;quot;:快速访问&#xA;&amp;quot;colors.txt&amp;quot;:护眼背景色&#xA;&amp;quot;default.css&amp;quot;:勾选网址特定样式后无匹配情形下的默认样式&#xA;&amp;quot;night.css&amp;quot;:夜间模式,代替超微内部实现&#xA;&amp;quot;bookmarklet/videoplayer.js&amp;quot;:用户定义视频播放&#xA;&amp;quot;types.sniff&amp;quot;:嗅探类型&#xA;&amp;quot;js.allow&amp;quot;:外链js白名单,每行一个域名。&#xA;&amp;quot;url.deny&amp;quot;:需要屏蔽的url正则表达式java语法忽视回车可用&amp;quot;#&amp;quot;开头注释。&#xA;&amp;quot;sniff.log&amp;quot;:嗅探结果&#xA;&amp;quot;history.rec&amp;quot;:访问历史&#xA;&amp;quot;query.rec&amp;quot;:查询历史&#xA;应用内部保护目录(/data/data/info.torapp.uweb/files/):&#xA;&amp;quot;shortcut/&amp;quot;:动态shortcut刷新目录若不存在则默认为&amp;quot;bookmark&amp;quot;目录。</description>
</item>
<item>
<title>文件管理器及文件挑选并批量处理</title>
<link>/zh/filemanager/</link>
<link>/zh/filemanager.html</link>
<pubDate>Fri, 11 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/filemanager/</guid>
<guid>/zh/filemanager.html</guid>
<description>超微浏览器访问以&amp;quot;/&amp;quot;结尾 (包括&amp;quot;/?&amp;quot;及后面参数)的&amp;quot;file://&amp;quot; url则进入文件管理器。&#xA;对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][*[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?*.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。&amp;quot;?IMG&amp;quot;列举出所有IMG开头的文件。此时可选定文件并安装checked.js对选取文件进行批量处理。&#xA;文件批量处理配置default.select例子&#xA;图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done</description>
</item>
<item>
<title>超级计算器(bc)</title>
<link>/zh/bc/</link>
<link>/zh/bc.html</link>
<pubDate>Thu, 10 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/bc/</guid>
<guid>/zh/bc.html</guid>
<description>Gnu bc计算器支持无限精度可扩展函数库、常数库。&#xA;安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令&#xA;apt update&#xA;apt upgrade&#xA;apt install bc 使用书签调用计算器 &amp;quot;长按以下链接-&amp;gt;命令-&amp;gt;书签&amp;quot;可保存链接为书签。书签菜单可至特色服务网页安装。&#xA;bc&#xA;全能bc&#xA;浏览器地址栏作为超级计算器 配置文件default.acmd如下&#xA;计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q&#xA;更多bc扩展库 https://github.com/susca/bc-extensions&#xA;http://phodd.net/gnu-bc&#xA;http://www.numbertheory.org/gnubc/gnubc.html&#xA;使用扩展库以后default.acmd配置如下 计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q extensions.bc scientific_constants.bc&#xA;全能计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q *.bc</description>
</item>
<item>
<title>工具栏定制</title>
<link>/zh/icons/</link>
<link>/zh/icons.html</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/zh/icons/</guid>
<guid>/zh/icons.html</guid>
<description>超微浏览器配置目录下如果存在目录&amp;quot;icon&amp;quot;,则此目录下的文件名为&amp;quot;0&amp;quot;,&amp;quot;1&amp;quot;,&amp;quot;2&amp;quot;...&#xA;会作为底部工具栏图标。文件&amp;quot;0&amp;quot;替换原后退按钮,&amp;quot;1&amp;quot;为前进按钮,&amp;quot;2&amp;quot;为设置按钮,&amp;quot;3&amp;quot;为主页按钮......。&#xA;如果定义有新按钮(当前版本存在文件&amp;quot;20&amp;quot;则uweb支持向量格式图标VectorDrawable格式为compiled XML。此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。&#xA;用户可定义任意多个按钮(100个按钮毫无压力)其短按长按功能可在文件default.button及default.button2中定义格式与文件default.link完全相同每行从最后一个按钮开始重定义功能。&#xA;注意:刷新按钮及窗口按钮图标暂时不能重定义。</description>
</item>
<item>
<title>安卓系统出错诊断</title>
<link>/zh/logcat/</link>
<link>/zh/logcat.html</link>
<pubDate>Mon, 28 Dec 2020 00:00:00 +0000</pubDate>
<guid>/zh/logcat/</guid>
<guid>/zh/logcat.html</guid>
<description>超微浏览器如果闪退,会生成出错文件&amp;quot;error.log&amp;quot;。&#xA;如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:&#xA;访问常用命令网页点击安装logcat相关的两个命令。 清空后台并重启超微浏览器。 长按历史按钮,执行命令&amp;quot;清空logcat&amp;quot;。 触发有问题的功能。 长按历史按钮,执行命令&amp;quot;输出logcat.log&amp;quot;. 检查文件&amp;quot;logcat.log&amp;quot;内容。 超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &amp;quot;webview-log-js-console-messages&amp;quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。&#xA;非dev版本webview可点击如下链接运行devtools。&#xA;devtools for com.google.android.webview&#xA;devtools for com.android.webview</description>
</item>
<item>
<title>离线下载</title>
<link>/zh/loadbt/</link>
<link>/zh/loadbt.html</link>
<pubDate>Tue, 15 Dec 2020 00:00:00 +0000</pubDate>
<guid>/zh/loadbt/</guid>
<guid>/zh/loadbt.html</guid>
<description>seedr用户可使用常用链接利用seedr离线下载。使用时长按链接-&amp;gt;命令-&amp;gt;seedr离线...。 Telegram用户可使用特色服务利用tg bot离线下载至bot支持网盘。使用时长按链接-&amp;gt;命令-&amp;gt;tg...。 百度网盘存储空间大,但其离线下载限制很多,可能由于某些重要节点被屏蔽的原因,下载国外资料基本都会失败。国外离线网盘空间小,但下载成功率很高。&#xA;本文介绍一种技术,使用国外离线网盘下载资源,然后一键离线至百度网盘。&#xA;超微浏览器上配置百度离线下载&#xA;安装uweb定制Termux应用。&#xA;安装baidupcs-go&#xA;直接下载BaiduPCS-Go安卓手机请选择arm64版本。 解压下载文件 移动解压后文件至最终目的地。Termux运行以下命令:&#xA;mv BaiduPCS-Go /data/data/com.termux/files/usr/bin/.&#xA;chmod 777 /data/data/com.termux/files/usr/bin/BaiduPCS-Go&#xA;登录百度网盘, Termux执行如下命令&#xA;BaiduPCS-Go login&#xA;BaiduPCS-Go config set -appid=266719&#xA;default.longclick配置如下&#xA;百度离线下载:termux/*:BaiduPCS-Go od add &amp;quot;%u&amp;quot;;exit 1&#xA;重启超微浏览器,此时长按链接将会出现菜单“百度离线下载”。&#xA;离线下载资源至国外网盘,下载完成后在超微浏览器内点击资源下载,弹出菜单选择“百度离线下载”,完成整个流程。&#xA;其它支持离线下载的网页也可定义为一键离线。</description>
</item>
<item>
<title>长按链接弹出菜单</title>
<link>/zh/longclick/</link>
<link>/zh/longclick.html</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/zh/longclick/</guid>
<guid>/zh/longclick.html</guid>
<description>长按链接运行第三方程序 配置文件default.longclick每行格式如下同default.cmds&#xA;菜单名:mimetype:命令路径&#xA;命令可以包含%c当前网址cookie执行时会被相应内容自动替换。&#xA;长按链接运行js文件 长按链接弹出菜单显示longclick目录下所有js文件供用户挑选执行。&#xA;js文件格式如下&#xA;首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&amp;quot;%u&amp;quot;等,打开网页时会用长按的链接替换。 首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。 第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。 </description>
</item>
<item>
<title>视频播放小窍门</title>
<link>/zh/video/</link>
<link>/zh/video.html</link>
<pubDate>Tue, 22 Sep 2020 00:00:00 +0000</pubDate>
<guid>/zh/video/</guid>
<guid>/zh/video.html</guid>
<description>覆盖安装全屏播放菜单示例:屏幕旋转,退出&#xA;本文以超微浏览器为例来说明。&#xA;创建文件&amp;quot;default.playrate&amp;quot;可定制全屏倍速播放菜单项格式与文件default.link完全相同。倍速播放菜单链接部分为空譬如&amp;quot;.5x:&amp;quot;,倍速菜单至少有一个。链接部分非空的菜单必须在所有倍速菜单之后。 长按设置按钮勾选“弹出视频地址”则视频播放时会弹出真正的播放地址点击地址播放可避免一切不良信息。如果点击后为下载操作可长按链接分享给视频播放器。用户亦可配置在线播放或安装插件。嗅探的视频资源类型可由文件“types.sniff”控制。 很多视频解析结果在UA为PC的情况下非常干净没什么不良信息。故用户可在播放前切换UA至PC。如wn.run/解析结果对PC非常干净。 某些视频网站在全屏播放时都会出现不良信息占住屏幕一部分。点击全屏播放之前,长按[☰]按钮,超微浏览器将弹出全局脚本菜单,勾选“移除浮动不良信息”后再点全屏播放则完美播放。 也可利用全屏播放屏蔽一切不良信息。方法如下: 长按[☰]按钮,勾选“全屏视频”。此选项将让无法全屏播放的网站强制允许全屏播放。 对无法全屏、无法放大的视频网站,可长按[☰]按钮,勾选“强制缩放”,然后手动放大至全屏。 灵活应用JS、图像开关屏蔽一切不良信息视频搜索前关闭JS开关进入播放网页前关闭图像显示并打开JS。 视频解析之电视剧: 首先在视频网站搜索电视剧片名,下面会显示不同的剧集,点击它们再用视频解析即可观看。如果直接点击电视剧用视频解析则每次播放均为第一集。 视频搜索预配置(超过400个引擎)&#xA;视频资源:&#xA;视频解析配置 nbwz mvcat novip bdys z2py ddrk nfmovies 电视直播 OK资源 全国电视直播 免费视频 国外剧 纪录片 网络直播 点击安装&amp;quot;视频播放增强(倍速等)635+版本功能已内置,仅供高级用户定制参考。&amp;quot;</description>
</item>
<item>
<title>工具汇总</title>
<link>/zh/tools/</link>
<link>/zh/tools.html</link>
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
<guid>/zh/tools/</guid>
<guid>/zh/tools.html</guid>
<description>本文以超微浏览器为例来说明。&#xA;安装tdict检索工具 (本地检索,远程内容) 安装完tdict本地检索工具后可选择性安装字典索引及对应的搜索引擎至主屏。以下引擎仅作测试使用。&#xA;安装双解字典索引&#xA;安装双解字典至主屏&#xA;英语活用大词典索引&#xA;安装英语活用至主屏&#xA;汉语大词典索引&#xA;安装汉语词典至主屏&#xA;soed6索引&#xA;安装soed至主屏&#xA;以下字典最好安装markdown处理器。&#xA;安装markdown处理器&#xA;Merriam Webster International Unabridged 索引&#xA;安装mwi至主屏&#xA;ode3索引&#xA;安装ode至主屏&#xA;oed索引&#xA;安装oed至主屏&#xA;大英百科索引&#xA;安装be至主屏&#xA;以下工具需先安装uweb定制Termux应用并启动一次完成初始化。&#xA;安装tdict词典工具 安装完tdict词典工具以后对dict目录下的汉语大字典文件如&amp;quot;dictXXX.xz&amp;quot;可在主屏.search文件配置如下字典查询&#xA;汉语大字典:c:zd xz %s dictXXX&#xA;字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst此时配置变为&amp;quot;zd zst %s dictXXX&amp;quot;相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。&#xA;插件页面也提供了词典方案,但如果手动配置会比较麻烦。</description>
</item>
<item>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<link>/zh/filecap/</link>
<link>/zh/filecap.html</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>/zh/filecap/</guid>
<guid>/zh/filecap.html</guid>
<description>技巧等级:中级&#xA;文件预处理配置文件为default.filecap每行格式如下&#xA;[文件后缀]:[mimetype]:[处理命令]&#xA;其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。&#xA;mimetype表示命令处理后的输出内容格式。&#xA;处理命令与default.cmds相同主要可能用到如下替换&#xA;%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式&#xA;利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。&#xA;配置default.filecap如下&#xA;txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/audio&gt;&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/audio&gt;&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/video&gt;&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/video&gt;&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&gt;&amp;lt;source src=&#34;%u&#34;&gt;&amp;lt;/video&gt;&#39; doc:uweb:echo https://view.xdocin.com/view?src=%U xls:uweb:echo https://view.xdocin.com/view?src=%U ppt:uweb:echo https://view.xdocin.com/view?src=%U docx:uweb:echo https://view.xdocin.com/view?src=%U xlsx:uweb:echo https://view.xdocin.com/view?src=%U pptx:uweb:echo https://view.xdocin.com/view?src=%U xz:text/plain:curl %p &#34;%u&#34;|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件&#xA;pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。&#xA;如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>
<item>
<title>手势</title>
<link>/zh/gesture/</link>
<link>/zh/gesture.html</link>
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
<guid>/zh/gesture/</guid>
<guid>/zh/gesture.html</guid>
<description>顶部下拉弹出地址栏; 顶部上划隐藏地址栏。底部下划隐藏工具条; 底部左右角落划动弹出工具条。&#xA;紧靠工具条左右划动切换当前窗口; 左右大幅度划动切换到第一或最后一个窗口。&#xA;起点终点紧靠地址栏划动操作调用&amp;quot;default.gesture&amp;quot;文件中对应链接。文件格式与文件default.link完全相同。每行第一部分为助记名第二部分为链接。手势操作对应方式如下&#xA;将屏幕宽度平分为三部分分别对应数字0,1,2 将终点对应的屏幕数字加上起点对应数字的三倍。如果数字为4且初始为往左滑动则数字改为9。 每额外多一次来回转折数字加10。&#xA;超微浏览器将执行上述数字所对应行所定义的链接操作。0对应第一行以此类推 右边缘划动操作调用&amp;quot;default.gesture2&amp;quot;文件中对应链接。对应方法同&amp;quot;default.gesture&amp;quot;。&#xA;常用操作链接:&#xA;back:javascript:history.back()&#xA;forward:javascript:history.forward()&#xA;back2:javascript:history.go(-2)</description>
</item>
<item>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<link>/zh/cmd.html</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
<guid>/zh/cmd/</guid>
<guid>/zh/cmd.html</guid>
<description>技巧等级:中级 PC剪贴板(高级)&#xA;uweb浏览器支持一键执行任意预定义命令这些命令可以与剪贴板交互可以将结果文本、图像、音视频输出到浏览器窗口。&#xA;手机推荐安装uweb定制Termux否则能够执行的命令极其有限。&#xA;预定义命令保存在文件&amp;quot;default.cmds&amp;quot;中。重启浏览器,长按历史按钮,超微将弹出菜单供用户点击执行。&#xA;资深用户可能注意到文件名与default.acmd类似。default.acmd中的命令适合以不同的参数反复执行而default.cmds一般以单次执行为多。default.acmd结果会显示在浏览器当前窗口而default.cmds中命令执行结果会显示在新窗口之中。这两个文件格式也完全相同每行格式如下&#xA;[命令名称]:[mimetype]:[命令代码]&#xA;命令代码可以是任意命令,其中可以包含%c当前网址cookie、%s (地址栏输入)、 %t (当前窗口标题)、 %u (当前窗口url或文件路径)。执行时这些特殊标识将会被相应内容自动替换。&#xA;mimetype用来表示命令的输出类型。除了标准的mimetype之外超微对此还作了扩充便利与剪贴板交互。下面是扩充版的mimetype&#xA;&amp;quot;clip/clip&amp;quot; : 以剪贴板作为命令输入,输出结果复制到剪贴板。&#xA;&amp;quot;/clip&amp;quot; : 输出结果复制到剪贴板。&#xA;&amp;quot;clip/text/html&amp;quot; : 以剪贴板作为命令输入输出结果mimetype类型为“text/html”。&#xA;&amp;quot;termux/*&amp;quot;: 在termux中执行命令。&#xA;&amp;quot;/uweb&amp;quot;: 输出结果作为链接来处理。&#xA;下面是笔者使用的default.cmds配置命令具体解释&#xA;复制手机剪贴板至PC剪贴板:clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -i&#34; PC剪贴板至手机剪贴板:/clip:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -o&#34; </description>
</item>
<item>
<title></title>
<link>/zh/readme/</link>
<link>/zh/readme.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/readme/</guid>
<description>超微浏览器 (uweb browser): 释放无尽威能,微、威、快、高效、极致优化 English&#xA;捐赠&#xA;Amazon appstore&#xA;下载&#xA;超微浏览器下载及使用技巧&#xA;(镜像: gitlab repo codeberg 4everland cyclic zeabur github fleek render surge netlify deno kinsta bitbucket torapp torappv glitch pages vercel&#xA;超微专用镜像)&#xA;免魔法国内直接使用google、翻译、百科等 微不到200K。 威无穷无尽的功能使用增强后的html5可以实现任何本地应用功能。支持使用js脚本、url服务、shell命令、内部功能链接定制菜单按钮手势; 远程数据皆可成网站。 便捷图书pdf/djvu/txt/词典mdict,kiwix/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&amp;quot;!&amp;quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性。 下载资源在线播放/预览/预处理。 独立切换网站登录、配置文件。 支持网站测试自动化脚本 (可用于app服务端测试)。支持crontab(闹钟等)。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置ua禁用脚本无图激活脚本、行编辑器、代码编辑器支持120多种语言语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试。通过安装html5应用可预览阅读本地或在线任意格式文件pdf,djvu,epub,mdx/mdd,docx等&#xA;修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&amp;quot;超级书签&amp;quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用)&#xA;小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。&#xA;独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。&#xA;独创脚本激活模式,脚本执行后被激活,此后自动作用于同类网址。&#xA;支持全局用户脚本/样式,可任意叠加,轻松切换。&#xA;支持网址特定脚本/样式,可轻松支持百万以上不同脚本。&#xA;支持自定义任意多个搜索引擎; 支持执行用户提供任何js文件; 支持用户定义任意多个useragent; 长按链接支持运行第三方程序; 长按链接支持运行用户js文件。&#xA;配套安装uWeb定制Termux应用可用地址栏作图类似matlab功能、超级计算器无限精度/π的前万位或更多、无限函数、无限常量、符号演算解方程、分解因式、求积分导数、离线字典查找等。譬如地址栏输入sin(x)**5就直接得到函数图形。利用好第三方代码才能真正发挥出uWeb的潜能。</description>
<guid>/zh/readme.html</guid>
<description>超微浏览器 (uweb browser): 释放无尽威能,微、威、快、高效、极致优化 English&#xA;捐赠&#xA;Amazon appstore&#xA;Galaxy.Store&#xA;下载&#xA;超微浏览器下载及使用技巧&#xA;(镜像: gitlab repo codeberg 4everland cyclic github fleek render surge netlify deno kinsta bitbucket torapp torappv glitch pages zeabur vercel&#xA;专用镜像)&#xA;免魔法国内直接访问英文技术网站如google、翻译、百科等 AI聊天可作为搜索引擎来使用 微不到250K。 威无穷无尽的功能使用增强后的html5可以实现任何本地应用功能。支持使用js脚本、url服务、shell命令、内部功能链接定制菜单按钮手势; 远程数据皆可成网站。 便捷:AI聊天/图书pdf/djvu/txt/词典mdict,kiwix/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 快:手机越慢,脚本插件越多越明显。 高效:最少的操作,在线服务全自动(参看常用链接网页)。 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 地址栏支持命令行 (&amp;quot;!&amp;quot;, 物理键盘支持更佳) 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 支持用户定义域名属性。 下载资源在线播放/预览/预处理。 独立切换网站登录、配置文件。 支持网站测试自动化脚本 (可用于app服务端测试)。支持crontab(闹钟等)。 截屏 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置ua禁用脚本无图激活脚本、行编辑器、代码编辑器支持120多种语言语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试。通过安装html5应用可预览阅读本地或在线任意格式文件pdf,djvu,epub,mdx/mdd,docx等&#xA;修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫&amp;quot;超级书签&amp;quot;。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT的直接使用)&#xA;小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。&#xA;独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。&#xA;独创脚本激活模式,脚本执行后被激活,此后自动作用于同类网址。&#xA;支持全局用户脚本/样式,可任意叠加,轻松切换。&#xA;支持网址特定脚本/样式,可轻松支持百万以上不同脚本。&#xA;支持自定义任意多个搜索引擎; 支持执行用户提供任何js文件; 支持用户定义任意多个useragent; 长按链接支持运行第三方程序; 长按链接支持运行用户js文件。&#xA;配套安装uWeb定制Termux应用可用地址栏作图类似matlab功能、超级计算器无限精度/π的前万位或更多、无限函数、无限常量、符号演算解方程、分解因式、求积分导数、离线字典查找等。譬如地址栏输入sin(x)**5就直接得到函数图形。利用好第三方代码才能真正发挥出uWeb的潜能。</description>
</item>
<item>
<title>分类多引擎搜索</title>
<link>/zh/searchcat/</link>
<link>/zh/searchcat.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/searchcat/</guid>
<description>点击本链接自动安装分类多引擎文件至&amp;quot;bookmark&amp;quot;目录下。&#xA;超微浏览器中通过“设置”-&amp;gt;“总目录”-&amp;gt;“↑”-&amp;gt;“Download”点击后缀为.search的下载文件超微浏览器将自动显示分类多引擎搜索。此时可按菜单键或长按底部工具条后退按钮选择“添加到桌面”方便以后访问。&#xA;.search文件每行格式为如下几种&#xA;[搜索引擎名]:[不含%s的url]&#xA;[搜索引擎名]:[含%s的url]&#xA;[搜索引擎名]:POST:[含%s的post参数]:[url]&#xA;[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt .search文件首行必须为第一种类型的搜索引擎。由于其它两种类型的引擎数量稀少,为性能考虑,超微限制了首个引擎的种类。&#xA;本地引擎 搜索引擎已经支持命令行url现在可添加离线字典查询至主页。命令行url格式为&#xA;c:[含%s的命令行]&#xA;d:mimetype:[含%s的命令行]:[外部资源url]&#xA;查询时关键词会自动替换命令行中的%s。&#xA;笔者用来查询各式词典,发现效果非常好。百兆以内的文本文件压缩以后可以直接快速检索,定位至特定位置以后可上下滚动阅读全部文本。</description>
<guid>/zh/searchcat.html</guid>
<description>点击本链接自动安装分类多引擎文件至&amp;quot;bookmark&amp;quot;目录下。&#xA;超微浏览器中通过“设置”-&amp;gt;“总目录”-&amp;gt;“↑”-&amp;gt;“Download”点击后缀为.search的下载文件超微浏览器将自动显示分类多引擎搜索。此时可按菜单键或长按底部工具条后退按钮选择“添加到桌面”方便以后访问。&#xA;.search文件每行格式为如下几种&#xA;[搜索引擎名]:[不含%s的url]&#xA;[搜索引擎名]:[含%s的url]&#xA;[搜索引擎名]:POST:[含%s的post参数]:[url]&#xA;[Engine name]:[Extra request headers]:[post params with &#39;%s&#39; as keyword]:[url]&#xA;[Extra request headers] Ex. &amp;quot;X-Forwarded-For;8.8.8.8&amp;quot; when [post params] is empty, the url should have &#39;%s&#39; as keyword. Ex. bingUS engine w/ chatgpt .search文件首行必须为第一种类型的搜索引擎。由于其它类型的引擎数量稀少为性能考虑超微限制了首个引擎的种类&#xA;&amp;quot;i:&amp;quot;等超微内部scheme作开头的搜索引擎关键词部分仅支持使用&amp;quot;%s&amp;quot;,这纯粹是为了降低代码复杂性&#xA;本地引擎 搜索引擎已经支持命令行url现在可添加离线字典查询至主页。命令行url格式为&#xA;c:[含%s的命令行]&#xA;d:mimetype:[含%s的命令行]:[外部资源url]&#xA;查询时关键词会自动替换命令行中的%s。&#xA;笔者用来查询各式词典,发现效果非常好。百兆以内的文本文件压缩以后可以直接快速检索,定位至特定位置以后可上下滚动阅读全部文本。</description>
</item>
<item>
<title>加速访问国外网站</title>
<link>/zh/hosts/</link>
<link>/zh/hosts.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/hosts/</guid>
<guid>/zh/hosts.html</guid>
<description>不少国外网站本身虽可访问,但由于网站需要下载其它网址的资源而导致无法访问。根域名屏蔽可屏蔽文件中域名的一切子域名、孙域名、......,从而主动排除这些网址,最终允许浏览器快速访问。&#xA;使用Android端uweb浏览器。&#xA;域名文件内容如下:&#xA;googleadservices.com&#xA;googlesyndication.com&#xA;adsense.com&#xA;googleapis.com&#xA;google-analytics.com&#xA;googletagservices.com&#xA;twitter.com&#xA;facebook.com&#xA;fbcdn.net&#xA;其它国外网址访问技巧:&#xA;尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。 关闭网页图片 </description>
</item>
<item>
<title>绝杀完整域名树</title>
<link>/zh/adblock_domain/</link>
<link>/zh/adblock_domain.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/adblock_domain/</guid>
<guid>/zh/adblock_domain.html</guid>
<description>域名文件可屏蔽文件中域名的一切子域名、孙域名、......可彻底绝杀一切不良信息。所以用户屏蔽根域名时无需选择提示中出现的整个域名只需选取最后两段或三段最后两段不超过6字符如com.cn的域名可取四段&#xA;可使用列出外部脚本小书签生成外部js文件列表然后长按底部工具栏&amp;quot;js&amp;quot;按钮,执行&amp;quot;网址转链接&amp;quot;菜单命令,长按可疑链接(一般为域名不同的外链),执行“屏蔽根域名”。&#xA;长按不良信息链接,点击“图片:屏蔽根域名”,修改弹出域名,一般取最后两段,点击&amp;quot;确定&amp;quot;屏蔽当前图片网址。&#xA;部分不良信息没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击&amp;quot;背景图片&amp;quot;或&amp;quot;看图模式&amp;quot;,再长按不良信息链接点击“图片:屏蔽根域名”,屏蔽图片网址。&#xA;可长按设置开启&amp;quot;资源嗅探&amp;quot;,推荐设置文件&amp;quot;types.sniff&amp;quot;内容为js刷新网页后关闭&amp;quot;资源嗅探&amp;quot;选项。在弹出的资源网页上长按链接,屏蔽根域名。&#xA;(可选) 长按不良信息链接,点击“屏蔽根域名”,屏蔽链接网址。&#xA;(可选) 某些不良信息靠javascript激发链接中不出现域名可点击激发至新网址后将新网址根域名屏蔽。&#xA;支持域名及整个网址正则表达式&#xA;文件格式每行如下:&#xA;根域名[空格]域名前缀正则表达式[空格]整个网址去掉协议部分后正则表达式&#xA;空格及后面两个正则表达式为可选择项。正则表达式采用java标准。&#xA;如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。&#xA;点击本链接自动用样例覆盖default.hosts</description>
</item>
<item>
<title>利用多账号登录获取资源</title>
<link>/zh/multiaccount/</link>
<link>/zh/multiaccount.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/multiaccount/</guid>
<guid>/zh/multiaccount.html</guid>
<description>谈到资源就离不开bt, bt下载费时费力离线bt是最佳选择。国内离线下载由于关键节点屏蔽基本没啥用。我的个人体验是彻彻底底完全没用但别人也许还有点用国外唯一一个有好体验的是seedr, 不过seedr有个大问题需要解决。&#xA;其它我曾推荐过的台湾bt, bug实在太多现在看来也成了半个垃圾。万般无奈之下只能重拾seedr.&#xA;seedr的问题是首次登录需要google人机验证登录成功以后可以永久使用无需小飞机辅助。&#xA;以前偶尔飞飞一点问题也没有毕竟1分钟飞行就可解决很长时间问题了。但目前的状态是信息基本被彻底封死1分钟飞行也成了奢望。所以十分有必要珍惜这来之不易的1分钟飞行成果。&#xA;现在直接上方案使用超微浏览器多账号登录。飞行1分钟以后成功登录seedr, 此时退出浏览器,千万不能强退,一定要让运存中的登录信息写到内部存储。然后用户可备份应用内部目录下的.cjar文件一旦浏览器失去登录状态可恢复此文件即可使用多账号登录重新登录让这1分钟飞行成果保存下来供万万年使用。需要注意的一点是用户退出seedr账号会使保存的文件作废。故千万不要退出账号需要用其它账号登录的请使用多账号登录。</description>
</item>
<item>
<title>利用浏览器地址栏对函数作图</title>
<link>/zh/gnuplot/</link>
<link>/zh/gnuplot.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/gnuplot/</guid>
<guid>/zh/gnuplot.html</guid>
<description>使用Android端uweb浏览器。&#xA;Termux提供了方便的软件包管理系统缺省的uWeb地址栏功能配置需用到作图软件gnuplot。&#xA;安装gnuplot 安装 uweb定制Termux应用 Termux下运行以下命令&#xA;apt update&#xA;apt upgrade&#xA;apt install gnuplot 地址栏功能配置: 配置文件default.acmd每行格式如下&#xA;菜单名:mimeType:命令行 命令行可包含参数%s运行时自动用地址栏输入内容替换。 如果浏览器窗口当前地址为本地url则此目录同时作为命令行工作目录。 配置文件default.acmd如下 命令:text/plain:%s 函数作图:image/svg+xml:gnuplot -e &#39;set term svg;set output; plot %s&#39; 函数作图(3d):image/svg+xml:gnuplot -e &#39;set term svg;set output; splot %s&#39; 超级计算器:text/html:echo &amp;quot;%s&amp;quot;|bc -l -q 长按uweb浏览器底部工具条刷新按钮弹出地址栏功能选择选择“函数作图”地址栏内输入函数如sin(x)**5就可显示函数图案。&#xA;常见问题及诊断 确保gnuplot正确安装在Termux提示符下敲入gnuplot,然后回车,保证出现&amp;quot;gnuplot&amp;gt;&amp;quot;。 确保gnuplot正常运行, 在Termux提示符下执行下面命令&#xA;gnuplot -e &#39;set term svg;set output; plot x&#39;&#xA;屏幕输出应该为正常的svg文件类似html文本。 Termux应为uweb定制包否则有一堆设定需要修改。 超微浏览器下长按设置按钮,勾选“标准错误输出”。再次在地址栏执行画图操作,此时浏览器会显示出错信息。 为保证地址栏输入函数符合gnuplot规范首个测试函数建议为&amp;quot;x&amp;quot;,即整个地址栏内输入为&amp;quot;x&amp;quot;。 </description>
</item>
<item>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<link>/zh/pcdown.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/pcdown/</guid>
<guid>/zh/pcdown.html</guid>
<description>技巧等级:高级&#xA;小孩要听英文有声书“The lying games”国内服务器没一个能下的最后还是在手机上用seedr秒下。但seedr的登录要用google人机交互确认用过代理、tunnel至手机等方法台式机死活登录不上。下面言归正传讲一下超微浏览器直接下载资源至台式机的方法&#xA;手机需安装uweb定制Termux并在termux下安装openssl在Termux窗口下依次敲入如下命令&#xA;apt update&#xA;apt upgrade&#xA;apt install openssl&#xA;脚本pcdownload内容如下(可放置在任意应用内部目录下并相应修改default.longclick配置中文件路径)&#xA;#!/data/data/com.termux/files/usr/bin/sh&#xA;ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 firefox \&amp;quot;$1\&amp;quot;&amp;quot;&#xA;脚本需设置为可执行Termux下执行命令:&#xA;chmod 755 /data/data/com.termux/files/usr/bin/pcdownload&#xA;这里假定用户已经在台式机上设好ssh服务台式机IP地址为192.168.2.102准备用firefox下载。如果下载工具不是图形程序则上述脚本中可删去“DISPLAY=:0”。&#xA;配置文件default.longclick如下&#xA;PCdown:/data/data/com.termux/files/usr/bin/pcdownload&#xA;重启超微浏览器,点击链接下载时会弹出菜单,选择&amp;quot;PCdown&amp;quot;台式机会启动firefox下载手机指定文档。&#xA;可能大家有疑问,台式机无法登录,为什么手机可以登录?这是因为手机上应用多哈。</description>
</item>
<item>
<title>装载网站离线资源</title>
<link>/zh/offlinecache/</link>
<link>/zh/offlinecache.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/offlinecache/</guid>
<guid>/zh/offlinecache.html</guid>
<description>uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件&amp;quot;sitecache/[域名]/[全部路径包括文件名url中的路径部分]&amp;quot;。&#xA;打开选项&amp;quot;使用离线资源&amp;quot;以后超微将自动装载这些离线资源。&#xA;离线资源可作为缓存提高浏览器性能; 可作为国外网站部分备份修复服务访问; 也可替换部分网站资源达到定制网站的作用。</description>
</item>
</channel>

268
zh/links.html Normal file
View File

@ -0,0 +1,268 @@
<!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">
</ul>
<p>点击以下链接可安装至常用链接:<br>
<a href="i:0gdefault.link::长截屏::ccapture%0A">长截屏</a> (需<a href="i:61:../searchurl/func.html">长截屏模式</a>)</p>
<p><a href="i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A">VPN</a><br>
<a href="i:0gdefault.link::showCookie:i:53:%25c%0A">showCookie</a><br>
<a href="i:0gdefault.link::wireless:i:1dandroid.settings.WIRELESS_SETTINGS:::%0A">wireless</a><br>
<a href="i:0gdefault.link::显示安全证书:i:1c%0A">显示网站安全证书</a><br>
<a href="i:0gdefault.link::上传坚果云: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.jianguoyun.com/dav/%e6%88%91%e7%9a%84%e5%9d%9a%e6%9e%9c%e4%ba%91/'+f;}%0A">上传坚果云</a></p>
<p><a href="../../en/searchurl/webdav.html">更多 webdav ...</a></p>
<p><a href="i:0gdefault.link::迅雷盘离线:http://pan.xunlei.com/ {let rsc=setInterval(function(){var offBtn=document.querySelector('.pan-dropdown-menu.plus-menu>a:nth-child(2)');if(offBtn){clearInterval(rsc);var wsc=setInterval(function(){offBtn.click();var textarea=document.querySelector('.fileurl-input__container>textarea');if(textarea){clearInterval(wsc);textarea.value='%25u';var event=document.createEvent('HTMLEvents');event.initEvent('input',false,true);textarea.dispatchEvent(event);document.querySelector('.pan-dialog-btn__primary').click();}},200);}},1000);}%0A">迅雷盘离线</a></p>
<p><a href="i:0gdefault.link::网页全屏: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">网页全屏</a></p>
<p><a href="i:0gdefault.link:../searchurl/txt/link.cfg">点击安装Cookie延期地址栏内删除特殊字符站内搜索seedr离线下载等</a><br>
<a href="i:0gdefault.link:../searchurl/txt/offline.link">点击安装离线下载(pcloud,furk,微云等)</a></p>
<p><a href="../zh/">uweb浏览器</a>中长按书签按钮可弹出常用链接菜单,这些链接定义在文件&quot;default.link&quot;中,改动过的文件清后台重启动后生效。每行格式如下:<br>
[菜单名]:[url][空格][javascript脚本]<br>
其中空格及之后的脚本为可选项。url及之后的脚本支持<a href="../cmd/index.html">&quot;%u&quot;,&quot;%s&quot;等替换</a><br>
脚本将在链接访问结束时自动执行。</p>
<p>url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(&quot;:&quot;为链接第二个字符)及特殊链接(&quot;:&quot;为链接首字符)。</p>
<p>不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明:<br>
.js文件(同<a href="../longclick/index.html">长按链接运行js文件</a>): 首行前两个字符为&quot;//&quot;者,超微将打开&quot;//&quot;后面的目标网址并执行此文件代码,目标网址支持<a href="../cmd/index.html">&quot;%u&quot;,&quot;%s&quot;等替换</a>。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。</p>
<p><a href="../gesture/index.html">default.gesture</a>及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。</p>
<p>各类代理配置如下:<br>
httpproxy::010[proxy host]:[port]<br>
socks5::011[socks host]:[port]<br>
noproxy::010:</p>
<h3 id="为首字符特殊链接">&quot;:&quot;为首字符特殊链接</h3>
<ul>
<li>
<p>:0001<br>
自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)</p>
</li>
<li>
<p>:0003<br>
切换全屏模式</p>
</li>
<li>
<p>:0004<br>
屏幕旋转</p>
</li>
<li>
<p>:001[fileurl]<br>
加入媒体库</p>
</li>
<li>
<p>:010[proxy host]:[port]<br>
设置http代理, &quot;:010:&quot;禁用代理。</p>
</li>
<li>
<p>:011[socks host]:[port]<br>
socks代理</p>
</li>
</ul>
<h3 id="i内部链接">&quot;i:&quot;内部链接:</h3>
<ul>
<li>
<p>i:0m[bookmarklet index|prefix|c[cssFlag]]:[url]<br>
将url作为网站访问[bookmarklet index]至少占两个字符。</p>
<ul>
<li>c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth global CSS (12=2^2+2^3).</li>
<li>All other cases will be treated as prefix, the real visited url is &quot;[prefix]+url&quot;.</li>
</ul>
</li>
<li>
<p>i:15[string]<br>
设置地址栏内容为[string]</p>
</li>
<li>
<p>i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]<br>
读取第三方应用输入。</p>
</li>
<li>
<p>i:18[extended mimetype]:[range]:[url]<br>
读取url部分数据并使用指定mimetype强制处理。<br>
<range>:格式同http header。譬如&quot;500-1000,-300&quot;<br>
<extended mimetype>:可以为标准的mimetype。也可以在标准mimetype后面添加&quot;.&lt;文件名&gt;&quot;此时uweb配置目录下的文件“&lt;文件名&gt;”内容会附在url部分数据后面一起显示。</p>
</li>
<li>
<p>i:19[string]<br>
地址栏内容末尾附加[string]</p>
</li>
<li>
<p>i:1c<br>
显示网站证书</p>
</li>
<li>
<p>i:1d<action>:<type>:<Category>:<data><br>
Launch app for specific <action></p>
</li>
<li>
<p>i:1w<br>
等待从网络接收url并打开</p>
</li>
<li>
<p>i:1w1<br>
等待从网络接收url并打开(不显示ip)</p>
</li>
<li>
<p>i:50[path]:[string]<br>
保存为文件。</p>
</li>
<li>
<p>i:51[path]:[url]<br>
保存为地址栏提示</p>
</li>
<li>
<p>i:52[path]:[string]<br>
保存为书签</p>
</li>
<li>
<p>i:53[path]:[string]<br>
保存为笔记</p>
</li>
<li>
<p>i:54[path]:[url]<br>
保存为搜索引擎</p>
</li>
<li>
<p>i:55[path]:[url]<br>
保存为链接</p>
</li>
<li>
<p>i:56[string]<br>
将string插入到网页当前输入框。</p>
</li>
<li>
<p>i:57[jscode]<br>
执行js代码即使网页禁用js。</p>
</li>
<li>
<p>i:58[url]<br>
保存到桌面</p>
</li>
<li>
<p>i:5a[filename]<br>
接收信息至文件</p>
</li>
<li>
<p>i:5b[string]<br>
复制至剪贴板。</p>
</li>
<li>
<p>i:5c[url]<br>
更改自动翻页url</p>
</li>
<li>
<p>i:5d[file url]<br>
兼容其它浏览器的方式打开本地文件。</p>
</li>
<li>
<p>i:5e[string]<br>
TTS</p>
</li>
<li>
<p>i:5f[videourl]<br>
play video fullscreen. if videourl is empty, then make following requestFullscreen() work.</p>
</li>
<li>
<p>i:5h[url]<br>
force html for url</p>
</li>
<li>
<p>i:5i[url]<br>
重用已有窗口跳转至不同anchor。</p>
</li>
<li>
<p>i:5j[string]<br>
if [string] is file url, then send the file/folder to network, otherwise send [string] to network.</p>
</li>
<li>
<p>i:5p[videourl]<br>
play video in external player</p>
</li>
<li>
<p>i:60[path]:[url]<br>
如果本地文件存在就打开否则访问远程url</p>
</li>
<li>
<p>i:62[path]:[js code]<br>
保存js返回值为文件</p>
</li>
<li>
<p>i:63[bookmarklet index]:[url]</p>
</li>
<li>
<p>i:70[url]:[自动翻页url]<br>
访问网址url但指定使用后一网址自动翻页</p>
</li>
<li>
<p>i:92[http request headers separated by ';']:[url]<br>
The &quot;Host&quot; Header (fake header, different from the standard) must be the first header.<br>
Ex. i:92Host;209.216.230.240:https://news.ycombinator.com<br>
use &quot;i:0mi:92Host;209.216.230.240::https://news.ycombinator.com&quot; to visit the site with specified IP address.</p>
</li>
</ul>
</div>
<p>Last Modified: 4 November 2023<br>
:0cs CookieSet<br>
<pre></pre>
</p>
<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>

120
zh/loadbt.html Normal file
View File

@ -0,0 +1,120 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">离线下载
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/termux/index.html#">termux</a> </li>
<li><a href="../tags/%e7%bd%91%e7%9b%98/index.html#">网盘</a> </li>
<li><a href="../tags/%e7%a6%bb%e7%ba%bf/index.html#">离线</a> </li>
<li><a href="../tags/%e8%b5%84%e6%ba%90/index.html#">资源</a> </li>
</ul>
<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="../zh/">超微浏览器</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>
</div>
<p>Last Modified: 24 September 2022<br>
fix links for generated md files<br>
<pre></pre>
</p>
<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>

85
zh/logcat.html Normal file
View File

@ -0,0 +1,85 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">安卓系统出错诊断
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../zh/">超微浏览器</a>如果闪退,会生成出错文件&quot;error.log&quot;</p>
<p>如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:</p>
<ul>
<li>访问<a href="../cmds/index.html">常用命令网页</a>点击安装logcat相关的两个命令。</li>
<li>清空后台并重启超微浏览器。</li>
<li>长按历史按钮,执行命令&quot;清空logcat&quot;</li>
<li>触发有问题的功能。</li>
<li>长按历史按钮,执行命令&quot;输出logcat.log&quot;.</li>
<li>检查文件&quot;logcat.log&quot;内容。</li>
</ul>
<p>超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &quot;webview-log-js-console-messages&quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。</p>
<p>非dev版本webview可点击如下链接运行devtools。<br>
<a href="i:16:android.intent.action.VIEW:com.google.android.webview:org.chromium.android_webview.devui.MainActivity">devtools for com.google.android.webview</a></p>
<p><a href="i:16:android.intent.action.VIEW:com.android.webview:org.chromium.android_webview.devui.MainActivity">devtools for com.android.webview</a></p>
</div>
<p>Last Modified: 24 September 2022<br>
fix links for generated md files<br>
<pre></pre>
</p>
<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>

89
zh/longclick.html Normal file
View File

@ -0,0 +1,89 @@
<!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/javascript/index.html#">javascript</a> </li>
</ul>
<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;开头后面紧跟目标网页urlurl中可包含<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>
</div>
<p>Last Modified: 24 September 2022<br>
fix typos from torinfo.uweb to torapp.uweb<br>
<pre></pre>
</p>
<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>

76
zh/multiaccount.html Normal file
View File

@ -0,0 +1,76 @@
<!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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">利用多账号登录获取资源
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>谈到资源就离不开bt, bt下载费时费力离线bt是最佳选择。国内离线下载由于关键节点屏蔽基本没啥用。我的个人体验是彻彻底底完全没用但别人也许还有点用国外唯一一个有好体验的是seedr, 不过seedr有个大问题需要解决。</p>
<p>其它我曾推荐过的台湾bt, bug实在太多现在看来也成了半个垃圾。万般无奈之下只能重拾seedr.</p>
<p>seedr的问题是首次登录需要google人机验证登录成功以后可以永久使用无需小飞机辅助。</p>
<p>以前偶尔飞飞一点问题也没有毕竟1分钟飞行就可解决很长时间问题了。但目前的状态是信息基本被彻底封死1分钟飞行也成了奢望。所以十分有必要珍惜这来之不易的1分钟飞行成果。</p>
<p>现在直接上方案使用超微浏览器多账号登录。飞行1分钟以后成功登录seedr, 此时退出浏览器,千万不能强退,一定要让运存中的登录信息写到内部存储。然后用户可备份应用内部目录下的.cjar文件一旦浏览器失去登录状态可恢复此文件即可使用多账号登录重新登录让这1分钟飞行成果保存下来供万万年使用。需要注意的一点是用户退出seedr账号会使保存的文件作废。故千万不要退出账号需要用其它账号登录的请使用多账号登录。</p>
</div>
<p>Last Modified: 24 September 2022<br>
reorg for multi-languages<br>
<pre></pre>
</p>
<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>

Some files were not shown because too many files have changed in this diff Show More