mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
398 lines
21 KiB
XML
398 lines
21 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||
<channel>
|
||
<title>uweb browser</title>
|
||
<link>/en/</link>
|
||
<description>Recent content on uweb browser</description>
|
||
<generator>Hugo -- gohugo.io</generator>
|
||
<lastBuildDate>Fri, 16 Sep 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||
<item>
|
||
<title>Downloads</title>
|
||
<link>/en/changelog/</link>
|
||
<pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/changelog/</guid>
|
||
<description>Amazon appstore
|
||
pagure
|
||
uweb, termux &amp; history versions
|
||
github
|
||
sourceforge
|
||
Change logs 917:
|
||
re-implement html5 enhancement for better mdict lookup support. 908:
|
||
Add internal links &quot;i:1d&quot; to launch apps. (to fix &quot;am&quot; issues for Android 8+) File sending now supports pseudo file manager (page url faked as a file url for folder), thus scripts of internal links &quot;d:&quot; can generate any kind of pseudo file manager for file transfer. Better support for naked Termux (without any initial packages with updateonly version).</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Html5 applications</title>
|
||
<link>/en/html5/</link>
|
||
<pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/html5/</guid>
|
||
<description>This page is for uweb browser.
|
||
Click to install the following html5 apps:
|
||
Huge markdown file viewer
|
||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||
plyr video player
|
||
dplayer video player
|
||
pdf viewer
|
||
epub reader (author:llili)
|
||
djvu viewer
|
||
The corresponding menus can be installed with url services.
|
||
Features The following mentioned subfolders locate in the configuration folder.
|
||
All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Address bar command modes</title>
|
||
<link>/en/acmd/</link>
|
||
<pubDate>Sat, 30 Jul 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/acmd/</guid>
|
||
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.
|
||
The configure file &quot;default.acmd&quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; botton to switch modes):
|
||
Shell command mode
|
||
GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Search engines</title>
|
||
<link>/en/search/</link>
|
||
<pubDate>Fri, 29 Jul 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/search/</guid>
|
||
<description>Clicking the following links to install search engines to uweb's home screen.
|
||
Recommended engines (click or append any of the following to the file &quot;home5.search&quot;):
|
||
Engines:i:40%s_00
|
||
bing image:http://bing.com/images/search?q=
|
||
wolfram:https://www.wolframalpha.com/input/?i=
|
||
wiki:https://en.wikipedia.org/wiki/Special:Search?search=
|
||
Youtube:https://www.youtube.com/results?search_query=
|
||
Facebook:https://www.facebook.com/search/str/%s/keywords_search
|
||
Instagram:https://www.instagram.com/explore/tags/%s/
|
||
boardreader:https://boardreader.com/s/%s.html
|
||
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
|
||
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.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Site map</title>
|
||
<link>/en/sitemap/</link>
|
||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/sitemap/</guid>
|
||
<description>UI Search engines UI (gitee) 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 Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </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 &quot;/&quot; and others are files. All folders/files locate in &quot;/data/data/info.torapp.uweb/files&quot;:
|
||
&quot;css/&quot;: global css folder
|
||
&quot;js/&quot;: global script folder
|
||
&quot;sitejs/&quot;: script folder for domains
|
||
&quot;sitecss/&quot;:CSS folder for domains
|
||
&quot;bookmarklet/&quot;:bookmarklets, long pressing the &quot;JS&quot; button to execute.
|
||
&quot;offline/&quot;: to save offline pages
|
||
&quot;sbookmark/&quot;: to save super bookmarks
|
||
&quot;sitecache/&quot;:offline cache
|
||
&quot;longclick/&quot;: menus to appear when long-pressing hypertext (js files)
|
||
&quot;icon/&quot;:customized icons
|
||
&quot;app[XXX]/&quot;:html5 applications
|
||
&quot;default.longclick&quot;: to configure menus when long-pressing hypertext.</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>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
||
VPN
|
||
Wait for network msg
|
||
Certificate info
|
||
Web fullscreen
|
||
Long pressing the bookmark button in uweb browser will popup menus defined in file &quot;default.link&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 &quot;%u&quot;,&quot;%s&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 &quot;list all script urls&quot; to generate url links, long pressing dubious script (usually 3rd-party library) link, click &quot;Block domain root&quot;. Javascript and CSS for domains。
|
||
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)!</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=&quot;../index.html&quot;&gt;uweb browser, long pressing any bookmarklet link, click &quot;Open in new tab&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 &quot;GET&quot; method for &quot;POST&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>Url services</title>
|
||
<link>/en/urls/</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 &quot;image&quot; button to popup the menu.
|
||
Fullscreen video:i:5f
|
||
Redirect/edit:e:
|
||
Save2autocomplete:i:51:
|
||
Bookmark:i:52:
|
||
Note:i:53:
|
||
Save engine:i:54:
|
||
Save link:i:55:
|
||
Save to desktop:i:58
|
||
Add to media storage::001
|
||
tgurl:https://tx.me/share/url?url=
|
||
tgdownload:https://tx.me/share/url?url=/download Compatible mode:i:5d
|
||
papago:https://papago.naver.net/website?locale=en&amp;target=en&amp;url=
|
||
google translate:https://translate.google.com/translate?sl=auto&amp;tl=en&amp;u=
|
||
Source:view-source:
|
||
outline:https://www.outline.com/
|
||
2pdf:https://www.web2pdfconvert.com#
|
||
printfriendly:https://www.printfriendly.com/print/?url=
|
||
htmlview:https://htmlview.glitch.me/?
|
||
htmlpreview:https://htmlpreview.github.io/?
|
||
webarchive:https://web.archive.org/web/*/
|
||
archive:https://archive.is/?run=1&amp;url=
|
||
google by image:https://www.google.com/searchbyimage?image_url=
|
||
tinyeye:https://tineye.com/search?url=
|
||
Yandex image:https://yandex.com/images/search?text=
|
||
Yandex by image:https://yandex.com/images/search?family=yes&amp;rpt=imageview&amp;url=
|
||
ascii2d:https://ascii2d.net/search/url/
|
||
trace.moe:https://trace.moe/?url=</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Commands</title>
|
||
<link>/en/cmds/</link>
|
||
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/cmds/</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.
|
||
Configuration file &quot;default.cmds&quot; examples:
|
||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||
Append query to autocomplete:uweb:cd /data/data/info.torinfo.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.torinfo.uweb/files/default.autoc
|
||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||
Clear logcat::logcat -c
|
||
logcat.log::logcat -d &gt; logcat.log
|
||
copy cookie:/clip:printf '%c'</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Execute javascript codes</title>
|
||
<link>/en/rjs/</link>
|
||
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/rjs/</guid>
|
||
<description>javascript for domains
|
||
Global javascript files locates in the subfolder &quot;js&quot; of app private folder. Long press button [☰] to configure. Click the following links to install:
|
||
&lt;a target=_self&quot; href=&quot;i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/passwdsave.js&quot;&gt;Save password
|
||
Instant page
|
||
large size javascript code can be installed to the folder &quot;bookmarklet&quot; (long pressing button &quot;js&quot; to popup menu):
|
||
Eruda
|
||
Performance
|
||
Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the &quot;search&quot; button to popup the menu.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Offline resources</title>
|
||
<link>/en/offlinecache/</link>
|
||
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/offlinecache/</guid>
|
||
<description>Corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded with option &quot;use offline resources&quot;.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Resource redirection</title>
|
||
<link>/en/redirect/</link>
|
||
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/redirect/</guid>
|
||
<description>Click the following links to append mirrors to the file &quot;default.redirect&quot;:
|
||
github mirror:fastgit
|
||
github mirror 2
|
||
google recaptcha mirror
|
||
Each line of the file &quot;default.redirect&quot; has the following format:
|
||
[domain name]:[regular expression]:[replacement expression]
|
||
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;.
|
||
Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &quot;url redirection&quot;.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Text selection</title>
|
||
<link>/en/pccopy/</link>
|
||
<pubDate>Sat, 23 Apr 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/pccopy/</guid>
|
||
<description>Click the following links to install menus for long pressing the button &quot;link&quot;:
|
||
google Translate
|
||
bing translate
|
||
deepL
|
||
The file &quot;default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
|
||
[Name]:[mimetype]:[command line]
|
||
[mimetype] specifies input/output for [command line].
|
||
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
||
[input mimetype] can be the following:
|
||
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>CSS styles</title>
|
||
<link>/en/globalcss/</link>
|
||
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/globalcss/</guid>
|
||
<description>Uweb browser loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:
|
||
Clearing font settings
|
||
The file &quot;night.css&quot; is used as night mode, click the following links to install one:
|
||
webview 81+ night mode
|
||
webview 80- night mode</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 &quot;icon&quot; exists, then files named as &quot;0&quot;,&quot;1&quot;,&quot;2&quot;...
|
||
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,...
|
||
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 all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Search engine files</title>
|
||
<link>/en/searchcat/</link>
|
||
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/searchcat/</guid>
|
||
<description>Any &quot;.search&quot; file can be opened as search engine file, each line of which has one of the following formats:
|
||
[Engine name]:[url without '%s' inside]
|
||
[Engine name]:[url with '%s' as keyword]
|
||
[Engine name]:POST:[post params with '%s' as keyword]:[url]
|
||
Limitations (they are here for performance reasons):
|
||
The first engine in the file must be the first type that has no '%s' in the engine url. 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).</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Termux</title>
|
||
<link>/en/termux/</link>
|
||
<pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/termux/</guid>
|
||
<description>Only the termux versions provided along with uweb browser can work seamlessly.
|
||
Termux bookmarks Long pressing the following links then either &quot;commands&quot;-&gt;&quot;bookmark&quot; to add bookmarks or &quot;open in new tab&quot; to execute.
|
||
GNU bc (basic calculator)
|
||
bc with all extensions
|
||
Click the following links to install termux configurations: .bashrc
|
||
.inputrc
|
||
z.sh
|
||
commacd.sh
|
||
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Tips</title>
|
||
<link>/en/tips/</link>
|
||
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/tips/</guid>
|
||
<description>Configuration folder and file managers
|
||
With shell command mode, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
|
||
To show web pages in desktop mode:
|
||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||
Multiple home screens and Next/Prev page:
|
||
home5.html, home6.html/home6.search, home7.html/home7.search, ... can be visited via pressing the right arrow button while home4.html/home4.search, home3.html/home3.search ... with long pressing the left arrow.</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 &quot;default.longclick&quot; has the following format: (same as default.cmds)
|
||
[Name]:[mimetype]:[command line]
|
||
in which [command line] can have &quot;%c&quot; (cookie), &quot;%u&quot; (current url), &quot;%t&quot; (title) etc.
|
||
To visit url and load javascript file All &quot;.js&quot; files under the folder &quot;longclick&quot; are part of the popup menu.
|
||
These javascript files are in the following format:
|
||
The very first line can begin with &quot;//&quot; followed by website url that can have &quot;%u&quot; (current url), &quot;%t&quot; (title) etc.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Custom file handling</title>
|
||
<link>/en/filecap/</link>
|
||
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/filecap/</guid>
|
||
<description>Long press the settings button, check the option &quot;custom file handling&quot; to enable the functionality.
|
||
The custom file handling configuration file is &quot;default.filecap&quot;, each line of it has the format as follows:
|
||
[file extension]:[mimetype]:[command line]
|
||
The &quot;[file extension]&quot; part can have at most two-segment of extensions such as &quot;txt.xz&quot;,&quot;html.gz&quot;.
|
||
&quot;[mimetype]&quot; indicates the type of &quot;[command line]&quot; output.
|
||
&quot;[command line]&quot; is same as the one in default.cmds. The most often used replacements are:</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Gestures</title>
|
||
<link>/en/gesture/</link>
|
||
<pubDate>Thu, 18 Jun 2020 00:00:00 +0000</pubDate>
|
||
|
||
<guid>/en/gesture/</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 &quot;swipe to hide tools&quot;; swipe on the bottom corners to show the toolbar.
|
||
Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
|
||
Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file &quot;default.</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>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 &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.
|
||
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 &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. 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. Long press the button &quot;settings&quot;, check the option &quot;Run user scripts&quot;.</description>
|
||
</item>
|
||
|
||
</channel>
|
||
</rss>
|