diff --git a/rjs/index.html b/rjs/index.html index a975d12..3141cdb 100644 --- a/rjs/index.html +++ b/rjs/index.html @@ -28,7 +28,7 @@ 大型脚本可安装到"/sdcard/uweb/bookmarklet"目录下:
彩云小译

远程及小型脚本可安装到default.rjs文件中:
-点击安装站内搜索、背景图、新窗口打开链接、移除覆盖物等

+点击安装站内搜索、背景图、新窗口打开链接、移除覆盖物等

远程脚本配置文件/sdcard/uweb/default.rjs示例如下:

彩云小译:'https://caiyunapp.com/dest/trs.js'
 移除覆盖物:'https://jamesfengcao.gitee.io/uweb/searchurl/bml/content/rmo.js'
diff --git a/searchurl/cmds.html b/searchurl/cmds.html
index 8c37dbd..df3b51b 100644
--- a/searchurl/cmds.html
+++ b/searchurl/cmds.html
@@ -5,9 +5,8 @@
 超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。

其中备份/恢复Cookie需android6+, webview76+。
-清空浏览数据(保留cookie)、打开剪贴板内链接、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令,其中比价需termux)
- -简易行编辑器

+清空浏览数据(保留cookie)、打开剪贴板内链接、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令,其中比价需termux)
+

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

diff --git a/searchurl/txt/cmds.txt b/searchurl/txt/cmds.cfg similarity index 100% rename from searchurl/txt/cmds.txt rename to searchurl/txt/cmds.cfg diff --git a/searchurl/txt/rjs.txt b/searchurl/txt/rjs.cfg similarity index 100% rename from searchurl/txt/rjs.txt rename to searchurl/txt/rjs.cfg