mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-21 22:30:46 +08:00
Modules now load wloc.js and wloc-settings.js directly from Yu9191/wloc (raw for direct, gh-proxy for the mirror path) instead of the project's own dist copies, so proxy clients run the battle-tested upstream scripts. The Shadowrocket module also carries the upstream argument config and icon.
13 lines
907 B
Plaintext
13 lines
907 B
Plaintext
#!name=Apple WLOC 定位修改
|
|
#!desc=Location Spoofer 第三方代理模块
|
|
#!author=xweiba
|
|
#!homepage=https://github.com/xweiba/location-spoofer
|
|
#!category=Tools
|
|
|
|
[Script]
|
|
Apple WLOC = type=http-response, pattern="^https?:\/\/(?:gs-loc(?:-cn)?\.apple\.com|gsp-ssl\.ls\.apple\.com|bluedot\.is\.autonavi\.com(?:\.gds\.alibabadns\.com)?)\/clls\/wloc", requires-body=1, binary-body-mode=1, max-size=0, timeout=30, script-path=https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/dist/wloc.js
|
|
WLOC Settings = type=http-request, pattern="^https?:\/\/gs-loc(-cn)?\.apple\.com\/wloc-settings\/(save|version)", requires-body=0, max-size=0, timeout=10, script-path=https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/dist/wloc-settings.js
|
|
|
|
[MITM]
|
|
hostname = %APPEND% gs-loc.apple.com, gs-loc-cn.apple.com, gsp-ssl.ls.apple.com, bluedot.is.autonavi.com, bluedot.is.autonavi.com.gds.alibabadns.com
|