mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add ddns support
This commit is contained in:
parent
71fb1c09eb
commit
79f9980fb5
7 changed files with 25 additions and 7 deletions
|
@ -66,6 +66,9 @@
|
|||
<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(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>Modify with your own info:<br>
|
||||
<a href="i:03dynv6_sim1:/uweb:print 'http://dynv6.com/api/update?hostname=&token=&ipv6=';ip addr|grep 'inet6 [^f]'|grep global|grep -v temporary|head -n 1|sed 's/^.*inet6 //'|sed 's/\/.*$//'">Refresh dynv6 ddns for sim card 1</a></p>
|
||||
<p><a href="i:03dynv6_wifi:/uweb:print 'http://dynv6.com/api/update?hostname=&token=&ipv6=';ip addr|grep 'inet6 [^f]'|grep global|grep -v temporary|tail -n 1|sed 's/^.*inet6 //'|sed 's/\/.*$//'">Refresh dynv6 ddns for wifi</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>
|
||||
|
@ -96,7 +99,7 @@ Clipboard2QR needs libqrencode.</p>
|
|||
<p>[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).<br>
|
||||
[mimetype] have the following formats:</p>
|
||||
<ul>
|
||||
<li>regular mimetype such as "text/html" to indicate the content type of the command output.</li>
|
||||
<li>regular mimetype such as "text/html" to indicate the content type of the command output. Ex. "text/javascript" makes browser to evaluate the js code.</li>
|
||||
<li>"clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard.</li>
|
||||
<li>"/clip": copy the command output to clipboard.</li>
|
||||
<li>"clip/text/html" : clipboard as input, and the command output is processed as "text/html".</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue