mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Fri Aug 12 11:37:00 AM CST 2022
This commit is contained in:
parent
3c1095936f
commit
d8c79c22e0
19 changed files with 62 additions and 64 deletions
|
@ -165,7 +165,7 @@ Click the following links to install termux configurations: .bashrc
|
||||||
.inputrc
|
.inputrc
|
||||||
z.sh
|
z.sh
|
||||||
commacd.sh
|
commacd.sh
|
||||||
Copy existing termux installation to other devices Using uweb to copy (Long pressing the following links and &quot;open in new tab&quot; to fix/send/receive):</description>
|
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -50,8 +50,6 @@
|
||||||
<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>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>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: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:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
|
|
||||||
<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: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.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: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 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:03Clear logcat::logcat -c">Clear logcat::logcat -c</a></p>
|
||||||
|
@ -60,27 +58,30 @@
|
||||||
<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: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: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:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
|
<p><a href="i:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
|
||||||
<p>Need root permissions:</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>
|
||||||
<p>Need termux:<br>
|
<a href="i:03Send clipboard:clip/uweb:printf 'i:5ji:5b';cat">Send clipboard:clip/uweb:printf 'i:5ji:5b';cat</a></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:03Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p>Need root permissions:</p>
|
||||||
|
<p>Need termux:<br>
|
||||||
|
<a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
|
||||||
|
<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: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: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: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>
|
<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>
|
||||||
<p><a href="i:03Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'">Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'</a></p>
|
<p><a href="i:03Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'">Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'</a></p>
|
||||||
<p><a href="i:03Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png">Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png</a></p>
|
<p><a href="i:03Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png">Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png</a></p>
|
||||||
<p>"Send url" needs to modify Android TV ip address.<br>
|
<p>Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).<br>
|
||||||
Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).<br>
|
|
||||||
Clipboard broadcast needs socat(apt install socat)。<br>
|
Clipboard broadcast needs socat(apt install socat)。<br>
|
||||||
Clipboard2QR needs libqrencode.</p>
|
Clipboard2QR needs libqrencode.</p>
|
||||||
<h4 id="more-commands-click-to-install">More commands (click to install)</h4>
|
<h4 id="more-commands-click-to-install">More commands (click to install)</h4>
|
||||||
|
|
|
@ -193,11 +193,11 @@ 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.
|
<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:
|
Configuration file &quot;default.cmds&quot; examples:
|
||||||
Clear 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
|
||||||
VPN::am start -a android.net.vpn.SETTINGS
|
|
||||||
wireless::am start -a android.settings.WIRELESS_SETTINGS
|
|
||||||
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.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||||
Clear logcat::logcat -c</description>
|
Clear logcat::logcat -c
|
||||||
|
logcat.log::logcat -d &gt; logcat.log
|
||||||
|
copy cookie:/clip:printf '%c'</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
@ -272,7 +272,7 @@ Click the following links to install termux configurations: .bashrc
|
||||||
.inputrc
|
.inputrc
|
||||||
z.sh
|
z.sh
|
||||||
commacd.sh
|
commacd.sh
|
||||||
Copy existing termux installation to other devices Using uweb to copy (Long pressing the following links and &quot;open in new tab&quot; to fix/send/receive):</description>
|
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<h4 id="ui">UI</h4>
|
<h4 id="ui">UI</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="../search/index.html">Search engines</a></li>
|
<li><a href="../search/index.html">Search engines</a></li>
|
||||||
<li><a href="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/func.html">UI</a> (<a href="i:61:https://gitee.com/jamesfengcao/uwebzh/raw/master/en/searchurl/func.html">gitee</a>)</li>
|
<li><a href="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/func.html">UI</a> (<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/func.html">gitee</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="customization">Customization</h4>
|
<h4 id="customization">Customization</h4>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
<li><a href="../icons/index.html">Toolbar</a></li>
|
<li><a href="../icons/index.html">Toolbar</a></li>
|
||||||
<li><a href="../gesture/index.html">Gestures</a></li>
|
<li><a href="../gesture/index.html">Gestures</a></li>
|
||||||
<li><a href="../acmd/index.html">Address bar command modes</a></li>
|
<li><a href="../acmd/index.html">Address bar command modes</a></li>
|
||||||
<li><a href="i:60config.html:https://jamesfengcao.gitee.io/uwebzh/en/searchurl/config.html">Font settings</a></li>
|
<li><a href="i:60config.html:https://jamesfengcao.gitee.io/uweb/en/searchurl/config.html">Font settings</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="advanced">Advanced</h4>
|
<h4 id="advanced">Advanced</h4>
|
||||||
<h5 id="content">Content</h5>
|
<h5 id="content">Content</h5>
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
<p><a href="i:0h/data/data/com.termux/files/home/.inputrc:https://fastly.jsdelivr.net/gh/torappinfo/uweb/termux/inputrc">.inputrc</a></p>
|
<p><a href="i:0h/data/data/com.termux/files/home/.inputrc:https://fastly.jsdelivr.net/gh/torappinfo/uweb/termux/inputrc">.inputrc</a></p>
|
||||||
<p><a href="i:0h/data/data/com.termux/files/home/z.sh:https://fastly.jsdelivr.net/gh/rupa/z/z.sh">z.sh</a></p>
|
<p><a href="i:0h/data/data/com.termux/files/home/z.sh:https://fastly.jsdelivr.net/gh/rupa/z/z.sh">z.sh</a></p>
|
||||||
<p><a href="i:0h/data/data/com.termux/files/home/commacd.sh:https://fastly.jsdelivr.net/gh/shyiko/commacd/commacd.sh">commacd.sh</a></p>
|
<p><a href="i:0h/data/data/com.termux/files/home/commacd.sh:https://fastly.jsdelivr.net/gh/shyiko/commacd/commacd.sh">commacd.sh</a></p>
|
||||||
|
<p><a href="i:0h/data/data/com.termux/files/home/.profile:https://fastly.jsdelivr.net/gh/torappinfo/uweb/termux/profile">.profile</a> : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</p>
|
||||||
<h4 id="copy-existing-termux-installation-to-other-devices">Copy existing termux installation to other devices</h4>
|
<h4 id="copy-existing-termux-installation-to-other-devices">Copy existing termux installation to other devices</h4>
|
||||||
<p>Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):</p>
|
<p>Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -90,11 +90,11 @@ 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.
|
<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:
|
Configuration file &quot;default.cmds&quot; examples:
|
||||||
Clear 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
|
||||||
VPN::am start -a android.net.vpn.SETTINGS
|
|
||||||
wireless::am start -a android.settings.WIRELESS_SETTINGS
|
|
||||||
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.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||||
Clear logcat::logcat -c</description>
|
Clear logcat::logcat -c
|
||||||
|
logcat.log::logcat -d &gt; logcat.log
|
||||||
|
copy cookie:/clip:printf '%c'</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
11
index.html
11
index.html
|
@ -1,10 +1 @@
|
||||||
<!DOCTYPE html>
|
<meta http-equiv="refresh" content="0; url=zh/index.html">
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<title>zh/</title>
|
|
||||||
<link rel="canonical" href="zh/">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="refresh" content="0; url=zh/">
|
|
||||||
</head>
|
|
||||||
</html>
|
|
||||||
|
|
3
termux/profile
Normal file
3
termux/profile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
PATH=/system/bin:/system/xbin
|
||||||
|
export PATH
|
||||||
|
|
|
@ -53,33 +53,35 @@
|
||||||
<p><a href="i:03清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete">清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete</a></p>
|
<p><a href="i:03清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete">清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete</a></p>
|
||||||
<p><a href="i:03本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb">本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb</a></p>
|
<p><a href="i:03本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb">本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb</a></p>
|
||||||
<p><a href="i:03本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.">本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.</a></p>
|
<p><a href="i:03本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.">本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.</a></p>
|
||||||
<p><a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
|
|
||||||
<p><a href="i:03无线::am start -a android.settings.WIRELESS_SETTINGS">无线::am start -a android.settings.WIRELESS_SETTINGS</a></p>
|
|
||||||
<p><a href="i:03合并查询历史至自动填充: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">合并查询历史至自动填充: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:03合并查询历史至自动填充: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">合并查询历史至自动填充: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:03清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache">清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
|
<p><a href="i:03清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache">清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache</a></p>
|
||||||
<p><a href="i:03清空logcat::logcat -c">清空logcat::logcat -c</a></p>
|
<p><a href="i:03清空logcat::logcat -c">清空logcat::logcat -c</a></p>
|
||||||
<p><a href="i:03输出logcat.log::logcat -d > logcat.log">输出logcat.log::logcat -d > logcat.log</a></p>
|
<p><a href="i:03输出logcat.log::logcat -d > logcat.log">输出logcat.log::logcat -d > logcat.log</a></p>
|
||||||
<p><a href="i:03复制cookie:/clip:printf '%c'">复制cookie:/clip:printf '%c'</a></p>
|
<p><a href="i:03复制cookie:/clip:printf '%c'">复制cookie:/clip:printf '%c'</a></p>
|
||||||
<p><a href="i:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
|
<p><a href="i:03tgz install::toybox tar -xzf %f -C /">tgz install::toybox tar -xzf %f -C /</a></p>
|
||||||
|
<p>以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“<a href="../links/index.html">等待网络消息</a>”命令。<br>
|
||||||
|
<a href="i:03发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat">发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat</a></p>
|
||||||
|
<p><a href="i:03发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p><a href="i:03发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p><a href="i:03发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p><a href="i:03发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p><a href="i:03发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p><a href="i:03发送剪贴板2:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">发送剪贴板2:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p>下面配置需要root权限:<br>
|
<p>下面配置需要root权限:<br>
|
||||||
<a href="i:03解冻微信::su -c 'pm enable com.tencent.mm'">解冻微信::su -c 'pm enable com.tencent.mm'</a></p>
|
<a href="i:03解冻微信::su -c 'pm enable com.tencent.mm'">解冻微信::su -c 'pm enable com.tencent.mm'</a></p>
|
||||||
<p><a href="i:03冻结微信::su -c 'pm disable com.tencent.mm'">冻结微信::su -c 'pm disable com.tencent.mm'</a></p>
|
<p><a href="i:03冻结微信::su -c 'pm disable com.tencent.mm'">冻结微信::su -c 'pm disable com.tencent.mm'</a></p>
|
||||||
<p><a href="i:03解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'">解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'</a></p>
|
<p><a href="i:03解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'">解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'</a></p>
|
||||||
<p><a href="i:03冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'">冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'</a></p>
|
<p><a href="i:03冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'">冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'</a></p>
|
||||||
<p>下面配置需要termux:<br>
|
<p>下面配置需要termux:<br>
|
||||||
<a href="i:03cd:termux/*:cd %f;exit 1">cd:termux/*:cd %f;exit 1</a></p>
|
<a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
|
||||||
|
<p><a href="i:03无线::am start -a android.settings.WIRELESS_SETTINGS">无线::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:03vim:termux/*:vim %f">vim:termux/*:vim %f</a></p>
|
||||||
<p><a href="i:03历史去重::awk -F'\t' '!s[\$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec">历史去重::awk -F'\t' '!s[$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec</a></p>
|
<p><a href="i:03历史去重::awk -F'\t' '!s[\$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec">历史去重::awk -F'\t' '!s[$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec</a></p>
|
||||||
<p><a href="i:03书签去重::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">书签去重::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:03书签去重::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">书签去重::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:03hosts去重::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">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:03hosts去重::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">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:03网站设置去重::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">网站设置去重::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:03网站设置去重::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">网站设置去重::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:03代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS">代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS</a></p>
|
<p><a href="i:03代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS">代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS</a></p>
|
||||||
<p><a href="i:03发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
|
||||||
<p><a href="i:03发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
|
||||||
<p><a href="i:03发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
|
||||||
<p><a href="i:03发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
|
||||||
<p><a href="i:03发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
|
||||||
<p><a href="i:03发送剪贴板:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">发送剪贴板:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
|
||||||
<p><a href="i:03剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'">剪贴板_至PC: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:03剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'">剪贴板_至PC: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:03剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'">剪贴板_从PC:/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:03剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'">剪贴板_从PC:/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:03剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast">剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast</a></p>
|
<p><a href="i:03剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast">剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast</a></p>
|
||||||
|
|
10
zh/index.xml
10
zh/index.xml
|
@ -260,17 +260,17 @@ BugMeNot</description>
|
||||||
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||||
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
|
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
|
||||||
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
|
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
|
||||||
VPN::am start -a android.net.vpn.SETTINGS
|
|
||||||
无线::am start -a android.settings.WIRELESS_SETTINGS
|
|
||||||
合并查询历史至自动填充: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
|
合并查询历史至自动填充: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
|
||||||
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
|
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||||
清空logcat::logcat -c
|
清空logcat::logcat -c
|
||||||
输出logcat.log::logcat -d &gt; logcat.log
|
输出logcat.log::logcat -d &gt; logcat.log
|
||||||
复制cookie:/clip:printf '%c'
|
复制cookie:/clip:printf '%c'
|
||||||
tgz install::toybox tar -xzf %f -C /
|
tgz install::toybox tar -xzf %f -C /
|
||||||
下面配置需要root权限:
|
以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。
|
||||||
解冻微信::su -c 'pm enable com.tencent.mm'
|
发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
|
||||||
冻结微信::su -c 'pm disable com.</description>
|
发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
|
||||||
|
发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
|
||||||
|
发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<script>function g(){
|
<script>function g(){
|
||||||
let d=document;
|
let d=document;
|
||||||
let f=d.forms[0];
|
let f=d.forms[0];
|
||||||
window.open("f:"+f.i.value+"::"+f.e.value+"&"+f.u.value+":https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/backup.html");
|
window.open("f:"+f.i.value+"::"+f.e.value+"&"+f.u.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/backup.html");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
</script><style>
|
</script><style>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<a href="../index.html">超微浏览器</a>下点击配置链接可自动添加常用命令,<b>强制清空后台重启后</b>长按历史按钮可用。</p>
|
<a href="../index.html">超微浏览器</a>下点击配置链接可自动添加常用命令,<b>强制清空后台重启后</b>长按历史按钮可用。</p>
|
||||||
<p>其中备份/恢复Cookie需android6+, webview76+。<br>
|
<p>其中备份/恢复Cookie需android6+, webview76+。<br>
|
||||||
|
|
||||||
<a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/cmds.cfg">打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等</a><br>
|
<a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/cmds.cfg">打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等</a><br>
|
||||||
</p>
|
</p>
|
||||||
<p>配置文件"default.cmds"示例:<br>
|
<p>配置文件"default.cmds"示例:<br>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ let sa = [`<style>input{height:40px;width:100%;border-radius:50px;}</style>
|
||||||
'&'+ f.fixed.value +
|
'&'+ f.fixed.value +
|
||||||
'&'+ f.sansserif.value +
|
'&'+ f.sansserif.value +
|
||||||
'&'+ f.serif.value +
|
'&'+ f.serif.value +
|
||||||
':https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/config.html';return false;" accept-charset=utf-8 >`];
|
':https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/config.html';return false;" accept-charset=utf-8 >`];
|
||||||
|
|
||||||
|
|
||||||
let strs = text.split('\n');
|
let strs = text.split('\n');
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
<script>function g(){
|
<script>function g(){
|
||||||
let d=document;
|
let d=document;
|
||||||
let f=d.forms[0];
|
let f=d.forms[0];
|
||||||
d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/home.css";
|
d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/home.css";
|
||||||
},100);
|
},100);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
function g3(iF,filename,fakeurl){
|
function g3(iF,filename,fakeurl){
|
||||||
let d=document;
|
let d=document;
|
||||||
let f=d.forms[iF];
|
let f=d.forms[iF];
|
||||||
d.location.href="i:0i/data/data/info.torapp.uweb/files/"+filename+":"+f.b.value+'&'+fakeurl +":https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/refresh.html";
|
d.location.href="i:0i/data/data/info.torapp.uweb/files/"+filename+":"+f.b.value+'&'+fakeurl +":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/refresh.html";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
</script><style>
|
</script><style>
|
||||||
|
@ -29,7 +29,7 @@ input{height:40px;width:100%;border-radius:50px;}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="i:0hhome6.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/nav.cfg">设置第二主屏为默认导航页</a>
|
<a href="i:0hhome6.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/nav.cfg">设置第二主屏为默认导航页</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<form onsubmit="return g3(2,'home7.html','file:///data/data/info.torapp.uweb/files/home7.search');" style="margin:5px 0 5px 0;padding:0px">
|
<form onsubmit="return g3(2,'home7.html','file:///data/data/info.torapp.uweb/files/home7.search');" style="margin:5px 0 5px 0;padding:0px">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<h3>远程资源安装</h3>
|
<h3>远程资源安装</h3>
|
||||||
|
|
||||||
|
|
||||||
<a href="i:0bhttp://jamesfengcao.gitee.io/uwebzh/searchurl/bin/tdict.tar.gz">tdict (需安装brotli)</a>
|
<a href="i:0bhttp://jamesfengcao.gitee.io/uweb/searchurl/bin/tdict.tar.gz">tdict (需安装brotli)</a>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<p><a href="../sitejs/index.html">特定网址用户脚本</a></p>
|
<p><a href="../sitejs/index.html">特定网址用户脚本</a></p>
|
||||||
<p><b>全局脚本</b>位于js子目录, 长按[☰]按钮配置。点击以下链
|
<p><b>全局脚本</b>位于js子目录, 长按[☰]按钮配置。点击以下链
|
||||||
接安装:<br>
|
接安装:<br>
|
||||||
<a target=_self" href="i:0hjs/记住密码.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/passwdsave.js">记住密码</a><br>
|
<a target=_self" href="i:0hjs/记住密码.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/passwdsave.js">记住密码</a><br>
|
||||||
<a target="_self" href="i:0hjs/极速网页.js:https://fastly.jsdelivr.net/npm/instant.page">极速网页</a></p>
|
<a target="_self" href="i:0hjs/极速网页.js:https://fastly.jsdelivr.net/npm/instant.page">极速网页</a></p>
|
||||||
|
|
||||||
<p><b>大型脚本</b>可安装到"bookmarklet"目录下(长按js按钮):<br>
|
<p><b>大型脚本</b>可安装到"bookmarklet"目录下(长按js按钮):<br>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<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/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a><br>
|
||||||
<a target="_self" href="i:0hbookmarklet/彩云小译.js:https://caiyunapp.com/dest/trs.js">彩云小译</a><br>
|
<a target="_self" href="i:0hbookmarklet/彩云小译.js:https://caiyunapp.com/dest/trs.js">彩云小译</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>
|
<a target="_self" href="i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a><br>
|
||||||
<a target="_self" href="i:0hbookmarklet/移除覆盖物.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/bml/content/rmo.js">移除覆盖物</a><br>
|
<a target="_self" href="i:0hbookmarklet/移除覆盖物.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/bml/content/rmo.js">移除覆盖物</a><br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><b>远程脚本</b>配置文件default.rjs样列如下,点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单):<br>
|
<p><b>远程脚本</b>配置文件default.rjs样列如下,点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单):<br>
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
<a href="i:04站内搜索:;open('i:15site:' + location.hostname)">站内搜索:;open('i:15site:' + location.hostname)</a><br><br>
|
<a href="i:04站内搜索:;open('i:15site:' + location.hostname)">站内搜索:;open('i:15site:' + location.hostname)</a><br><br>
|
||||||
<a href="i:04编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v">编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v</a><br><br>
|
<a href="i:04编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v">编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v</a><br><br>
|
||||||
</p>
|
</p>
|
||||||
<p>远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:<br><a target="_self" href="i:0gdefault.rjs:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/rjs.cfg">点击安装google翻译、背景图等</a></p>
|
<p>远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:<br><a target="_self" href="i:0gdefault.rjs:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/rjs.cfg">点击安装google翻译、背景图等</a></p>
|
||||||
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):<br>[远程脚本名]:[返回url数组的javascript代码]</p>
|
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):<br>[远程脚本名]:[返回url数组的javascript代码]</p>
|
||||||
<p>其中url可以为<a href="../html5">本地html5应用</a>脚本地址。譬如'https://localapp[XXX]/....../[XXX].js'。此时,js脚本也可使用<a href="../links">.link文件</a>方式调用。</p>
|
<p>其中url可以为<a href="../html5">本地html5应用</a>脚本地址。譬如'https://localapp[XXX]/....../[XXX].js'。此时,js脚本也可使用<a href="../links">.link文件</a>方式调用。</p>
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script charset="utf-8" src="https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/config.js"></script>
|
<script charset="utf-8" src="https://cdn.jsdelivr.net/gh/torappinfo/uweb/searchurl/config.js"></script>
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
<li><a href="../searchurl/quickstart.html">快速访问</a></li>
|
<li><a href="../searchurl/quickstart.html">快速访问</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/func.html">界面配置及杂项</a> (<a href="i:61:https://gitee.com/jamesfengcao/uwebzh/raw/master/zh/searchurl/func.html">gitee镜像</a>)</li>
|
<li><a href="i:61:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/func.html">界面配置及杂项</a> (<a href="i:61:https://gitee.com/jamesfengcao/uweb/raw/master/zh/searchurl/func.html">gitee镜像</a>)</li>
|
||||||
<li><a href="../searchurl/backup.html">备份与恢复</a></li>
|
<li><a href="../searchurl/backup.html">备份与恢复</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="个性化">个性化</h4>
|
<h4 id="个性化">个性化</h4>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
<li><a href="../longclick/index.html">长按链接弹出菜单</a></li>
|
<li><a href="../longclick/index.html">长按链接弹出菜单</a></li>
|
||||||
<li><a href="../icons/index.html">底部工具条定制</a></li>
|
<li><a href="../icons/index.html">底部工具条定制</a></li>
|
||||||
<li><a href="../gesture/index.html">手势</a></li>
|
<li><a href="../gesture/index.html">手势</a></li>
|
||||||
<li><a href="i:60config.html:https://jamesfengcao.gitee.io/uwebzh/zh/searchurl/config.html">高级个性化定制</a></li>
|
<li><a href="i:60config.html:https://jamesfengcao.gitee.io/uweb/zh/searchurl/config.html">高级个性化定制</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="高级设置">高级设置</h4>
|
<h4 id="高级设置">高级设置</h4>
|
||||||
<h5 id="内容类">内容类</h5>
|
<h5 id="内容类">内容类</h5>
|
||||||
|
|
|
@ -172,17 +172,17 @@ google docs:http://docs.google.com/gview?embedded=true&amp;url=
|
||||||
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||||
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
|
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
|
||||||
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
|
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
|
||||||
VPN::am start -a android.net.vpn.SETTINGS
|
|
||||||
无线::am start -a android.settings.WIRELESS_SETTINGS
|
|
||||||
合并查询历史至自动填充: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
|
合并查询历史至自动填充: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
|
||||||
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
|
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||||
清空logcat::logcat -c
|
清空logcat::logcat -c
|
||||||
输出logcat.log::logcat -d &gt; logcat.log
|
输出logcat.log::logcat -d &gt; logcat.log
|
||||||
复制cookie:/clip:printf '%c'
|
复制cookie:/clip:printf '%c'
|
||||||
tgz install::toybox tar -xzf %f -C /
|
tgz install::toybox tar -xzf %f -C /
|
||||||
下面配置需要root权限:
|
以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。
|
||||||
解冻微信::su -c 'pm enable com.tencent.mm'
|
发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
|
||||||
冻结微信::su -c 'pm disable com.</description>
|
发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
|
||||||
|
发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
|
||||||
|
发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Reference in a new issue