diff --git a/searchurl/cmds.html b/searchurl/cmds.html index 9c1f78f..e68392d 100644 --- a/searchurl/cmds.html +++ b/searchurl/cmds.html @@ -9,5 +9,5 @@

配置文件"/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::logcat -c

输出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:

历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log

书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html

hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts

网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf

代理8888::tinyproxy;am start -a android.settings.WIFI_SETTINGS

代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。

+

备份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::logcat -c

输出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:

历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log

书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html

hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts

网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf

代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS

代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。