From b6576b912417849a266552c0c49f617617d6786e Mon Sep 17 00:00:00 2001
From: James Feng Cao
配置文件"/sdcard/uweb/default.cmds"示例:
-
备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.
恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
输出logcat.log::logcat -d > /sdcard/uweb/logcat.log
下面配置需要root权限:
解冻微信::su -c 'pm enable com.tencent.mm'
冻结微信::su -c 'pm disable com.tencent.mm'
解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'
冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'
下面配置需要termux:
备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.
恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
输出logcat.log::logcat -d > /sdcard/uweb/logcat.log
下面配置需要root权限:
解冻微信::su -c 'pm enable com.tencent.mm'
冻结微信::su -c 'pm disable com.tencent.mm'
解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'
冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'
下面配置需要termux:
代理8888::tinyproxy;am start -a android.settings.WIFI_SETTINGS
代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。 diff --git a/searchurl/txt/cmds.cfg b/searchurl/txt/cmds.cfg index 1fd5aa9..c5d9a58 100644 --- a/searchurl/txt/cmds.cfg +++ b/searchurl/txt/cmds.cfg @@ -1,6 +1,6 @@ 清空浏览数据::/system/bin/toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete VPN::am start -a android.settings.VPN_SETTINGS -wireless::am start -a android.settings.WIRELESS_SETTINGS +无线::am start -a android.settings.WIRELESS_SETTINGS 合并查询历史至自动填充: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 打开剪贴板链接:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+' 行编辑器:text/html:cat %f|while read LINE; do echo "$LINE