<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. If option &quot;use in-app config&quot; is checked, then &quot;sitejs/&quot; and &quot;sitecache/&quot; locate inside app internal folder (/data/data/info.torapp.uweb/files), otherwise all folders/files locate in &quot;/sdcard/uweb&quot;:
<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
@ -29,7 +29,11 @@
&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;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>
@ -91,7 +95,7 @@ Enable selection</description>
google Translate
bing translate
deepL
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines 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;.
@ -105,9 +109,9 @@ It formats as &quot;[input mimetype]/[output mimetype]&quot;.
<description>Uweb browser loads all &quot;.css&quot; files under the folder &quot;/sdcard/uweb/css&quot; as global css. Click the following links to install global css files:
<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;/sdcard/uweb/night.css&quot; is used as night mode, click the following links to install one:
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>
@ -129,10 +133,10 @@ If a new button is defined (file name &quot;20&quot; exists), uweb also
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &quot;/sdcard/uweb/default.longclick&quot; has the following format: (same as default.cmds)
<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;/sdcard/uweb/longclick&quot; are part of the popup menu.
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>
@ -144,7 +148,7 @@ The very first line can begin with &quot;//&quot; followed by website ur
<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;/sdcard/uweb/default.filecap&quot;, each line of it has the format as follows:
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.
@ -161,6 +165,15 @@ The &quot;[file extension]&quot; part can have at most two-segment of ex
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Change log</title>
<link>/en/changelog/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/changelog/</guid>
<description>901: Use in-app files folder for configuration</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>
@ -168,7 +181,7 @@ Each line of the hosts file has the following format:</description>
<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;/sdcard/uweb/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>
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>
<p>Long press the setting button, check the option "Block external scripts". <ahref="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/en/searchurl/func.html">UI</a> website has option to also block dubious 3rd party resources. <ahref="file:///sdcard/uweb/js.allow">js.allow</a> whitelists js libraries.</p>
<p>Long press the setting button, check the option "Block external scripts". <ahref="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/en/searchurl/func.html">UI</a> website has option to also block dubious 3rd party resources. <ahref="file:///data/data/info.torinfo.uweb/files/js.allow">js.allow</a> whitelists js libraries.</p>
</li>
<li>
<p>Long press the button [☰], "Disable floating ADs", "Disable banners", "clear all timers", "stop events" and "Sleep ..." are also available.</p>
@ -66,7 +66,7 @@
<p>Click the button "JS" to disable javascript.</p>
</li>
<li>
<p><ahref="file:///sdcard/uweb/url.deny">url.deny</a>: one giant regular expression for blocked urls (java grammar), in which carriage returns (CR or newline) are ignored and "#" is for comments.</p>
<p><ahref="file:///data/data/info.torinfo.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 "#" is for comments.</p>
<p><ahref="file:///sdcard/uweb/default.hosts">hosts</a> blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.</p>
<p><ahref="file:///data/data/info.torinfo.uweb/files/default.hosts">hosts</a> blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" 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 "http(s)://"]<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>
<p>All folders end with character "/" and others are files. If option "use in-app config" is checked, then "sitejs/" and "sitecache/" locate inside app internal folder (/data/data/info.torapp.uweb/files), otherwise all folders/files locate in "/sdcard/uweb":<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/js/">js/</a>": global script folder<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/sitejs/">sitejs/</a>": <ahref="../sitejs/index.html">script folder for domains</a><br>
"<ahref="file:///data/data/info.torinfo.uweb/files/sitecss/">sitecss/</a>":<ahref="../sitejs/index.html">CSS folder for domains</a><br>
"<ahref="file:///data/data/info.torinfo.uweb/files/bookmarklet/">bookmarklet/</a>":bookmarklets, long pressing the "JS" button to execute.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/offline/">offline/</a>": to save offline pages<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/sbookmark/">sbookmark/</a>": to save super bookmarks<br>
"<ahref="e:file:///sdcard/uweb/default.select">default.select</a>":<ahref="../pccopy/index.html">menus for selected text</a><br>
"<ahref="e:file:///sdcard/uweb/default.input">default.input</a>": common phrases for user inputs<br>
"<ahref="e:file:///sdcard/uweb/default.gesture">default.gesture</a>": to define <ahref="../gesture/index.html">gestures on the top part of the content window</a>. The file format is same as <ahref="../links/index.html">default.link</a>,<br>
"<ahref="e:file:///sdcard/uweb/default.gesture2">default.gesture2</a>": gestures on the right side similar to default.gesture.<br>
"<ahref="e:file:///sdcard/uweb/default.button">default.button</a>": to re-define button pressing functionalities. The file format is same as <ahref="../links/index.html">default.link</a>, each line represents action from the last button to the first.<br>
"<ahref="e:file:///sdcard/uweb/default.button2">default.button2</a>": similar to default.button but for long-pressed buttons.<br>
"<ahref="e:file:///sdcard/uweb/default.rc">default.rc</a>": check the option "custom file handling" to execute the shell script file during uweb launching. <ahref="../tools/index.html">tcron</a> provides extra cron tools.<br>
"<ahref="e:file:///sdcard/uweb/default.rc2">default.rc2</a>": check the option "custom file handling" to execute the shell script file when uweb returns to foreground.<br>
"<ahref="e:file:///sdcard/uweb/engine.search">engine.search</a>": to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to <ahref="../searchurl/search.html">home5.search</a> but using "%s" as search keywords.<br>
"<ahref="e:file:///sdcard/uweb/default.siteconf">default.siteconf</a>": 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>
"<ahref="e:file:///sdcard/uweb/default.playrate">default.playrate</a>": fullscreen playing menu. The file format is same as <ahref="../links/index.html">default.link</a>. Playing ratio menu items should have empty link parts such as ".5x:", at least one such menu is required. All other menus must be put after playing ratio menus.<br>
"<ahref="e:file:///sdcard/uweb/default.autoc">default.autoc</a>": address bar autocomplete candidate strings.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>": to configure menus when long-pressing hypertext.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.acmd">default.acmd</a>":<ahref="../gnuplot/index.html">configure address bar functionalities</a><br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.hosts">default.hosts</a>":<ahref="../adblock_hosts/index.html">hosts not allowed to visit</a><br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.select">default.select</a>":<ahref="../pccopy/index.html">menus for selected text</a><br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.input">default.input</a>": common phrases for user inputs<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.gesture">default.gesture</a>": to define <ahref="../gesture/index.html">gestures on the top part of the content window</a>. The file format is same as <ahref="../links/index.html">default.link</a>,<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.gesture2">default.gesture2</a>": gestures on the right side similar to default.gesture.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.button">default.button</a>": to re-define button pressing functionalities. The file format is same as <ahref="../links/index.html">default.link</a>, each line represents action from the last button to the first.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.button2">default.button2</a>": similar to default.button but for long-pressed buttons.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.rc">default.rc</a>": check the option "custom file handling" to execute the shell script file during uweb launching. <ahref="../tools/index.html">tcron</a> provides extra cron tools.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.rc2">default.rc2</a>": check the option "custom file handling" to execute the shell script file when uweb returns to foreground.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/engine.search">engine.search</a>": to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to <ahref="../searchurl/search.html">home5.search</a> but using "%s" as search keywords.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.siteconf">default.siteconf</a>": 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>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.playrate">default.playrate</a>": fullscreen playing menu. The file format is same as <ahref="../links/index.html">default.link</a>. Playing ratio menu items should have empty link parts such as ".5x:", at least one such menu is required. All other menus must be put after playing ratio menus.<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.autoc">default.autoc</a>": address bar autocomplete candidate strings.<br>
"query.autoc": home screen search autocomplete candidate strings.<br>
"<ahref="e:file:///sdcard/uweb/home5.html">home5.html</a>": user defined home screen. home6.html, home6.search, home7.html ... multiple home screen (pressing right arrow button to visit). ".html" files have priority over ".search" files. home4.html, home4.search, home3.html ... (long pressing left arrow button to access).<br>
"<ahref="e:file:///sdcard/uweb/default.css">default.css</a>": <ahref="../sitejs/index.html">default CSS style for domains not defined in sitejs folder</a><br>
"<ahref="file:///data/data/info.torinfo.uweb/files/home5.html">home5.html</a>": user defined home screen. home6.html, home6.search, home7.html ... multiple home screen (pressing right arrow button to visit). ".html" files have priority over ".search" files. home4.html, home4.search, home3.html ... (long pressing left arrow button to access).<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/default.css">default.css</a>": <ahref="../sitejs/index.html">default CSS style for domains not defined in sitejs folder</a><br>
"bookmarklet/videoplayer.js": <ahref="../video/index.html">fullscreen video player</a><br>
"<ahref="e:file:///sdcard/uweb/types.sniff">types.sniff</a>": file types for resource sniffer<br>
"<ahref="file:///data/data/info.torinfo.uweb/files/types.sniff">types.sniff</a>": file types for resource sniffer<br>
"js.allow": 3rd-party resource white list. One domain per line.<br>
"url.deny": one giant regular expression for blocked urls (java grammar). "#" to comment and carriage return (CR or new line) is ignored.<br>
<p><ahref="../index.html">Uweb browser</a> loads all ".css" files under the folder "/sdcard/uweb/css" as global css. Click the following links to install global css files:</p>
<p><ahref="i:0h/sdcard/uweb/css/clearfont.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file "/sdcard/uweb/night.css" is used as night mode, click the following links to install one:<br>
<ahref="i:0h/sdcard/uweb/night.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<ahref="i:0h/sdcard/uweb/night.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
<p><ahref="../index.html">Uweb browser</a> loads all ".css" files under the folder "css" as global css. Click the following links to install global css files:</p>
<p><ahref="i:0hcss/clearfont.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file "night.css" is used as night mode, click the following links to install one:<br>
<ahref="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<ahref="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
<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. If option &quot;use in-app config&quot; is checked, then &quot;sitejs/&quot; and &quot;sitecache/&quot; locate inside app internal folder (/data/data/info.torapp.uweb/files), otherwise all folders/files locate in &quot;/sdcard/uweb&quot;:
<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
@ -29,7 +29,11 @@
&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;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>
@ -91,7 +95,7 @@ Enable selection</description>
google Translate
bing translate
deepL
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines 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;.
@ -105,9 +109,9 @@ It formats as &quot;[input mimetype]/[output mimetype]&quot;.
<description>Uweb browser loads all &quot;.css&quot; files under the folder &quot;/sdcard/uweb/css&quot; as global css. Click the following links to install global css files:
<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;/sdcard/uweb/night.css&quot; is used as night mode, click the following links to install one:
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>
@ -129,10 +133,10 @@ If a new button is defined (file name &quot;20&quot; exists), uweb also
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &quot;/sdcard/uweb/default.longclick&quot; has the following format: (same as default.cmds)
<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;/sdcard/uweb/longclick&quot; are part of the popup menu.
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>
@ -144,7 +148,7 @@ The very first line can begin with &quot;//&quot; followed by website ur
<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;/sdcard/uweb/default.filecap&quot;, each line of it has the format as follows:
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.
@ -161,6 +165,15 @@ The &quot;[file extension]&quot; part can have at most two-segment of ex
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Change log</title>
<link>/en/changelog/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/changelog/</guid>
<description>901: Use in-app files folder for configuration</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>
@ -168,7 +181,7 @@ Each line of the hosts file has the following format:</description>
<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;/sdcard/uweb/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>
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>
<p>Long pressing the bookmark button in <ahref="../index.html">uweb browser</a> will popup menus defined in file "default.link". The file format is as follows:<br>
[Menu name]:[url][space][javascript code]</p>
<p>in which space and later parts are optional. url and later parts support <ahref="../cmd/index.html">"%u","%s" etc.</a>. The javascript code will be executed after url is fully loaded.</p>
<p>Each line of file "<ahref="file:///sdcard/uweb/default.longclick">/sdcard/uweb/default.longclick</a>" has the following format: (same as <ahref="../searchurl/cmds.html">default.cmds</a>)<br>
<p>Each line of file "<ahref="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>" has the following format: (same as <ahref="../searchurl/cmds.html">default.cmds</a>)<br>
[Name]:[mimetype]:[command line]<br>
in which [command line] can have <ahref="../searchurl/cmds.html">"%c" (cookie), "%u" (current url), "%t" (title)</a> etc.</p>
<h4id="to-visit-url-and-load-javascript-file">To visit url and load javascript file</h4>
<p>All ".js" files under the folder "<ahref="file:///sdcard/uweb/longclick/">/sdcard/uweb/longclick</a>" are part of the popup menu.<br>
<p>All ".js" files under the folder "<ahref="file:///data/data/info.torinfo.uweb/files/longclick/">longclick</a>" 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 "//" followed by website url that can have <ahref="../searchurl/cmds.html">"%u" (current url), "%t" (title)</a> etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.</li>
<p>The file "/sdcard/uweb/default.select" 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:<br>
<p>The file "default.select" 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:<br>
[Name]:[mimetype]:[command line]</p>
<p>[mimetype] specifies input/output for [command line].<br>
It formats as "[input mimetype]/[output mimetype]".<br>
@ -63,8 +63,8 @@ It formats as "[input mimetype]/[output mimetype]".<br>
<li>"uweb": output as a link</li>
<li>"termux": output as termux command</li>
</ul>
<p><atarget="_self"href="i:0h/sdcard/uweb/check.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/check.js">checked.js</a>: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][<em>[postfix]]". For example, "file:///sdcard/?</em>.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).</p>
<p>/sdcard/uweb/default.select sample file:<br>
<p><atarget="_self"href="i:0hcheck.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/check.js">checked.js</a>: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][<em>[postfix]]". For example, "file:///sdcard/?</em>.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).</p>
<p><b>large size javascript code</b> can be installed to the folder "/sdcard/uweb/bookmarklet" (long pressing button "js" to popup menu):<br>
<p><b>Remote javascript</b> is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app</b>, then long press the button with icon "search" to popup the menu.):<br>
<p>Javascript (load when page completes, earliest loaded JS should use sitecss).</p>
<ul>
<li>Need to be named as "[domain root].js", such as "yahoo.com.js" or "finance.yahoo.com.js". 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 "/sdcard/uweb/sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority.</li>
<li>Script must be put under the folder "sitejs" or "/data/data/info.torapp.uweb/files/sitejs". The later folder has the priority.</li>
<li>Long press the button "settings", check the option "Run user scripts".</li>
<li>Support 2/3-segment domains. If the length of the last 2-segments of domain is less than 7 (ex. "com.pl"), then it is treated as one segment.</li>
</ul>
<p>CSS style and earliest loaded JS</p>
<ul>
<li>Need to be named as "[domain root].css", such as yahoo.com.css or finance.yahoo.com.css。</li>
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
[Name]:[mimetype]:[command line]
[mimetype] specifies input/output for [command line].
It formats as &quot;[input mimetype]/[output mimetype]&quot;.
<description>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;/sdcard/uweb/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>
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>
<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;/sdcard/uweb/default.filecap&quot;, each line of it has the format as follows:
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.
<pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate>
<guid>/en/longclick/</guid>
<description>To run commands Each line of file &quot;/sdcard/uweb/default.longclick&quot; has the following format: (same as default.cmds)
<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;/sdcard/uweb/longclick&quot; are part of the popup menu.
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>
@ -51,7 +51,7 @@ The very first line can begin with &quot;//&quot; followed by website ur
<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;/sdcard/uweb/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>
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>
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines 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;.
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines 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;.
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines 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;.
@ -31,7 +31,7 @@ It formats as &quot;[input mimetype]/[output mimetype]&quot;.
<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;/sdcard/uweb/default.filecap&quot;, each line of it has the format as follows:
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.
The file &quot;/sdcard/uweb/default.select&quot; defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
The file &quot;default.select&quot; defines 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;.
<ahref="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><br><br>
<p><ahref="i:02iPhone:Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1">iPhone:Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1</a></p>
<p><ahref="i:02win:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36">win:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36</a></p>
<p><ahref="i:02win:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.0.0 Safari/537.36">win:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.0.0 Safari/537.36</a></p>
<p><ahref="i:02IE11:Mozilla/5.0 (Windows NT 10.0; Trident/7.0; rv:11.0) like Gecko">IE11:Mozilla/5.0 (Windows NT 10.0; Trident/7.0; rv:11.0) like Gecko</a></p>
<p><ahref="i:02QQ:Mozilla/5.0 (Linux; U; Android 10;) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.83 MQQBrowser/9.6 TBS/045018 Mobile Safari/537.36 MicroMessenger/7.6">QQ:Mozilla/5.0 (Linux; U; Android 10;) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.83 MQQBrowser/9.6 TBS/045018 Mobile Safari/537.36 MicroMessenger/7.6</a></p>
<p><ahref="i:02quark:Mozilla/5.0 (Linux; U; Android 6.0.1; zh-CN; HW Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 Quark/3.7.0.123 Mobile Safari/537.36">quark:Mozilla/5.0 (Linux; U; Android 6.0.1; zh-CN; HW Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 Quark/3.7.0.123 Mobile Safari/537.36</a></p>
<ahref="i:00AHD:d:text/html:tdict_loc ahd \'%s\'|loc2html text/plain https://mirror.ghproxy.com/https://github.com/torappinfo/century-dictionary/releases/download/v1/ahd.md:">安装双解字典至主屏</a></p>
<ahref="i:00汉语大词典:d:text/html:tdict_loc hy \'%s\'|loc2html text/plain http://d0.ananas.chaoxing.com/download/659dcd55a44e80a896a6c193d8dd4dac:">安装汉语词典至主屏</a></p>