Chavy Scripts
Photo
chavy.box.js,
测试! 测试! 测试!
1. 多账号保存&切换
订阅配置后
访问: https://8.8.8.8/home
[如何保存当前会话]
1. 按正常流程获取会话 (Cookie)
2. 进入 Box 页面: https://8.8.8.8/home
3. 选择应用 > 当前会话 > 右下方`保存`
4. 登录另一个账号, 再按正常流程获取会话 (Cookie)
5. 进入 Box 再保存一次会话 (这时应该有两个会话了)
[如何切换当前会话]
1. 保存多个会话后, 就可以随意切换了
2. 选择应用 > 点会话右下方`应用` 就可以切换到当前会话了
问题1: 我有多个账号,只能手动在 Box 页面切换吗?
答: 是的! 后续可以配合自动切换脚本使用.
原理大致是:
01:00 账号一签到,
02:00 自动切换到账号二
03:00 账号二签到
循环...
QuanX 本地订阅:
https://raw.githubusercontent.com/chavyleung/scripts/master/QuantumultX.box.local.conf
QuanX 远程订阅:
https://raw.githubusercontent.com/chavyleung/scripts/master/QuantumultX.box.remote.conf
Surge 模块订阅:
https://raw.githubusercontent.com/chavyleung/scripts/master/surge.box.sgmodule
测试! 测试! 测试!
1. 多账号保存&切换
订阅配置后
访问: https://8.8.8.8/home
[如何保存当前会话]
1. 按正常流程获取会话 (Cookie)
2. 进入 Box 页面: https://8.8.8.8/home
3. 选择应用 > 当前会话 > 右下方`保存`
4. 登录另一个账号, 再按正常流程获取会话 (Cookie)
5. 进入 Box 再保存一次会话 (这时应该有两个会话了)
[如何切换当前会话]
1. 保存多个会话后, 就可以随意切换了
2. 选择应用 > 点会话右下方`应用` 就可以切换到当前会话了
问题1: 我有多个账号,只能手动在 Box 页面切换吗?
答: 是的! 后续可以配合自动切换脚本使用.
原理大致是:
01:00 账号一签到,
02:00 自动切换到账号二
03:00 账号二签到
循环...
QuanX 本地订阅:
https://raw.githubusercontent.com/chavyleung/scripts/master/QuantumultX.box.local.conf
QuanX 远程订阅:
https://raw.githubusercontent.com/chavyleung/scripts/master/QuantumultX.box.remote.conf
Surge 模块订阅:
https://raw.githubusercontent.com/chavyleung/scripts/master/surge.box.sgmodule
# 配合 [box.switcher.js] 实现多会话切换
# cron 根据自身情况设置, 如:
# 00:02, 00:04, 00:06 切换会话
# 00:01, 00:03, 00:05 签到
Tasks: 切换会话 = type=cron,cronexp="2,4,6 * * * *"
Tasks: ApkTw = type=cron,cronexp="1,3,5 * * * *"
# Surge
Tasks: 切换会话 = type=cron,cronexp="0 12 * * *",script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js,wake-system=true
# QuanX
0 12 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js, tag=切换会话
# Loon
cron "0 12 * * *"" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js
# cron 根据自身情况设置, 如:
# 00:02, 00:04, 00:06 切换会话
# 00:01, 00:03, 00:05 签到
Tasks: 切换会话 = type=cron,cronexp="2,4,6 * * * *"
Tasks: ApkTw = type=cron,cronexp="1,3,5 * * * *"
# Surge
Tasks: 切换会话 = type=cron,cronexp="0 12 * * *",script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js,wake-system=true
# QuanX
0 12 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js, tag=切换会话
# Loon
cron "0 12 * * *"" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js
有道云笔记 测试
hostname = note.youdao.com
# Surge
Rewrite: 有道云笔记 = type=http-request,pattern=^https:\/\/note.youdao.com\/yws\/mapi\/user\?method=checkin,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.cookie.js,requires-body=true
Tasks: 有道云笔记 = type=cron,cronexp="3 0 * * *",script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js,wake-system=true
# QuanX
[rewrite_local]
^https:\/\/note.youdao.com\/yws\/mapi\/user\?method=checkin url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.cookie.js
[task_local]
3 0 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js, tag=有道云笔记
# Loon
http-request ^https:\/\/note.youdao.com\/yws\/mapi\/user\?method=checkin script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.cookie.js, requires-body=true
cron "3 0 * * *"" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js
hostname = note.youdao.com
# Surge
Rewrite: 有道云笔记 = type=http-request,pattern=^https:\/\/note.youdao.com\/yws\/mapi\/user\?method=checkin,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.cookie.js,requires-body=true
Tasks: 有道云笔记 = type=cron,cronexp="3 0 * * *",script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js,wake-system=true
# QuanX
[rewrite_local]
^https:\/\/note.youdao.com\/yws\/mapi\/user\?method=checkin url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.cookie.js
[task_local]
3 0 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js, tag=有道云笔记
# Loon
http-request ^https:\/\/note.youdao.com\/yws\/mapi\/user\?method=checkin script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.cookie.js, requires-body=true
cron "3 0 * * *"" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js
测试 Crazy Boom!
如果配置好连炸, 建议把 cron 提前 2 秒!
如: 58 秒执行, 执行 21 次, 间隔 100 毫秒
这样理论上就能覆盖 58s-01s, 剩下的,就看是否准时触发了
建议:
# 09:59:58, 11:59:58, 17:59:58, 19:59:58, 20:59:58
cron1: 58 59 9,11,17,19,20 * * *
# 21:30 > 21:29:58
cron2: 58 29 21 * * *
#@Gideon_Senku
58 29,59 9,11,15,17,19,20,21 * * *
如果配置好连炸, 建议把 cron 提前 2 秒!
如: 58 秒执行, 执行 21 次, 间隔 100 毫秒
这样理论上就能覆盖 58s-01s, 剩下的,就看是否准时触发了
建议:
# 09:59:58, 11:59:58, 17:59:58, 19:59:58, 20:59:58
cron1: 58 59 9,11,17,19,20 * * *
# 21:30 > 21:29:58
cron2: 58 29 21 * * *
#@Gideon_Senku
58 29,59 9,11,15,17,19,20,21 * * *
京东618 增加随机间隔时间
可在 BoxJs 手动调整
不服输的勇士位可以再尝试下
注意: 默认情况下完成 1 个任务会在 20-30 秒, Surge 用户注意设置好 timeout. 每天首次任务可能需要 20-30 分钟
可在 BoxJs 手动调整
不服输的勇士位可以再尝试下
注意: 默认情况下完成 1 个任务会在 20-30 秒, Surge 用户注意设置好 timeout. 每天首次任务可能需要 20-30 分钟