#BoxJs 更新
1. 可以切换图标主题啦
2. 有属于自己的图标啦
注: 在浏览器分享到桌面, 下次就不用敲地址了
感谢 #Orz_3 大佬提供的图标支持, 有空去逛逛吧
repo: https://github.com/Orz-3/
group: https://www.tgoop.com/Orz_mini
channel: https://www.tgoop.com/Orzmini
1. 可以切换图标主题啦
2. 有属于自己的图标啦
注: 在浏览器分享到桌面, 下次就不用敲地址了
感谢 #Orz_3 大佬提供的图标支持, 有空去逛逛吧
repo: https://github.com/Orz-3/
group: https://www.tgoop.com/Orz_mini
channel: https://www.tgoop.com/Orzmini
GitHub
Orz-3 - Overview
咕咕咕. Orz-3 has 4 repositories available. Follow their code on GitHub.
Chavy Scripts pinned «#BoxJs 更新 1. 可以切换图标主题啦 2. 有属于自己的图标啦 注: 在浏览器分享到桌面, 下次就不用敲地址了 感谢 #Orz_3 大佬提供的图标支持, 有空去逛逛吧 repo: https://github.com/Orz-3/ group: https://www.tgoop.com/Orz_mini channel: https://www.tgoop.com/Orzmini»
#BoxJs 更新
> 本次更新主要面向开发者
【增加】BoxJs 悬浮按钮
1. 可导出所有由 BoxJs 管理的数据 (目前主要用于导出并转存到 NodeJs 环境便于调试)
后续可全局导入, 在其他设备或新设备上全局导入
2. 可以隐藏 BoxJs 悬浮按钮 (在侧栏中可以恢复显示)
--------------------------
#EnvJs 更新
> 本次更新主要面向开发者
【增加】NodeJs 环境支持
1. 支持由 BoxJs 全局导出的数据
a. 在 BoxJs 点悬浮图标, 点`导出` (最顶部绿色图标)
b. 在运行脚本相同目录下新建名为`box.dat`的文件, 并把 BoxJs 导出的数据完整粘贴进去
> 本次更新主要面向开发者
【增加】BoxJs 悬浮按钮
1. 可导出所有由 BoxJs 管理的数据 (目前主要用于导出并转存到 NodeJs 环境便于调试)
后续可全局导入, 在其他设备或新设备上全局导入
2. 可以隐藏 BoxJs 悬浮按钮 (在侧栏中可以恢复显示)
--------------------------
#EnvJs 更新
> 本次更新主要面向开发者
【增加】NodeJs 环境支持
1. 支持由 BoxJs 全局导出的数据
a. 在 BoxJs 点悬浮图标, 点`导出` (最顶部绿色图标)
b. 在运行脚本相同目录下新建名为`box.dat`的文件, 并把 BoxJs 导出的数据完整粘贴进去
测试! 测试! 测试!
1. BoxJs 应用订阅
跟机场订阅一样, BoxJs 内的应用也可以订阅外部资源
路径: 底栏`订阅`>`添加订阅`
注意: 更新了正则! 更新了正则! 更新了正则!
注意: 更新完记得重启代理开关
问: 我可以自己写订阅吗?
答: 可以,参考上面订阅地址的格式写一份自己的订单配置即可
问: 写完放哪里最方便?
答: https://gist.github.com 把配置写好放到自己的 gist 即可. 然后复制原始路径`raw`并添加到`BoxJs`
这里有一个我自己用 gist 写的 demo
https://gist.githubusercontent.com/chavyleung/e023a91b9d6e444331ffb476769cbea1/raw/0ae4ea0b4870217274ef5094adf227cc8f83fe6b/chavy.app.sub.json
最后附上 #Sunertly 大佬的两个应用 (中青、微博) 订阅地址:
https://raw.githubusercontent.com/Sunert/Scripts/master/Task/sunert.boxjs.json
1. BoxJs 应用订阅
跟机场订阅一样, BoxJs 内的应用也可以订阅外部资源
路径: 底栏`订阅`>`添加订阅`
注意: 更新了正则! 更新了正则! 更新了正则!
注意: 更新完记得重启代理开关
问: 我可以自己写订阅吗?
答: 可以,参考上面订阅地址的格式写一份自己的订单配置即可
问: 写完放哪里最方便?
答: https://gist.github.com 把配置写好放到自己的 gist 即可. 然后复制原始路径`raw`并添加到`BoxJs`
这里有一个我自己用 gist 写的 demo
https://gist.githubusercontent.com/chavyleung/e023a91b9d6e444331ffb476769cbea1/raw/0ae4ea0b4870217274ef5094adf227cc8f83fe6b/chavy.app.sub.json
最后附上 #Sunertly 大佬的两个应用 (中青、微博) 订阅地址:
https://raw.githubusercontent.com/Sunert/Scripts/master/Task/sunert.boxjs.json
Gist
Discover gists
GitHub Gist: instantly share code, notes, and snippets.
#BoxJs资源集合
BoxJs 文档
https://chavyleung.gitbook.io/boxjs/
BoxJs 订阅
https://chavyleung.gitbook.io/boxjs/awesome/subscriptions
BoxJs 视频
https://chavyleung.gitbook.io/boxjs/awesome/videos
BoxJs 壁纸
https://chavyleung.gitbook.io/boxjs/awesome/wallpapers
BoxJs 文档
https://chavyleung.gitbook.io/boxjs/
BoxJs 订阅
https://chavyleung.gitbook.io/boxjs/awesome/subscriptions
BoxJs 视频
https://chavyleung.gitbook.io/boxjs/awesome/videos
BoxJs 壁纸
https://chavyleung.gitbook.io/boxjs/awesome/wallpapers
docs.boxjs.app
介绍 | BoxJs
BoxJs 是一款运行在 Surge、Quantumult X、Loon、Shadowrocket、Stash 环境下的脚本!
Chavy Scripts pinned «#BoxJs资源集合 BoxJs 文档 https://chavyleung.gitbook.io/boxjs/ BoxJs 订阅 https://chavyleung.gitbook.io/boxjs/awesome/subscriptions BoxJs 视频 https://chavyleung.gitbook.io/boxjs/awesome/videos BoxJs 壁纸 https://chavyleung.gitbook.io/boxjs/awesome/wallpapers»
#BoxJs订阅
#zZPiglet
【1】滴滴出行
【2】115 网盘自动摇一摇得空间
【3】便利蜂
【4】海底捞
【5】微信小程序 - 喜茶GO
【6】微信小程序 - 奈雪点单
订阅地址:
https://raw.githubusercontent.com/zZPiglet/Task/master/zZPiglet.boxjs.json
作者仓库:
https://github.com/zZPiglet/Task
#zZPiglet
【1】滴滴出行
【2】115 网盘自动摇一摇得空间
【3】便利蜂
【4】海底捞
【5】微信小程序 - 喜茶GO
【6】微信小程序 - 奈雪点单
订阅地址:
https://raw.githubusercontent.com/zZPiglet/Task/master/zZPiglet.boxjs.json
作者仓库:
https://github.com/zZPiglet/Task
GitHub
GitHub - zZPiglet/Task: Some Scripts.
Some Scripts. Contribute to zZPiglet/Task development by creating an account on GitHub.
#BoxJs 更新
1. 【悬浮按钮】可以
2. 【我的】可以设置昵称和头像
3. 【我的】可以创建多个`全局备份`
4. 【我的】可以针对某个`全局备份`作出`全局还原`操作
正则有更新,注意更新完重启代理开关
1. 【悬浮按钮】可以
全局备份
& `全局导入`了2. 【我的】可以设置昵称和头像
3. 【我的】可以创建多个`全局备份`
4. 【我的】可以针对某个`全局备份`作出`全局还原`操作
正则有更新,注意更新完重启代理开关
#BoxJs订阅
#chavyleung
【1】10086
【2】苏宁易购
【3】bilibili直播
【4】美团
【5】芒果TV
订阅地址:
https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.json
作者仓库:
https://github.com/chavyleung/scripts
后续内置应用会陆续改为订阅的方式, 好处是订阅更新了马上生效, 不用单独更新 BoxJs
#chavyleung
【1】10086
【2】苏宁易购
【3】bilibili直播
【4】美团
【5】芒果TV
订阅地址:
https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.json
作者仓库:
https://github.com/chavyleung/scripts
后续内置应用会陆续改为订阅的方式, 好处是订阅更新了马上生效, 不用单独更新 BoxJs
GitHub
GitHub - chavyleung/scripts: BoxJs
BoxJs. Contribute to chavyleung/scripts development by creating an account on GitHub.
#BoxJs订阅
#toulanboy
【1】降雨提醒
【2】微博超话
订阅地址:
https://raw.githubusercontent.com/toulanboy/scripts/master/toulanboy.boxjs.json
作者仓库:
https://github.com/toulanboy/scripts/tree/master
#toulanboy
【1】降雨提醒
【2】微博超话
订阅地址:
https://raw.githubusercontent.com/toulanboy/scripts/master/toulanboy.boxjs.json
作者仓库:
https://github.com/toulanboy/scripts/tree/master
GitHub
GitHub - toulanboy/scripts: Nothing here.
Nothing here. Contribute to toulanboy/scripts development by creating an account on GitHub.
测试!测试!测试!
#中国移动 查话费
有两个获取ck的地方
打开app获取一次,点击话费余额获取一次
【如果打开 App 时无提示获取会话】
“我的”-“设置”-“登陆设置”中关闭指纹登陆,打开自动登录,登陆以后关后台重进,才能保证获取到ck
感谢 #ridiculou 提供的姿势
注意:是 中国移动 app,不是之前的10086 app
感谢 #wangfei021325 灰灰大佬提供的数据及加解密姿势
hostname = clientaccess.10086.cn
# Surge
Rewrite: CMCC = type=http-request,pattern=^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js,requires-body=true,debug=true
Rewrite: CMCC = type=http-request,pattern=^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js,requires-body=true,debug=true
Tasks: 10086-查话费 = type=cron,cronexp=10 0 * * *,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.js,wake-system=true
# QuanX
^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
10 0 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.js, tag=10086-查话费
# Loon
http-response ^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js, requires-body=true
http-response ^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js, requires-body=true
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
#中国移动 查话费
有两个获取ck的地方
打开app获取一次,点击话费余额获取一次
【如果打开 App 时无提示获取会话】
“我的”-“设置”-“登陆设置”中关闭指纹登陆,打开自动登录,登陆以后关后台重进,才能保证获取到ck
感谢 #ridiculou 提供的姿势
注意:是 中国移动 app,不是之前的10086 app
感谢 #wangfei021325 灰灰大佬提供的数据及加解密姿势
hostname = clientaccess.10086.cn
# Surge
Rewrite: CMCC = type=http-request,pattern=^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js,requires-body=true,debug=true
Rewrite: CMCC = type=http-request,pattern=^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js,requires-body=true,debug=true
Tasks: 10086-查话费 = type=cron,cronexp=10 0 * * *,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.js,wake-system=true
# QuanX
^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
10 0 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.js, tag=10086-查话费
# Loon
http-response ^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js, requires-body=true
http-response ^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js, requires-body=true
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
#BoxJs更新
> 本次更新主要面向开发者
1. setting 和 data 的 key 可以是表达式
如: @github.repo 意思是从持久化仓库中取 github 的值并 parse 成对象再赋值到 repo 属性
大概逻辑: JSON.parse($.getdata('github')).repo = 'xxx'
同理: @github.repo.xxx.xxx (允许多层读写)
2. 增加长文本控件 type='textarea' (类似 github 仓库监控监听可使用该控件)
#EnvJs更新
> 本次更新主要面向开发者
1. $.getdata 支持层级读写
1.1: $.getdata('github') 直接从持久化仓库获取 github 属性
1.2: $.getdata('@github.repo') => JSON.parse(github).repo
1.3: $.getdata('@github.repo.xxx') => JSON.parse(github).repo.xxx
2. $.setdata 同理
1.1 $.getdata('http://xxx', '@github.repo') 把值写入到 github.repo
> 本次更新主要面向开发者
1. setting 和 data 的 key 可以是表达式
如: @github.repo 意思是从持久化仓库中取 github 的值并 parse 成对象再赋值到 repo 属性
大概逻辑: JSON.parse($.getdata('github')).repo = 'xxx'
同理: @github.repo.xxx.xxx (允许多层读写)
2. 增加长文本控件 type='textarea' (类似 github 仓库监控监听可使用该控件)
#EnvJs更新
> 本次更新主要面向开发者
1. $.getdata 支持层级读写
1.1: $.getdata('github') 直接从持久化仓库获取 github 属性
1.2: $.getdata('@github.repo') => JSON.parse(github).repo
1.3: $.getdata('@github.repo.xxx') => JSON.parse(github).repo.xxx
2. $.setdata 同理
1.1 $.getdata('http://xxx', '@github.repo') 把值写入到 github.repo
#BoxJs订阅
#lxk0301
【1】京东水果
【2】京东萌宠
【3】京东种豆
订阅地址:
https://gitee.com/lxk0301/scripts/raw/master/lxk0301.boxjs.json
作者仓库:
【nzw9314】https://github.com/nzw9314/QuantumultX/tree/master
【lxk0301】https://gitee.com/lxk0301/scripts/
#lxk0301
【1】京东水果
【2】京东萌宠
【3】京东种豆
订阅地址:
https://gitee.com/lxk0301/scripts/raw/master/lxk0301.boxjs.json
作者仓库:
【nzw9314】https://github.com/nzw9314/QuantumultX/tree/master
【lxk0301】https://gitee.com/lxk0301/scripts/