介绍
BoxJs 是一款运行在 Surge、Quantumult X、Loon、Shadowrocket、Stash 环境下的脚本!
安装
Surge
一键安装
如果你使用的是 v5 5.21.0 (3063) 及以上的版本,你可以直接: 一键安装
手动安装
# 安装路径:
首页 > 模块 > 安装新模块
# 模块地址:
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.surge.sgmoduleQuantumult X
在最新的版本,推荐只使用 Rewrite 安装,无特殊需要无必要配置 HTTP Backend。
一键安装
如果你使用的是 v1.0.29 (670) 及以上版本: 一键安装
手动安装
# 安装路径:
风车 > 重写 > 引用
# 重写路径:
https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.conf
HTTP Backend 需要通过 IP+端口 的形式访问
如果你觉得这样不够优雅,可参考 `Rewrite + HTTP Backend (进阶)` 实现域名访问
# 安装路径:
风车 > 工具&分析> HTTP Backend > 添加
# 标签: boxjs
# 处理请求的路径: ^/
# 脚本路径
https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.js
# 访问地址:
http://127.0.0.1:9999
# 注意事项
注意配置 HTTP Backend 的地址为 0.0.0.0 端口为 9999
配置完成后确保打开了 HTTP Backend 的开关
然后 全部更新 > 重启代理Loon
一键安装
如果你使用的是 v2.1.19 (385) 及以上的版本,你可以直接: 一键安装
手动安装
Shadowrocket
一键安装
如果你使用的是 v2.2.8 (1658) 及以上的版本,你可以直接: 一键安装
手动安装
安装完成后,最好重启一次代理
Stash
一键安装
如果你正在使用最新版本的 Stash 版本,你可以直接: 一键安装
手动安装
访问
最后更新于
这有帮助吗?