From 65551e88c848d81e0fc180b45b6868004cc8cf8b Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 26 May 2022 19:59:21 +0800 Subject: [PATCH] rebuilding site Thu May 26 07:59:21 PM CST 2022 --- links/index.html | 8 ++++++-- searchurl/cmds.html | 2 +- searchurl/urls.html | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/links/index.html b/links/index.html index 0f3a059..a2b7a40 100644 --- a/links/index.html +++ b/links/index.html @@ -152,8 +152,8 @@ socks代理

接收信息至文件

  • -

    i:5b[url]
    -重用已有窗口跳转至不同anchor。

    +

    i:5b[string]
    +复制至剪贴板。

  • i:5c[url]
    @@ -176,6 +176,10 @@ Send string to network

    play video in external player

  • +

    i:5i[url]
    +重用已有窗口跳转至不同anchor。

    +
  • +
  • i:60[path]:[url]
    如果本地文件存在就打开,否则访问远程url

  • diff --git a/searchurl/cmds.html b/searchurl/cmds.html index f9781f7..8a838e9 100644 --- a/searchurl/cmds.html +++ b/searchurl/cmds.html @@ -9,7 +9,7 @@

    配置文件"/sdcard/uweb/default.cmds"示例:
    -

    清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete

    VPN::am start -a android.net.vpn.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

    备份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

    复制cookie:/clip:printf '%c'

    tgz install::toybox tar -xzf %f -C /

    下面配置需要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:

    cd:termux/*:cd %f;exit 1

    vim:termux/*:vim %f

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

    书签去重::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

    发送url:printf '%u'|/system/bin/toybox nc 192.168.2.155 1500

    发送url(播放器):printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500

    发送url(书签):printf 'i:51../home5:%u'|/system/bin/toybox nc 192.168.2.155 1500

    剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'

    剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'

    剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast

    剪贴板_从广播:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'

    剪贴板_二维码:clip/uweb:qrencode -o /sdcard/uweb/a.png;echo file:///sdcard/uweb/a.png

    +

    清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete

    VPN::am start -a android.net.vpn.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

    备份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

    复制cookie:/clip:printf '%c'

    tgz install::toybox tar -xzf %f -C /

    下面配置需要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:

    cd:termux/*:cd %f;exit 1

    vim:termux/*:vim %f

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

    书签去重::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

    发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500

    发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500

    发送url(书签)::printf 'i:51../home5:%u'|/system/bin/toybox nc 192.168.2.155 1500

    发送剪贴板:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500

    剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'

    剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'

    剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast

    剪贴板_从广播:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'

    剪贴板_二维码:clip/uweb:qrencode -o /sdcard/uweb/a.png;echo file:///sdcard/uweb/a.png

    代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。
    发送url需更改智能电视机ip地址。 剪贴板_PC需更改用户名,PC端安装有xsel,termux安装有ssh (apt install openssh),且配置好ssh无密码登录。 剪贴板广播需安装有socat(apt install socat)。 diff --git a/searchurl/urls.html b/searchurl/urls.html index 5b4e44e..25d88e3 100644 --- a/searchurl/urls.html +++ b/searchurl/urls.html @@ -8,6 +8,7 @@

    发送url:i:5f

    发送url(播放器):i:5fi:5g

    发送url(书签):i:5fi:51../home5:

    +

    发送url(剪贴板):i:5fi:5b

    重定向/编辑:e:

    书签:i:51:

    笔记:i:52: