Cool Scripts
QuanX, Loon, Surge, JsBox, Pythonista, Scriptable, Shortcuts等脚本分享
Show more📈 Analytical overview of Telegram channel Cool Scripts
Channel Cool Scripts (@cool_scripts) in the Chinese language segment is an active participant. Currently, the community unites 16 308 subscribers, ranking 8 082 in the Technologies & Applications category and 14 021 in the China region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 16 308 subscribers.
According to the latest data from 09 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -43 over the last 30 days and by -4 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.80%. Within the first 24 hours after publication, content typically collects 4.26% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 598 views. Within the first day, a publication typically gains 694 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 1.
- Thematic interests: Content is focused on key topics such as substore, changlog, updates, shadowrocket, surge.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“QuanX, Loon, Surge, JsBox, Pythonista, Scriptable, Shortcuts等脚本分享”
Thanks to the high frequency of updates (latest data received on 10 June, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
context.process 按 customName 控制后续操作
图中示范的是 启用 2 和 4
所以响应体应该是
0 // 原始的文件本地内容 2 4其他用例: 可根据请求头里不同的 User-Agent 启用/禁用不同的操作, 实现对不同的内核/设备下发不同的内容 但说实话 如果是我的话 我可能会准备三个文件, 一个文件作为入口, 在里面根据情况从另外的文件生成内容
$content = await produceArtifact({
type: 'file',
name: 'name'
})
详见 demo.js
感谢 清黎 的反馈
▎Android 模块中的更新脚本优化
感谢群友 @love_cyrene_nya 的反馈
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesincludeUnsupportedProxy 参数或
开启 含不支持的协议 开关
输入可按 Surge 或 mihomo 格式写
虽然 mihomo 不支持配合 ShadowTLS 但是格式是兼容的
▎ShadowTLS 支持 ALPN
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updateshttps://sub.store/api/sync/artifact/name 。若想独立定时,可关掉这条的同步开关,仅靠此请求触发。
▎支持俄语, 并补全部分缺失的多语言
▎Firefox 等前端样式优化
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesserver-ports , hop-interval
▎修复无日志时自动刷新反复闪暂无日志的问题
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesmax-streams
官方说明: https://t.me/SurgeTestFlightFeed/371
- HTTP/2 CONNECT 和 TrustTunnel 代理现在支持 multiplex,由于过多子链接复用同一个 TCP 连接,可能产生性能问题,因此默认只允许最多 3 个子连接,可通过配置策略参数 max-streams 调整。🤭 Sub-Store 合集 🥰 #SubStore #更新记录 #changlog #updates
修改响应, 可用于修改最终发出的响应
使用场景:
修改构造好的响应 完全可控
1. 快速操作
直接读写 $res
$res.status = 200
$res.header['X-Custom'] = 'new'
$res.body = $res.body
2. function
返回完整 res
async function transformFunction(res, context) {
// res.status: HTTP status code
// res.header / res.headers: response headers
// res.body: response body
return res
}
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesclient-cert 字段
▎Egern Hysteria 2 支持 bandwidth(从节点字段 up 转换)
感谢群友 @IDCF_Cloud 的反馈
▎Hysteria 2 URI 支持解析 upmbps 和 downmbps
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updates$options._req 字段传递 socket.remoteAddress
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesudp: true 表示节点支持 UDP, 不等同于 sing-box 的 network: "udp"
sing-box 默认就是 TCP+UDP
udp: false 会转换成 network: "tcp"
_network 是显式覆盖, 优先级高于 udp
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesmihomoMerge / mihomoMergeName / mihomoExternal
详见 链接参数说明 和 Surge Mac 如何使用不支持的协议(VLESS/SSR 等)
▎增加 HTTP/2 CONNECT 协议过滤
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatesnoCache 禁用缓存
🤭 Sub-Store 合集
🥰 #SubStore #更新记录 #changlog #updatessub.store 其实只是模块脚本重写 MitM 使用的域名,并非我方持
有的公网域名
▎风险
若请求没进重写,数据将发往 sub.store 的公网服务
当然你可以使用映射 sub.store 到 127.0.0.1 等方式来防止意外访问公网的 sub.store
但是普通用户仍可能在切换/开关配置模块等操作后,有发往公网的 sub.store 的请求
1. 可能(仅仅是可能 不是暗示 sub.store 持有者会这么做) 会让 sub.store 跳转到一个假前端
2. 可能会获取到 sub.store 的用户数据
存在数据泄露的风险
▎方案
在群内听取了大家的建议, 暂时不更换为新域名(新域名的选择其实也挺蛋疼的. 需要有关联又短又不能被注册(至少短期之内不会)了)
仅发布本通告. 暂不修改.
一个示例
[Host] sub.store = 127.0.0.1🤭 Sub-Store 合集 🥰 #SubStore #说明 #安全 #域名
Available now! Telegram Research 2025 — the year's key insights 
