#!name=赤赤定位助手 #!desc=配合 loc.srdhw.com 远程配置使用;插件内填写 configUrl 或 configHost+configToken #!homepage=https://loc.srdhw.com/install [Argument] enabled = switch,true,tag=启用定位修改,desc=关闭后脚本直接放行原始定位数据 latitude = input,"37.3349",tag=纬度(备用),desc=未配置远程时生效 longitude = input,"-122.00902",tag=经度(备用),desc=未配置远程时生效 altitude = input,"530",tag=海拔(米),desc=目标海拔 configHost = input,"https://loc.srdhw.com",tag=配置服务器,desc=不要末尾斜杠 configToken = input,"d838d01e12888384a1af8eb5290558c460bac6fcee79eab0",tag=配置Token,desc=填写你的 token configUrl = input,"https://loc.srdhw.com/loc.json?token=d838d01e12888384a1af8eb5290558c460bac6fcee79eab0",tag=远程配置URL,desc=已内置固定 token,导入即可使用 debug = switch,false,tag=调试日志,desc=需要排查时开启 [Script] http-request ^https?:\/\/(?:gs-loc(?:-cn)?\.apple\.com|bluedot\.is\.autonavi\.com(?:\.gds\.alibabadns\.com)?)\/clls\/wloc(?:\?.*)?$ script-path=https://loc.srdhw.com/location-spoofer.js, requires-body=false, timeout=3, tag=赤赤定位助手 Prepare, argument=[{debug}] http-response ^https?:\/\/(?:gs-loc(?:-cn)?\.apple\.com|bluedot\.is\.autonavi\.com(?:\.gds\.alibabadns\.com)?)\/clls\/wloc(?:\?.*)?$ script-path=https://loc.srdhw.com/location-spoofer.js, requires-body=true, binary-body-mode=true, max-size=1048576, timeout=12, tag=赤赤定位助手, argument=[{enabled},{latitude},{longitude},{altitude},"",{configHost},{configToken},{configUrl},{debug}] [mitm] hostname = gs-loc.apple.com, gs-loc-cn.apple.com, bluedot.is.autonavi.com, bluedot.is.autonavi.com.gds.alibabadns.com