mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-21 22:30:46 +08:00
The upstream wloc.js already applies randomRadius. Surf/Loon/Stash/ Shadowrocket modules now pass the perturbation argument through so users can configure it in the proxy client UI (QX rewrite cannot carry args).
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
name: Apple WLOC 定位修改
|
|
desc: Location Spoofer 第三方代理模块
|
|
author: xweiba
|
|
homepage: https://github.com/xweiba/location-spoofer
|
|
category: Tools
|
|
|
|
http:
|
|
mitm:
|
|
- "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"
|
|
script:
|
|
- match: ^https?:\/\/(?:gs-loc(?:-cn)?\.apple\.com|gsp-ssl\.ls\.apple\.com|bluedot\.is\.autonavi\.com(?:\.gds\.alibabadns\.com)?)\/clls\/wloc
|
|
name: WLOC.Location
|
|
type: response
|
|
require-body: true
|
|
binary-mode: true
|
|
max-size: 0
|
|
timeout: 30
|
|
argument: longitude=113.94114&latitude=22.544577&accuracy=25&randomRadius=0&logLevel=info
|
|
- match: ^https?:\/\/gs-loc(-cn)?\.apple\.com\/wloc-settings\/(save|version)
|
|
name: WLOC.Settings
|
|
type: request
|
|
require-body: false
|
|
timeout: 10
|
|
|
|
script-providers:
|
|
WLOC.Location:
|
|
url: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/dist/wloc.js
|
|
interval: 86400
|
|
WLOC.Settings:
|
|
url: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/dist/wloc-settings.js
|
|
interval: 86400
|