mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Mon Nov 30 03:21:56 PM CST 2020
This commit is contained in:
parent
a538a3625f
commit
a0f64a5bcb
5 changed files with 15 additions and 11 deletions
|
@ -184,12 +184,12 @@ noproxy::010:
|
|||
Cookie延期至70年,但服务器有可能否决。
|
||||
:0001
|
||||
自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)
|
||||
:001[fileurl]
|
||||
加入媒体库
|
||||
:010[proxy host]:[port]
|
||||
设置http代理, ":010:"禁用代理。
|
||||
:011[socks host]:[port]
|
||||
socks代理
|
||||
:031[jscode]
|
||||
执行js代码,即使网页禁用js。
|
||||
"i:"内部链接: 点击安装笔记菜单
|
||||
i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]
|
||||
读取第三方应用输入。
|
||||
|
|
|
@ -184,12 +184,12 @@ noproxy::010:
|
|||
Cookie延期至70年,但服务器有可能否决。
|
||||
:0001
|
||||
自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)
|
||||
:001[fileurl]
|
||||
加入媒体库
|
||||
:010[proxy host]:[port]
|
||||
设置http代理, ":010:"禁用代理。
|
||||
:011[socks host]:[port]
|
||||
socks代理
|
||||
:031[jscode]
|
||||
执行js代码,即使网页禁用js。
|
||||
"i:"内部链接: 点击安装笔记菜单
|
||||
i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]
|
||||
读取第三方应用输入。
|
||||
|
|
|
@ -47,6 +47,10 @@ Cookie延期至70年,但服务器有可能否决。</p>
|
|||
自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>:001[fileurl]<br>
|
||||
加入媒体库</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>:010[proxy host]:[port]<br>
|
||||
设置http代理, ":010:"禁用代理。</p>
|
||||
</li>
|
||||
|
@ -54,10 +58,6 @@ Cookie延期至70年,但服务器有可能否决。</p>
|
|||
<p>:011[socks host]:[port]<br>
|
||||
socks代理</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>:031[jscode]<br>
|
||||
执行js代码,即使网页禁用js。</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 id="i内部链接">"i:"内部链接:</h3>
|
||||
<p>点击安装<a href="i:53i:52">笔记</a>菜单</p>
|
||||
|
@ -94,6 +94,10 @@ socks代理</p>
|
|||
<p>i:54[string]<br>
|
||||
将string插入到网页当前输入框。</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>i:55[jscode]<br>
|
||||
执行js代码,即使网页禁用js。</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -9,5 +9,5 @@
|
|||
</p>
|
||||
<p>配置文件"/sdcard/uweb/default.cmds"示例:<br>
|
||||
|
||||
<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:03VPN::am start -a android.settings.VPN_SETTINGS">VPN::am start -a android.settings.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 /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc">合并查询历史至自动填充:uweb:cd /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc</a></p><p><a href="i:03备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.">备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.</a></p><p><a href="i:03恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.">恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.</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.log::logcat -d > /sdcard/uweb/logcat.log">输出logcat.log::logcat -d > /sdcard/uweb/logcat.log</a></p></p><p>下面配置需要root权限:<br><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 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><p>下面配置需要termux:<br><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:03历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log">历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log</a></p><p><a href="i:03书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html">书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html</a></p><p><a href="i:03hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts">hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts</a></p><p><a href="i:03网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf">网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/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>代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。</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:03VPN::am start -a android.settings.VPN_SETTINGS">VPN::am start -a android.settings.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 /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc">合并查询历史至自动填充:uweb:cd /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc</a></p><p><a href="i:03备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.">备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.</a></p><p><a href="i:03恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.">恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.</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.log::logcat -d > /sdcard/uweb/logcat.log">输出logcat.log::logcat -d > /sdcard/uweb/logcat.log</a></p></p><p>下面配置需要root权限:<br><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 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><p>下面配置需要termux:<br><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:03历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log">历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log</a></p><p><a href="i:03书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html">书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html</a></p><p><a href="i:03hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts">hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts</a></p><p><a href="i:03网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf">网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/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剪贴板_至PC:clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -i'">剪贴板_至PC:clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -i'</a></p><p><a href="i:03剪贴板_从PC:/clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -o'">剪贴板_从PC:/clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -o'</a></p>代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。</p>
|
||||
</body></html>
|
||||
|
|
|
@ -607,10 +607,10 @@ const hook_video_control = hook => {
|
|||
e.stopImmediatePropagation();
|
||||
clear_content();
|
||||
|
||||
if(window.playbackRate>=2.0) window.playbackRate=0.5;
|
||||
if(window.playbackRate>=4.0) window.playbackRate=0.5;
|
||||
else if(window.playbackRate<1.0) window.playbackRate=1.0;
|
||||
else if(window.playbackRate<1.25) window.playbackRate=1.25;
|
||||
else if(window.playbackRate<1.5) window.playbackRate=1.5;
|
||||
else if(window.playbackRate>=2.0) window.playbackRate=4;
|
||||
else window.playbackRate = 2.0;
|
||||
|
||||
const split = window.playbackRate.toString().split('.');
|
||||
|
|
Loading…
Reference in a new issue