mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Sat Jul 9 08:45:16 AM CST 2022
This commit is contained in:
parent
4608c0fc8d
commit
e6a2e5d8d9
89 changed files with 530 additions and 478 deletions
|
@ -21,7 +21,7 @@
|
|||
<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;sitecache/&quot;:offline cache</description>
|
||||
&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>
|
||||
|
@ -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;.
|
|||
<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;/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>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Long press the setting button, check the option "Block external scripts". <a href="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. <a href="file:///sdcard/uweb/js.allow">js.allow</a> whitelists js libraries.</p>
|
||||
<p>Long press the setting button, check the option "Block external scripts". <a href="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. <a href="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><a href="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><a href="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>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<li><a href="../tags/adblock">adblock</a> </li>
|
||||
|
||||
</ul>
|
||||
<p><a href="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><a href="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>
|
||||
|
|
41
en/changelog/index.html
Normal file
41
en/changelog/index.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
|
||||
<title>Change log</title>
|
||||
<script type="text/javascript">
|
||||
function nav2(page){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
location.href = href.substring(0,i+1)+page;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
</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">Change log
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p>901: Use in-app files folder for configuration</p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -38,13 +38,13 @@
|
|||
|
||||
</ul>
|
||||
<p>Long press the settings button, check the option "custom file handling" to enable the functionality.</p>
|
||||
<p>The custom file handling configuration file is "/sdcard/uweb/default.filecap", each line of it has the format as follows:<br>
|
||||
<p>The custom file handling configuration file is "default.filecap", each line of it has the format as follows:<br>
|
||||
[file extension]:[mimetype]:[command line]</p>
|
||||
<p>The "[file extension]" part can have at most two-segment of extensions such as "txt.xz","html.gz".<br>
|
||||
"[mimetype]" indicates the type of "[command line]" output.<br>
|
||||
"[command line]" is same as the one in <a href="../searchurl/cmds.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>/sdcard/uweb/default.filecap example:</p>
|
||||
<p>default.filecap example:</p>
|
||||
<pre><code>txt:text/html:curl %p "%u"
|
||||
mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
|
||||
m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
|
||||
|
@ -59,9 +59,9 @@ 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:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u
|
||||
djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u
|
||||
epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u</code></pre>
|
||||
<pre><code>pdf:uweb:echo file:///data/data/info.torinfo.uweb/files/app/pdf.js/web/viewer.html?file=%u
|
||||
djvu:uweb:echo file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=%u
|
||||
epub:uweb:echo file:///data/data/info.torinfo.uweb/files/app/reader/index.html?bookPath==%u</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -33,57 +33,57 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<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>
|
||||
"<a href="file:///sdcard/uweb/css/">css/</a>": <a href="../globalcss/index.html">global css folder</a><br>
|
||||
"<a href="file:///sdcard/uweb/js/">js/</a>": global script folder<br>
|
||||
"<a href="file:///sdcard/uweb/sitejs/">sitejs/</a>": <a href="../sitejs/index.html">script folder for domains</a><br>
|
||||
"<a href="file:///sdcard/uweb/sitecss/">sitecss/</a>":<a href="../sitejs/index.html">CSS folder for domains</a><br>
|
||||
"<a href="file:///sdcard/uweb/bookmarklet/">bookmarklet/</a>":bookmarklets, long pressing the "JS" button to execute.<br>
|
||||
"<a href="file:///sdcard/uweb/offline/">offline/</a>": to save offline pages<br>
|
||||
"<a href="file:///sdcard/uweb/sbookmark/">sbookmark/</a>": to save super bookmarks<br>
|
||||
"<a href="file:///sdcard/uweb/sitecache/">sitecache/</a>":<a href="../offlinecache/index.html">offline cache</a><br>
|
||||
"<a href="file:///sdcard/uweb/longclick/">longclick/</a>": menus to appear when long-pressing hypertext (js files)<br>
|
||||
"<a href="file:///sdcard/uweb/icon/">icon/</a>":<a href="../icons/index.html">customized icons</a><br>
|
||||
<p>All folders end with character "/" and others are files. All folders/files locate in "/data/data/info.torapp.uweb/files":<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/css/">css/</a>": <a href="../globalcss/index.html">global css folder</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/js/">js/</a>": global script folder<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/sitejs/">sitejs/</a>": <a href="../sitejs/index.html">script folder for domains</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/sitecss/">sitecss/</a>":<a href="../sitejs/index.html">CSS folder for domains</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/bookmarklet/">bookmarklet/</a>":bookmarklets, long pressing the "JS" button to execute.<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/offline/">offline/</a>": to save offline pages<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/sbookmark/">sbookmark/</a>": to save super bookmarks<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/sitecache/">sitecache/</a>":<a href="../offlinecache/index.html">offline cache</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/longclick/">longclick/</a>": menus to appear when long-pressing hypertext (js files)<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/icon/">icon/</a>":<a href="../icons/index.html">customized icons</a><br>
|
||||
"app[XXX]/":<a href="../html5/index.html">html5 applications</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.longclick">default.longclick</a>": to configure menus when long-pressing hypertext.<br>
|
||||
"<a href="e:file:///sdcard/uweb/default.uas">default.uas</a>":<a href="../searchurl/uas.html">user agents</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.urls">default.urls</a>":<a href="../searchurl/urls.html">service urls</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.acmd">default.acmd</a>":<a href="../gnuplot/index.html">configure address bar functionalities</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.hosts">default.hosts</a>":<a href="../adblock_hosts/index.html">hosts not allowed to visit</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.redirect">default.redirect</a>":<a href="../redirect/index.html">redirect websites</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.cmds">default.cmds</a>":<a href="../searchurl/cmds.html">commands</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.link">default.link</a>":<a href="../links/index.html">links</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.rjs">default.rjs</a>":<a href="../rjs/index.html">Remote javascript</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.select">default.select</a>":<a href="../pccopy/index.html">menus for selected text</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.input">default.input</a>": common phrases for user inputs<br>
|
||||
"<a href="e:file:///sdcard/uweb/default.gesture">default.gesture</a>": 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>
|
||||
"<a href="e:file:///sdcard/uweb/default.gesture2">default.gesture2</a>": gestures on the right side similar to default.gesture.<br>
|
||||
"<a href="e:file:///sdcard/uweb/default.button">default.button</a>": 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>
|
||||
"<a href="e:file:///sdcard/uweb/default.button2">default.button2</a>": similar to default.button but for long-pressed buttons.<br>
|
||||
"<a href="e:file:///sdcard/uweb/default.filecap">default.filecap</a>":<a href="../filecap/index.html">custom file handling</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/default.rc">default.rc</a>": check the option "custom file handling" to execute the shell script file during uweb launching. <a href="../tools/index.html">tcron</a> provides extra cron tools.<br>
|
||||
"<a href="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>
|
||||
"<a href="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 <a href="../searchurl/search.html">home5.search</a> but using "%s" as search keywords.<br>
|
||||
"<a href="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>
|
||||
"<a href="e:file:///sdcard/uweb/default.playrate">default.playrate</a>": 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 ".5x:", at least one such menu is required. All other menus must be put after playing ratio menus.<br>
|
||||
"<a href="e:file:///sdcard/uweb/default.autoc">default.autoc</a>": address bar autocomplete candidate strings.<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>": to configure menus when long-pressing hypertext.<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.uas">default.uas</a>":<a href="../searchurl/uas.html">user agents</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.urls">default.urls</a>":<a href="../searchurl/urls.html">service urls</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.acmd">default.acmd</a>":<a href="../gnuplot/index.html">configure address bar functionalities</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.hosts">default.hosts</a>":<a href="../adblock_hosts/index.html">hosts not allowed to visit</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.redirect">default.redirect</a>":<a href="../redirect/index.html">redirect websites</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.cmds">default.cmds</a>":<a href="../searchurl/cmds.html">commands</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.link">default.link</a>":<a href="../links/index.html">links</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.rjs">default.rjs</a>":<a href="../rjs/index.html">Remote javascript</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.select">default.select</a>":<a href="../pccopy/index.html">menus for selected text</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.input">default.input</a>": common phrases for user inputs<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.gesture">default.gesture</a>": 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>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.gesture2">default.gesture2</a>": gestures on the right side similar to default.gesture.<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.button">default.button</a>": 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>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.button2">default.button2</a>": similar to default.button but for long-pressed buttons.<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.filecap">default.filecap</a>":<a href="../filecap/index.html">custom file handling</a><br>
|
||||
"<a href="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. <a href="../tools/index.html">tcron</a> provides extra cron tools.<br>
|
||||
"<a href="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>
|
||||
"<a href="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 <a href="../searchurl/search.html">home5.search</a> but using "%s" as search keywords.<br>
|
||||
"<a href="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>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.playrate">default.playrate</a>": 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 ".5x:", at least one such menu is required. All other menus must be put after playing ratio menus.<br>
|
||||
"<a href="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>
|
||||
"<a href="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>
|
||||
"<a href="e:file:///sdcard/uweb/home5.search">home5.search</a>":<a href="../searchurl/search.html">search engines</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/home.css">home.css</a>": <a href="../searchurl/homescreen.html">home screen styles</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/bookmark.html">bookmark.html</a>": bookmarks<br>
|
||||
"<a href="e:file:///sdcard/uweb/quickstart.html">quickstart.html</a>": <a href="../searchurl/quickstart.html">quick start</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/colors.txt">colors.txt</a>": background colors<br>
|
||||
"<a href="e:file:///sdcard/uweb/default.css">default.css</a>": <a href="../sitejs/index.html">default CSS style for domains not defined in sitejs folder</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/night.css">night.css</a>": <a href="../globalcss/index.html">Night mode</a><br>
|
||||
"<a href="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>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/home5.search">home5.search</a>":<a href="../searchurl/search.html">search engines</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/home.css">home.css</a>": <a href="../searchurl/homescreen.html">home screen styles</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/bookmark.html">bookmark.html</a>": bookmarks<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/quickstart.html">quickstart.html</a>": <a href="../searchurl/quickstart.html">quick start</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/colors.txt">colors.txt</a>": background colors<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/default.css">default.css</a>": <a href="../sitejs/index.html">default CSS style for domains not defined in sitejs folder</a><br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/night.css">night.css</a>": <a href="../globalcss/index.html">Night mode</a><br>
|
||||
"bookmarklet/videoplayer.js": <a href="../video/index.html">fullscreen video player</a><br>
|
||||
"<a href="e:file:///sdcard/uweb/types.sniff">types.sniff</a>": file types for resource sniffer<br>
|
||||
"<a href="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>
|
||||
"<a href="file:///sdcard/uweb/sniff.log">sniff.log</a>": resource sniffing result<br>
|
||||
"<a href="file:///sdcard/uweb/history.rec">history.rec</a>": visiting history<br>
|
||||
"<a href="file:///sdcard/uweb/query.rec">query.rec</a>": query history</p>
|
||||
<p>"shortcut/": dynamical shortcut, if not exist, then default to "/sdcard/uweb/bookmark".</p>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/sniff.log">sniff.log</a>": resource sniffing result<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/history.rec">history.rec</a>": visiting history<br>
|
||||
"<a href="file:///data/data/info.torinfo.uweb/files/query.rec">query.rec</a>": query history</p>
|
||||
<p>"shortcut/": dynamical shortcut, if not exist, then default to "bookmark".</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -33,11 +33,11 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p><a href="../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><a href="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>
|
||||
<a href="i:0h/sdcard/uweb/night.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
|
||||
<a href="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><a href="../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><a href="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>
|
||||
<a href="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
|
||||
<a href="i:0hnight.css:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -118,6 +118,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="changelog/index.html">
|
||||
<span>Change log</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="sitejs/index.html">
|
||||
<span>Javascript and CSS for domains</span>
|
||||
|
|
31
en/index.xml
31
en/index.xml
|
@ -21,7 +21,7 @@
|
|||
<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;sitecache/&quot;:offline cache</description>
|
||||
&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>
|
||||
|
@ -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;.
|
|||
<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;/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>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
|
||||
</ul>
|
||||
<p>Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon):<br>
|
||||
<a href="i:0g/sdcard/uweb/default.link::Certificate info:i:1b%0A">Certificate info</a></p>
|
||||
<p><a href="i:0g/sdcard/uweb/default.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p>
|
||||
<a href="i:0gdefault.link::Certificate info:i:1b%0A">Certificate info</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="../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 <a href="../cmd/index.html">"%u","%s" etc.</a>. The javascript code will be executed after url is fully loaded.</p>
|
||||
|
|
|
@ -36,11 +36,11 @@
|
|||
|
||||
</ul>
|
||||
<h4 id="to-run-commands">To run commands</h4>
|
||||
<p>Each line of file "<a href="file:///sdcard/uweb/default.longclick">/sdcard/uweb/default.longclick</a>" has the following format: (same as <a href="../searchurl/cmds.html">default.cmds</a>)<br>
|
||||
<p>Each line of file "<a href="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>" has the following format: (same as <a href="../searchurl/cmds.html">default.cmds</a>)<br>
|
||||
[Name]:[mimetype]:[command line]<br>
|
||||
in which [command line] can have <a href="../searchurl/cmds.html">"%c" (cookie), "%u" (current url), "%t" (title)</a> etc.</p>
|
||||
<h4 id="to-visit-url-and-load-javascript-file">To visit url and load javascript file</h4>
|
||||
<p>All ".js" files under the folder "<a href="file:///sdcard/uweb/longclick/">/sdcard/uweb/longclick</a>" are part of the popup menu.<br>
|
||||
<p>All ".js" files under the folder "<a href="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 <a href="../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>
|
||||
|
|
|
@ -44,10 +44,10 @@
|
|||
|
||||
</ul>
|
||||
<p>Click the following links to install menus for long pressing the button "link":<br>
|
||||
<a href="i:0g/sdcard/uweb/default.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:0g/sdcard/uweb/default.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:0g/sdcard/uweb/default.select::deepL:/uweb:print 'https://www.deepl.com/translator {function tE(el,t){var e=new Event(t);el.dispatchEvent(e);}let s=document.querySelector(%22textarea%22);s.value=%60';cat;print '%60;tE(s,%22change%22)}'%0A">deepL</a></p>
|
||||
<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>
|
||||
<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:print 'https://www.deepl.com/translator {function tE(el,t){var e=new Event(t);el.dispatchEvent(e);}let s=document.querySelector(%22textarea%22);s.value=%60';cat;print '%60;tE(s,%22change%22)}'%0A">deepL</a></p>
|
||||
<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><a target="_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><a target="_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>default.select sample file:<br>
|
||||
copy2addressbar:uweb:printf i:15;cat<br>
|
||||
copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"<br>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@ let sa = [`<style>input{height:40px;width:100%;border-radius:50px;}</style>
|
|||
<option value="monospace">
|
||||
<option value="cursive">
|
||||
</datalist>
|
||||
<form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:0i/sdcard/uweb/config.html:'+f.font.value+
|
||||
<form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:0i/data/data/info.torinfo.uweb/files/config.html:'+f.font.value+
|
||||
'&'+ f.cursive.value +
|
||||
'&'+ f.fantasy.value +
|
||||
'&'+ f.fixed.value +
|
||||
|
|
|
@ -15,9 +15,9 @@ body>ul{padding-left:0;}
|
|||
</head><body>
|
||||
<p>Click the following link to activate corresponding functionalities:</p>
|
||||
<ul>
|
||||
<li><a href="i:0n">Generate global css</a> for all fonts under "/sdcard/uweb/app/fonts/"</li>
|
||||
<li><a href="i:0n">Generate global css</a> for all fonts under "app/fonts/"</li>
|
||||
<li><a href="i:13" onclick="return checkbox_reset(checkBoxes.length);">Restore default settings</a>
|
||||
<li><a href="i:11">Refresh dynamic shortcuts ("shortcut/" in internal folder or "/sdcard/uweb/bookmark")</a></li>
|
||||
<li><a href="i:11">Refresh dynamic shortcuts ("shortcut/" or "bookmark/" in internal folder )</a></li>
|
||||
<li><a href="i:12">Toggle reverse portrait when screen rotation follows system</a></li>
|
||||
</ul>
|
||||
<hr/>
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
<p><a href="../sitejs/index.html">javascript for domains</a></p>
|
||||
<p><b>Global javascript</b> files locates in subfolder "js". Long press button [☰] to configure. Click the following links to install:<br>
|
||||
<a target=_self" href="i:0h/sdcard/uweb/js/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/passwdsave.js">Save password</a><br>
|
||||
<a target="_self" href="i:0h/sdcard/uweb/js/instantPage.js:https://fastly.jsdelivr.net/npm/instant.page">Instant page</a></p>
|
||||
<a target=_self" href="i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/passwdsave.js">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 "/sdcard/uweb/bookmarklet" (long pressing button "js" to popup menu):<br>
|
||||
<a target="_self" href='i:0h/sdcard/uweb/bookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a><br>
|
||||
<a target="_self" href="i:0h/sdcard/uweb/bookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a><br>
|
||||
<p><b>large size javascript code</b> can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):<br>
|
||||
<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><br>
|
||||
</p>
|
||||
|
||||
<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>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<a href="i:04Site search:;open('i:15site:' + location.hostname)">Site search:;open('i:15site:' + location.hostname)</a><br><br>
|
||||
<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><br><br>
|
||||
</p>
|
||||
<p>Remote script configuration file "/sdcard/uweb/default.rjs" whose line has the following format:
|
||||
<p>Remote script configuration file "default.rjs" whose lines have the following format:
|
||||
[script name]:[javascript code to return url arrays]</p>
|
||||
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<p>
|
||||
Clicking the following links to install search engines to <a href="../index.html">uweb</a>'s home screen.</p>
|
||||
|
||||
Recommended engines (append any of following to file "/sdcard/uweb/home5.search"):<br>
|
||||
Recommended engines (append any of following to file "home5.search"):<br>
|
||||
|
||||
<p><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:00wolfram:https://www.wolframalpha.com/input/?i=">wolfram:https://www.wolframalpha.com/input/?i=</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:00YouTube:https://www.youtube.com/results?search_query=">YouTube:https://www.youtube.com/results?search_query=</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: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:00boardreader:https://boardreader.com/s/%s.html">boardreader:https://boardreader.com/s/%s.html</a></p>
|
||||
|
|
|
@ -51,13 +51,13 @@ Click the following links to install url services with <a href="..">uweb browser
|
|||
<p><a href="i:01google docs:http://docs.google.com/gview?embedded=true&url=">google docs:http://docs.google.com/gview?embedded=true&url=</a></p>
|
||||
</p><p>
|
||||
The following needs corresponding <a href="../html5/index.html">html5 application</a> to be installed:<br>
|
||||
<p><a href="i:01txtview:file:///sdcard/uweb/app/txtview.html?url=">txtview:file:///sdcard/uweb/app/txtview.html?url=</a></p>
|
||||
<p><a href="i:01markdeep:file:///sdcard/uweb/app/markdeep.html?url=">markdeep:file:///sdcard/uweb/app/markdeep.html?url=</a></p>
|
||||
<p><a href="i:01plyr:file:///sdcard/uweb/app/plyr.html?u=">plyr:file:///sdcard/uweb/app/plyr.html?u=</a></p>
|
||||
<p><a href="i:01dplayer:file:///sdcard/uweb/app/dplayer.html?u=">dplayer:file:///sdcard/uweb/app/dplayer.html?u=</a></p>
|
||||
<p><a href="i:01pdf:file:///sdcard/uweb/app/pdfviewer.html?file=">pdf:file:///sdcard/uweb/app/pdfviewer.html?file=</a></p>
|
||||
<p><a href="i:01epub:file:///sdcard/uweb/app/epub.html?u=">epub:file:///sdcard/uweb/app/epub.html?u=</a></p>
|
||||
<p><a href="i:01djvu:file:///sdcard/uweb/app/djvu.html?url=">djvu:file:///sdcard/uweb/app/djvu.html?url=</a></p>
|
||||
<p><a href="i:01txtview:file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=">txtview:file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=</a></p>
|
||||
<p><a href="i:01markdeep:file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=">markdeep:file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=</a></p>
|
||||
<p><a href="i:01plyr:file:///data/data/info.torinfo.uweb/files/app/plyr.html?u=">plyr:file:///data/data/info.torinfo.uweb/files/app/plyr.html?u=</a></p>
|
||||
<p><a href="i:01dplayer:file:///data/data/info.torinfo.uweb/files/app/dplayer.html?u=">dplayer:file:///data/data/info.torinfo.uweb/files/app/dplayer.html?u=</a></p>
|
||||
<p><a href="i:01pdf:file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=">pdf:file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=</a></p>
|
||||
<p><a href="i:01epub:file:///data/data/info.torinfo.uweb/files/app/epub.html?u=">epub:file:///data/data/info.torinfo.uweb/files/app/epub.html?u=</a></p>
|
||||
<p><a href="i:01djvu:file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=">djvu:file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=</a></p>
|
||||
</p><p>
|
||||
|
||||
</p>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
<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>
|
||||
<li>Under folder "/sdcard/uweb/sitecss".</li>
|
||||
<li>Under folder "sitecss".</li>
|
||||
<li>"[domain root].js" is loaded at the earlieat time.</li>
|
||||
<li>Long press the button "settings", check the option "Apply user styles".</li>
|
||||
</ul>
|
||||
<p>If file "/sdcard/uweb/default.css" exists, the style will be applied to all sites without matching [domain root].css.</p>
|
||||
<p>If file "default.css" exists, the style will be applied to all sites without matching [domain root].css.</p>
|
||||
<p>"sitejs/.js" , "sitecss/.css" and "sitecss/.js" are applied to all non-http urls (file urls etc.).</p>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -277,6 +277,8 @@
|
|||
hreflang="en"
|
||||
href="/en/categories/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/changelog/</loc>
|
||||
</url><url>
|
||||
<loc>/en/tags/css/</loc>
|
||||
<xhtml:link
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<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="i:60/sdcard/uweb/config.html:https://jamesfengcao.gitee.io/uwebzh/en/searchurl/config.html">Font settings</a></li>
|
||||
<li><a href="i:60config.html:https://jamesfengcao.gitee.io/uwebzh/en/searchurl/config.html">Font settings</a></li>
|
||||
</ul>
|
||||
<h4 id="advanced">Advanced</h4>
|
||||
<h5 id="content">Content</h5>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
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;.
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<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>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<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.
|
||||
|
|
|
@ -36,10 +36,10 @@ Enable selection</description>
|
|||
<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>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
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;.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
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;.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
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;.
|
||||
|
@ -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.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
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;.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue