uweb/en/index.xml

149 lines
8.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title></title>
<link>/en/</link>
<description>Recent content on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 02 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Site map</title>
<link>/en/sitemap/</link>
<pubDate>Sat, 02 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid>
<description>UI Search engines Home screen Quick start UI (gitee) Backup and restore Customization Bottom toolbar button long pressing menus User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Font settings Advanced Content AD blocking CSS styles redirection Javascript and CSS for domains Offline cache Tools Bookmarklets Custom file handling Html5 application File manager Tools Termux GNU bc Gnuplot tcron Offline download Miscellaneous Configuration files Plugins Tips Tips Video Debug </description>
</item>
<item>
<title>Configuration folders/files</title>
<link>/en/filenames/</link>
<pubDate>Thu, 30 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/filenames/</guid>
<description>All folders end with character &amp;quot;/&amp;quot; and others are files. If option &amp;quot;use in-app config&amp;quot; is checked, then &amp;quot;sitejs/&amp;quot; and &amp;quot;sitecache/&amp;quot; locate inside app internal folder (/data/data/info.torapp.uweb/files), otherwise all folders/files locate in &amp;quot;/sdcard/uweb&amp;quot;:
&amp;quot;css/&amp;quot;: global css folder
&amp;quot;js/&amp;quot;: global script folder
&amp;quot;sitejs/&amp;quot;: script folder for domains
&amp;quot;sitecss/&amp;quot;:CSS folder for domains
&amp;quot;bookmarklet/&amp;quot;:bookmarklets, long pressing the &amp;quot;JS&amp;quot; button to execute.
&amp;quot;offline/&amp;quot;: to save offline pages
&amp;quot;sbookmark/&amp;quot;: to save super bookmarks
&amp;quot;sitecache/&amp;quot;:offline cache</description>
</item>
<item>
<title>Links</title>
<link>/en/links/</link>
<pubDate>Thu, 30 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<description>Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon):
Certificate info
Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.link&amp;quot;. The file format is as follows:
[Menu name]:[url][space][javascript code]
in which space and later parts are optional. url and later parts support &amp;quot;%u&amp;quot;,&amp;quot;%s&amp;quot; etc.. The javascript code will be executed after url is fully loaded.</description>
</item>
<item>
<title>AD blocking</title>
<link>/en/adblock/</link>
<pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/adblock/</guid>
<description>Host blocking。
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。
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>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/bookmarklet/</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.
List all script urls
User agent
Cookie
Source code
Last modified date
Eruda: mobile console
QR code generation
Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;
Shows all form elements
Enables all form elements
Toggle checkboxes
Check all checkboxes
Uncheck all checkboxes
Toggle all checkboxes in forms
Enable selection</description>
</item>
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/pccopy/</guid>
<description>Click the following links to install menus for long pressing the button &amp;quot;link&amp;quot;:
google Translate
bing translate
deepL
The file &amp;quot;/sdcard/uweb/default.select&amp;quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &amp;quot;[input mimetype]/[output mimetype]&amp;quot;.
[input mimetype] can be the following:
&amp;quot;html&amp;quot;: rich text &amp;quot;&amp;quot; (empty): text &amp;quot;.</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>
<pubDate>Sun, 06 Feb 2022 00:00:00 +0000</pubDate>
<guid>/en/icons/</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;...
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,...
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 all VectorDrawables or 此时所有图标文件必须都是compiled XML格式或都是普通的图像格式png,jpg,gif等。用户可将VectorDrawable XML文件放到安卓项目目录assets下面重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
</item>
<item>
<title>Long pressed link menu</title>
<link>/en/longclick/</link>
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &amp;quot;/sdcard/uweb/default.longclick&amp;quot; has the following format: (same as default.cmds)
[Name]:[mimetype]:[command line]
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.
To visit url and load javascript file All &amp;quot;.js&amp;quot; files under the folder &amp;quot;/sdcard/uweb/longclick&amp;quot; are part of the popup menu.
These javascript files are in the following format:
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>Blocking domain trees</title>
<link>/en/adblock_domain/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<description>hosts blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &amp;quot;yahoo.com&amp;quot; and &amp;quot;finance.yahoo.com&amp;quot;. If the length of the last 2 segments is less than 7, such as &amp;quot;com.pl&amp;quot;, then it is treated as one segment, so domains like &amp;quot;xxx.xxx.com.pl&amp;quot; are also valid in the hosts file.
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</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;/sdcard/uweb/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>
</rss>