1.保存文件到 Surge 根目录
2.新建模块,内容为下方内容
3.关闭以前的 BoxJS 模块,开启 BoxJs_React 模块
#!name=BoxJs_React
#!desc=http://boxjs.com
[General]
force-http-engine-hosts = %APPEND% boxjs.com, boxjs.net, *.boxjs.com, *.boxjs.net
[Script]
Rewrite: BoxJs = type=http-request,pattern=^https?:\/\/(.+\.)?boxjs\.(com|net),script-path=chavy.boxjs.js, requires-body=true, timeout=120
[MITM]
hostname = %INSERT% boxjs.com, boxjs.net, *.boxjs.com, *.boxjs.net
>>Click here to continue<<