mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-21 22:30:46 +08:00
Devices in China can send clls/wloc requests to gsp-ssl.ls.apple.com or bluedot.is.autonavi.com instead of gs-loc.apple.com, so the third-party modules only MITM'd gs-loc hosts and silently failed to spoof location. - Add gsp-ssl.ls.apple.com, bluedot.is.autonavi.com and bluedot.is.autonavi.com.gds.alibabadns.com to all 10 module files (pattern + MITM hostname) and to the built-in proxy isWlocHost - Update app interceptionHostnames and the copy-hostnames guidance - Bump module subscription version to 1.0.1 to bust proxy client cache
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
name: Apple WLOC 定位修改
|
|
desc: "修改 Apple 网络定位返回坐标 | 快捷指令(推荐): 设置地理位置 https://www.icloud.com/shortcuts/a82717d8fdad4e6280866fcf911173f7 清理恢复位置 https://www.icloud.com/shortcuts/f42632d406504f24a2cd163af4fe012f | 选点页面: https://wloc-pages.pages.dev/"
|
|
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
|
|
- 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://gh-proxy.org/https://raw.githubusercontent.com/xweiba/location-spoofer/main/ThirdParty/WlocScripts/dist/v1/wloc.js
|
|
interval: 86400
|
|
WLOC.Settings:
|
|
url: https://gh-proxy.org/https://raw.githubusercontent.com/xweiba/location-spoofer/main/ThirdParty/WlocScripts/dist/v1/wloc-settings.js
|
|
interval: 86400
|