Surge 脚本实现 Qx 的 response-body、和request-body 重写类型
如 Qx:
https://service.ilovepdf.com/v1/user url response-body false response-body true
可改写为 Surge:
test = type=http-response,pattern=https://service.ilovepdf.com/v1/user,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/mieqq/mieqq/master/replace-body.js,argument=false=true
@mieqq
如 Qx:
https://service.ilovepdf.com/v1/user url response-body false response-body true
可改写为 Surge:
test = type=http-response,pattern=https://service.ilovepdf.com/v1/user,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/mieqq/mieqq/master/replace-body.js,argument=false=true
@mieqq