mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
fix typos from torinfo to torapp
This commit is contained in:
parent
5bcae803c8
commit
28da258433
26 changed files with 169 additions and 164 deletions
|
@ -68,7 +68,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/uweb/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>
|
||||
<p>Long press the setting button, check the option "Block external scripts". <a href="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/func.html">UI</a> website has option to also block dubious 3rd party resources. <a href="file:///data/data/info.torapp.uweb/files/js.allow">js.allow</a> whitelists js libraries.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Long press the button [☰], "Disable floating ADs", "Disable banners", "clear all timers", "stop events" and "Sleep ..." are also available.</p>
|
||||
|
@ -80,7 +80,7 @@
|
|||
<p>Click the button "JS" to disable javascript.</p>
|
||||
</li>
|
||||
<li>
|
||||
<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>
|
||||
<p><a href="file:///data/data/info.torapp.uweb/files/url.deny">url.deny</a>: one giant regular expression for blocked urls (java grammar), in which carriage returns (CR or newline) are ignored and "#" is for comments.</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<li><a href="../tags/adblock">adblock</a> </li>
|
||||
|
||||
</ul>
|
||||
<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><a href="file:///data/data/info.torapp.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>
|
||||
|
|
|
@ -50,13 +50,13 @@
|
|||
<p>Click the following links to install commands with <a href="../index.html">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the button with clock icon to popup the command menu.</p>
|
||||
<p>Configuration file "default.cmds" examples:</p>
|
||||
<p><a href="i:03Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete">Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete</a></p>
|
||||
<p><a href="i:03Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc">Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc</a></p>
|
||||
<p><a href="i:03Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc">Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc</a></p>
|
||||
<p><a href="i:03Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache">Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
|
||||
<p><a href="i:03Clear logcat::logcat -c">Clear logcat::logcat -c</a></p>
|
||||
<p><a href="i:03logcat.log::logcat -d > logcat.log">logcat.log::logcat -d > logcat.log</a></p>
|
||||
<p><a href="i:03copy cookie:/clip:printf '%c'">copy cookie:/clip:printf '%c'</a></p>
|
||||
<p><a href="i:03config in Download::cd /data/data/info.torinfo.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files">config in Download::cd /data/data/info.torinfo.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files</a></p>
|
||||
<p><a href="i:03html5 in Download::cd /data/data/info.torinfo.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app">html5 in Download::cd /data/data/info.torinfo.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app</a></p>
|
||||
<p><a href="i:03config in Download::cd /data/data/info.torapp.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files">config in Download::cd /data/data/info.torapp.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files</a></p>
|
||||
<p><a href="i:03html5 in Download::cd /data/data/info.torapp.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app">html5 in Download::cd /data/data/info.torapp.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app</a></p>
|
||||
<p><a href="i:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
|
||||
<p>Users should change the IP addresses in the following menus accordingly. In all cases, TV side needs to execute "<a href="../links/index.html">wait for network msg</a>" first. Send message to network (ex. for android TVs):<br>
|
||||
<a href="i:03Send clipboard:clip/uweb:printf 'i:5ji:5b';cat">Send clipboard:clip/uweb:printf 'i:5ji:5b';cat</a></p>
|
||||
|
@ -72,10 +72,10 @@
|
|||
<p><a href="i:03wireless::am start -a android.settings.WIRELESS_SETTINGS">wireless::am start -a android.settings.WIRELESS_SETTINGS</a></p>
|
||||
<p><a href="i:03cd:termux/*:cd %f;exit 1">cd:termux/*:cd %f;exit 1</a></p>
|
||||
<p><a href="i:03vim:termux/*:vim %f">vim:termux/*:vim %f</a></p>
|
||||
<p><a href="i:03deduplicate history::awk -F'\t' '!s[\$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec">deduplicate history::awk -F'\t' '!s[$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec</a></p>
|
||||
<p><a href="i:03deduplicate bookmarks::awk '!s[\$0]++' /data/data/info.torinfo.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/bookmark.html">deduplicate bookmarks::awk '!s[$0]++' /data/data/info.torinfo.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/bookmark.html</a></p>
|
||||
<p><a href="i:03deduplicate hosts::toybox tac /data/data/info.torinfo.uweb/files/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.hosts">deduplicate hosts::toybox tac /data/data/info.torinfo.uweb/files/default.hosts|awk -F' ' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.hosts</a></p>
|
||||
<p><a href="i:03deduplicate siteconf::toybox tac /data/data/info.torinfo.uweb/files/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.siteconf">deduplicate siteconf::toybox tac /data/data/info.torinfo.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.siteconf</a></p>
|
||||
<p><a href="i:03deduplicate history::awk -F'\t' '!s[\$2]++' /data/data/info.torapp.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/history.rec">deduplicate history::awk -F'\t' '!s[$2]++' /data/data/info.torapp.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/history.rec</a></p>
|
||||
<p><a href="i:03deduplicate bookmarks::awk '!s[\$0]++' /data/data/info.torapp.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/bookmark.html">deduplicate bookmarks::awk '!s[$0]++' /data/data/info.torapp.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/bookmark.html</a></p>
|
||||
<p><a href="i:03deduplicate hosts::toybox tac /data/data/info.torapp.uweb/files/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.hosts">deduplicate hosts::toybox tac /data/data/info.torapp.uweb/files/default.hosts|awk -F' ' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.hosts</a></p>
|
||||
<p><a href="i:03deduplicate siteconf::toybox tac /data/data/info.torapp.uweb/files/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.siteconf">deduplicate siteconf::toybox tac /data/data/info.torapp.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torapp.uweb/files/default.siteconf</a></p>
|
||||
<p><a href="i:03Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'">Clipboard2PC:clip:ssh <a href="mailto:fengcao@192.168.2.120">fengcao@192.168.2.120</a> 'DISPLAY=:0 xsel -i'</a></p>
|
||||
<p><a href="i:03ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'">ClipboardFromPC:/clip:ssh <a href="mailto:fengcao@192.168.2.120">fengcao@192.168.2.120</a> 'DISPLAY=:0 xsel -o'</a></p>
|
||||
<p><a href="i:03Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast">Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast</a></p>
|
||||
|
|
|
@ -73,9 +73,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:///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>
|
||||
<pre><code>pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u
|
||||
djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u
|
||||
epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -48,55 +48,55 @@
|
|||
|
||||
</ul>
|
||||
<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>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/css/">css/</a>": <a href="../globalcss/index.html">global css folder</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/js/">js/</a>": global script folder<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/sitejs/">sitejs/</a>": <a href="../sitejs/index.html">script folder for domains</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/sitecss/">sitecss/</a>":<a href="../sitejs/index.html">CSS folder for domains</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/bookmarklet/">bookmarklet/</a>":bookmarklets, long pressing the "JS" button to execute.<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/offline/">offline/</a>": to save offline pages<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/sbookmark/">sbookmark/</a>": to save super bookmarks<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/sitecache/">sitecache/</a>":<a href="../offlinecache/index.html">offline cache</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/longclick/">longclick/</a>": menus to appear when long-pressing hypertext (js files)<br>
|
||||
"<a href="file:///data/data/info.torapp.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="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="../urls/index.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="../cmds/index.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="../search/index.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>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>": to configure menus when long-pressing hypertext.<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.uas">default.uas</a>":<a href="../searchurl/uas.html">user agents</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.urls">default.urls</a>":<a href="../urls/index.html">service urls</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.acmd">default.acmd</a>":<a href="../gnuplot/index.html">configure address bar functionalities</a><br>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.uweb/files/default.redirect">default.redirect</a>":<a href="../redirect/index.html">redirect websites</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>":<a href="../cmds/index.html">commands</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.link">default.link</a>":<a href="../links/index.html">links</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.rjs">default.rjs</a>":<a href="../rjs/index.html">Remote javascript</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.select">default.select</a>":<a href="../pccopy/index.html">menus for selected text</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.input">default.input</a>": common phrases for user inputs<br>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.uweb/files/default.gesture2">default.gesture2</a>": gestures on the right side similar to default.gesture.<br>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.uweb/files/default.button2">default.button2</a>": similar to default.button but for long-pressed buttons.<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/default.filecap">default.filecap</a>":<a href="../filecap/index.html">custom file handling</a><br>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.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.torapp.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="../search/index.html">home5.search</a> but using "%s" as search keywords.<br>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.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.torapp.uweb/files/default.autoc">default.autoc</a>": address bar autocomplete candidate strings.<br>
|
||||
"query.autoc": home screen search autocomplete candidate strings.<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="../search/index.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>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.uweb/files/home5.search">home5.search</a>":<a href="../search/index.html">search engines</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>": <a href="../searchurl/homescreen.html">home screen styles</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html</a>": bookmarks<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html</a>": <a href="../searchurl/quickstart.html">quick start</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt</a>": background colors<br>
|
||||
"<a href="file:///data/data/info.torapp.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.torapp.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="file:///data/data/info.torinfo.uweb/files/types.sniff">types.sniff</a>": file types for resource sniffer<br>
|
||||
"<a href="file:///data/data/info.torapp.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:///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>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/sniff.log">sniff.log</a>": resource sniffing result<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/history.rec">history.rec</a>": visiting history<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/query.rec">query.rec</a>": query history</p>
|
||||
<p>"shortcut/": dynamical shortcut, if not exist, then default to "bookmark".</p>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -69,12 +69,12 @@ Click to install the following html5 apps:<br>
|
|||
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
|
||||
<p>url examples are as follows:</p>
|
||||
<ul>
|
||||
<li>file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]</li>
|
||||
<li>file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=...xx.pdf#page=[xxx]</li>
|
||||
<li>file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]</li>
|
||||
<li>file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]</li>
|
||||
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#page=[xxx]</li>
|
||||
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]</li>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]</li>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=...xx.pdf#page=[xxx]</li>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#page=[xxx]</li>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]</li>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#page=[xxx]</li>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]</li>
|
||||
</ul>
|
||||
<p>Ex. "#offset=10000&500" will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
|
||||
<h4 id="configure-html5-app-subfolder-app-optional">Configure html5 app subfolder "app" (optional)</h4>
|
||||
|
|
|
@ -200,7 +200,7 @@ trace.moe:https://trace.moe/?url=</description>
|
|||
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
||||
Configuration file &quot;default.cmds&quot; examples:
|
||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||
Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc
|
||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||
Clear logcat::logcat -c
|
||||
logcat.log::logcat -d &gt; logcat.log
|
||||
|
|
|
@ -50,11 +50,11 @@
|
|||
|
||||
</ul>
|
||||
<h4 id="to-run-commands">To run commands</h4>
|
||||
<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="../cmds/index.html">default.cmds</a>)<br>
|
||||
<p>Each line of file "<a href="file:///data/data/info.torapp.uweb/files/default.longclick">default.longclick</a>" has the following format: (same as <a href="../cmds/index.html">default.cmds</a>)<br>
|
||||
[Name]:[mimetype]:[command line]<br>
|
||||
in which [command line] can have <a href="../cmds/index.html">"%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:///data/data/info.torinfo.uweb/files/longclick/">longclick</a>" are part of the popup menu.<br>
|
||||
<p>All ".js" files under the folder "<a href="file:///data/data/info.torapp.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="../cmds/index.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>
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
<p><a href="i:00neeva:https://neeva.com/search?q=">neeva:https://neeva.com/search?q=</a></p>
|
||||
<p><a href="i:00you:https://you.com/search?q=">you:https://you.com/search?q=</a></p>
|
||||
<p><a href="i:00seekr:https://www.seekr.com/search?query=">seekr:https://www.seekr.com/search?query=</a></p>
|
||||
<p><a href="i:00brave:https://search.brave.com/search?q=">brave:https://search.brave.com/search?q=</a></p>
|
||||
<p><a href="i:00xda:https://www.xda-developers.com/search/">xda:https://www.xda-developers.com/search/</a></p>
|
||||
<p><a href="i:00Feeling lucky:https://google.com/search?btnl=1&q=">Feeling lucky:https://google.com/search?btnl=1&q=</a></p>
|
||||
<p><a href="i:00pix:https://www.google.com/search?tbm=isch&q=">pix:https://www.google.com/search?tbm=isch&q=</a></p>
|
||||
|
@ -157,6 +158,7 @@
|
|||
<p><a href="i:00semanticscholar:https://www.semanticscholar.org/search?sort=relevance&q=">semanticscholar:https://www.semanticscholar.org/search?sort=relevance&q=</a></p>
|
||||
<p>Developer:<br>
|
||||
<a href="i:00devdocs:https://devdocs.io/#q=">devdocs:https://devdocs.io/#q=</a></p>
|
||||
<p><a href="i:00grep.app:https://grep.app/search?q=">grep.app:https://grep.app/search?q=</a></p>
|
||||
<p><a href="i:00git:https://github.com/search?type=Repositories&q=">git:https://github.com/search?type=Repositories&q=</a></p>
|
||||
<p><a href="i:00man:http://man.cx/">man:http://man.cx/</a></p>
|
||||
<p><a href="i:00code:http://searchcode.com/?q=">code:http://searchcode.com/?q=</a></p>
|
||||
|
@ -164,6 +166,9 @@
|
|||
<p><a href="i:00vector:https://vector.me/search/">vector:https://vector.me/search/</a></p>
|
||||
<p><a href="i:00jsdelivr:http://www.jsdelivr.com/?query=">jsdelivr:http://www.jsdelivr.com/?query=</a></p>
|
||||
<p><a href="i:00greasyfork:https://greasyfork.org/en/scripts?sort=updated&q=">greasyfork:https://greasyfork.org/en/scripts?sort=updated&q=</a></p>
|
||||
<p><a href="i:00cdn.githubjs.cf:https://cdn.githubjs.cf/search?q=">cdn.githubjs.cf:https://cdn.githubjs.cf/search?q=</a></p>
|
||||
<p><a href="i:00hub.yzuu.cf:https://hub.yzuu.cf/search?q=">hub.yzuu.cf:https://hub.yzuu.cf/search?q=</a></p>
|
||||
<p><a href="i:00hub.njuu.cf:https://hub.njuu.cf/search?q=">hub.njuu.cf:https://hub.njuu.cf/search?q=</a></p>
|
||||
<p>app:<br>
|
||||
<a href="i:00App store:market://search?q=">App store:market://search?q=</a></p>
|
||||
<p>local engines(May need termux customized edition and tools like bc,gnuplot etc.):<br>
|
||||
|
|
|
@ -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/data/data/info.torinfo.uweb/files/config.html:'+f.font.value+
|
||||
<form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:0i/data/data/info.torapp.uweb/files/config.html:'+f.font.value+
|
||||
'&'+ f.cursive.value +
|
||||
'&'+ f.fantasy.value +
|
||||
'&'+ f.fixed.value +
|
||||
|
|
|
@ -96,7 +96,7 @@ trace.moe:https://trace.moe/?url=</description>
|
|||
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
||||
Configuration file &quot;default.cmds&quot; examples:
|
||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||
Append query to autocomplete:uweb:cd /data/data/info.torapp.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torapp.uweb/files/default.autoc
|
||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||
Clear logcat::logcat -c
|
||||
logcat.log::logcat -d &gt; logcat.log
|
||||
|
|
|
@ -96,13 +96,13 @@
|
|||
<p><a href="i:01Send url(video):i:5ji:0mc16:">Send url(video):i:5ji:0mc16:</a></p>
|
||||
<p><a href="i:01Send url(bookmark site fullscreen):i:5ji:52../home5:i:0mi:5f:">Send url(bookmark site fullscreen):i:5ji:52../home5:i:0mi:5f:</a></p>
|
||||
<p>The following needs corresponding <a href="../html5/index.html">html5 application</a> to be installed:</p>
|
||||
<p><a href="i:01txtview:file:///data/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><a href="i:01txtview:file:///data/data/info.torapp.uweb/files/app/txtview.html?url=">txtview:file:///data/data/info.torapp.uweb/files/app/txtview.html?url=</a></p>
|
||||
<p><a href="i:01markdeep:file:///data/data/info.torapp.uweb/files/app/markdeep.html?url=">markdeep:file:///data/data/info.torapp.uweb/files/app/markdeep.html?url=</a></p>
|
||||
<p><a href="i:01plyr:file:///data/data/info.torapp.uweb/files/app/plyr.html?u=">plyr:file:///data/data/info.torapp.uweb/files/app/plyr.html?u=</a></p>
|
||||
<p><a href="i:01dplayer:file:///data/data/info.torapp.uweb/files/app/dplayer.html?u=">dplayer:file:///data/data/info.torapp.uweb/files/app/dplayer.html?u=</a></p>
|
||||
<p><a href="i:01pdf:file:///data/data/info.torapp.uweb/files/app/pdfviewer.html?file=">pdf:file:///data/data/info.torapp.uweb/files/app/pdfviewer.html?file=</a></p>
|
||||
<p><a href="i:01epub:file:///data/data/info.torapp.uweb/files/app/epub.html?u=">epub:file:///data/data/info.torapp.uweb/files/app/epub.html?u=</a></p>
|
||||
<p><a href="i:01djvu:file:///data/data/info.torapp.uweb/files/app/djvu.html?url=">djvu:file:///data/data/info.torapp.uweb/files/app/djvu.html?url=</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue