← Back to Product Feed

GitHub Open Source Yu9191/wloc

修改 Apple 网络定位(gs-loc)返回坐标 · 支持 Surge / Quantumult X / Loon / Stash · 快捷指令一键设置/恢复定位

3,241
Traction Score
447
Forks
Jun 24, 2026
Launch Date
View Origin Link

Product Positioning & Context

修改 Apple 网络定位(gs-loc)返回坐标 · 支持 Surge / Quantumult X / Loon / Stash · 快捷指令一键设置/恢复定位

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Yu9191/wloc?
Yu9191/wloc is a digital product or tool described as: 修改 Apple 网络定位(gs-loc)返回坐标 · 支持 Surge / Quantumult X / Loon / Stash · 快捷指令一键设置/恢复定位
Where did Yu9191/wloc originate?
Data for Yu9191/wloc was aggregated directly from the GitHub Open Source community ecosystem, representing raw developer and early-adopter sentiment.
When was Yu9191/wloc publicly launched?
The initial public indexing or launch date for Yu9191/wloc within our tracked developer communities was recorded on June 24, 2026.
How popular is Yu9191/wloc?
Yu9191/wloc has achieved measurable traction, logging over 3,241 traction score and facilitating 447 recorded discussions or engagements.
Are there active development issues for Yu9191/wloc?
Yes, we are currently tracking open architectural debates and bug reports for this project on GitHub. There are currently 5 active high-priority issues logged recently.
What are some commercial alternatives to Yu9191/wloc?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as Velo 3.0, which offers overlapping value propositions.
How does the creator describe Yu9191/wloc?
The original author or development team describes the product as follows: "修改 Apple 网络定位(gs-loc)返回坐标 · 支持 Surge / Quantumult X / Loon / Stash · 快捷指令一键设置/恢复定位"

Active Developer Issues (GitHub)

open stash安装override之后vpn无法启用
Logged: Jun 26, 2026
open 是否能兼容Shadowrocket
Logged: Jun 26, 2026
open wloc 清理恢复位置后无法获取位置
Logged: Jun 26, 2026
open 可不可以添加模拟海拔?
Logged: Jun 26, 2026
open 可不可以用来开通某些地区的wificalling?
Logged: Jun 25, 2026

Community Voice & Feedback

ngn999 • Jun 28, 2026
> > 已支持 Shadowrocket(小火箭) ✅
> > 根因:Shadowrocket 的 JavaScriptCore 沙箱不暴露 `URL` / `URLSearchParams` 全局,导致 `wloc-settings.js` 每次拦截 `/wloc-settings/save` 都抛 ReferenceError,储存失败。已在源码改用纯字符串查询解析器并重新构建(非手改产物),并新增小火箭专用模块。
> > 小火箭订阅地址: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.module`
> > 使用:小火箭 → 配置 → 模块,添加上面地址;开启 MITM 并信任证书后,打开选点页面选点 → 储存到设备即可。
>
> 我这里测试 模块配置后也安装了证书并重启后,使用快捷指令设置位置提示成功,但地图仍是当前位置。小火箭用代理或配置模式都是如此。

我換用他這最新的shadowrocket module,是可以的。
不要一上來就用快捷指令, 先用那個cf worker的頁面,點"儲存到設備" 看看是不是有報錯,如果有就是shadowrocket的mitm/script開關,配置有問題。
xu42 • Jun 28, 2026
> 已支持 Shadowrocket(小火箭) ✅
>
> 根因:Shadowrocket 的 JavaScriptCore 沙箱不暴露 `URL` / `URLSearchParams` 全局,导致 `wloc-settings.js` 每次拦截 `/wloc-settings/save` 都抛 ReferenceError,储存失败。已在源码改用纯字符串查询解析器并重新构建(非手改产物),并新增小火箭专用模块。
>
> 小火箭订阅地址: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.module`
>
> 使用:小火箭 → 配置 → 模块,添加上面地址;开启 MITM 并信任证书后,打开选点页面选点 → 储存到设备即可。

我这里测试 模块配置后也安装了证书并重启后,使用快捷指令设置位置提示成功,但地图仍是当前位置。小火箭用代理或配置模式都是如此。
Yu9191 • Jun 27, 2026
已支持 Shadowrocket(小火箭) ✅

根因:Shadowrocket 的 JavaScriptCore 沙箱不暴露 `URL` / `URLSearchParams` 全局,导致 `wloc-settings.js` 每次拦截 `/wloc-settings/save` 都抛 ReferenceError,储存失败。已在源码改用纯字符串查询解析器并重新构建(非手改产物),并新增小火箭专用模块。

小火箭订阅地址:
`https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.module`

使用:小火箭 → 配置 → 模块,添加上面地址;开启 MITM 并信任证书后,打开选点页面选点 → 储存到设备即可。
ngn999 • Jun 27, 2026
> > 小火箭的保有率远高于其他几款App。小火箭也支持基本的MitM功能,似乎可以通过微调来实现兼容小火箭?
>
> 脚本用的框架 没有限制小火箭 脚本语法也是支持的 至于为什么失败 我也不清楚了

AI給改了一個支持的,原因是: Shadowrocket's JavaScriptCore sandbox doesn't expose URLSearchParams (or URL) as globals.

diff在這:https://github.com/ngn999/wloc/commit/270b085166032f630707d9fbd039e4ad183d2798

但是改的压縮過的js, diff没法看。
CyberChun0329 • Jun 26, 2026
ios27 beta2貌似还是无法生效定位修改![image](https://github.com/user-attachments/assets/d04a1aae-a410-44bc-8dab-5d39f5e96c5e)
CyberChun0329 • Jun 26, 2026
我在这里提供了解决方案:https://github.com/Yu9191/wloc/issues/15
CyberChun0329 • Jun 26, 2026
改成这样就好了,作者请参考一下:
https://gist.githubusercontent.com/CyberChun0329/bc059a1a2c129624192b504b143e6b10/raw/60795ded73c972da30757ccde6dbd2f604854202/gistfile1.txt
Yu9191 • Jun 26, 2026
我建议提供代理工具的相关日志,worker页面点一次储存位置,报错,然后把 Stash 的脚本日志(或网络请求记录里 gs-loc.apple.com/wloc-settings/save 那条)发我
我需要知道:
有没有拦截到 /wloc-settings/save(日志里有没有 [wloc-settings] 那几行);
如果拦到了,mock 响应回的头里有没有 Access-Control-Allow-Origin
Yu9191 • Jun 26, 2026
> 小火箭的保有率远高于其他几款App。小火箭也支持基本的MitM功能,似乎可以通过微调来实现兼容小火箭?

脚本用的框架 没有限制小火箭 脚本语法也是支持的
至于为什么失败 我也不清楚了
Yu9191 • Jun 26, 2026
> > 已支持模拟海拔,麻烦帮忙测试一下 🙏(目前在 `geo` 分支,测试阶段)
> >
> > **订阅地址(geo 分支)**
> >
> > * Surge: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.sgmodule`
> > * Loon: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.lpx`
> > * Stash: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.stoverride`
> > * QuantumultX: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.conf`
> >
> > **选点页 / Worker 地址**
> >
> > * https://wloc-spoofer.daoyufan.workers.dev/
> >
> > **用法**:选点页选好点后,在「海拔」框填数值(或勾「自动查询地面海拔」,可选填楼层叠加离地高度),储存到设备即可;脚本会把海拔写入定位响应。
> >
> > ⚠️ 测试前请先**关闭/删除之前的旧模块**,避免两个模块同时拦截冲突。
>
> 设备是iPhone14 Pro,系统是IOS16.0.3.使用的是loon,已启用这个插件,mitm中也信任了那两个网址,也设置了这两个网址通过代理,但还是在https://wloc-spoofer.daoyufan.workers.dev/这个网页中提示模块未生效。不知道为啥。

脚本任务相关的检查一下
JustGNest • Jun 26, 2026
> 已支持模拟海拔,麻烦帮忙测试一下 🙏(目前在 `geo` 分支,测试阶段)
>
> **订阅地址(geo 分支)**
>
> * Surge: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.sgmodule`
> * Loon: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.lpx`
> * Stash: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.stoverride`
> * QuantumultX: `https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/geo/modules/wloc.conf`
>
> **选点页 / Worker 地址**
>
> * https://wloc-spoofer.daoyufan.workers.dev/
>
> **用法**:选点页选好点后,在「海拔」框填数值(或勾「自动查询地面海拔」,可选填楼层叠加离地高度),储存到设备即可;脚本会把海拔写入定位响应。
>
> ⚠️ 测试前请先**关闭/删除之前的旧模块**,避免两个模块同时拦截冲突。

设备是iPhone14 Pro,系统是IOS16.0.3.使用的是loon,已启用这个插件,mitm中也信任了那两个网址,也设置了这两个网址通过代理,但还是在https://wloc-spoofer.daoyufan.workers.dev/这个网页中提示模块未生效。不知道为啥。
jiz4oh • Jun 26, 2026
> Stash: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.stoverride 试试看

以下是 stash 的正确语法,需要通过 script-providers 声明脚本路径,但依然不可用。

```yaml
#SUBSCRIBED https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.stoverride
name: Apple WLOC 定位修改
desc: "修改 Apple 网络定位返回坐标 | 快捷指令(推荐): 设置地理位置 https://www.icloud.com/shortcuts/a82717d8fdad4e6280866fcf911173f7 清理恢复位置 https://www.icloud.com/shortcuts/f42632d406504f24a2cd163af4fe012f | 选点页面: https://wloc-pages.pages.dev/"
author: Yu9191 Rewrite
homepage: https://github.com/Yu9191/wloc
icon: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/wloc.jpg
category: Tools

http:
mitm:
- "gs-loc.apple.com"
- "gs-loc-cn.apple.com"
script:
- match: ^https?:\/\/gs-loc(-cn)?\.apple\.com\/clls\/wloc
name: Apple WLOC
type: response
require-body: true
binary-mode: true
max-size: 0
timeout: 30
argument: longitude=113.94114&latitude=22.544577&accuracy=25&log...
alalalex-m • Jun 26, 2026
26.5,过了一小时看了一下好了
Yu9191 • Jun 26, 2026
> > > 重启定位也一样
> >
> > 有清除的捷徑 點擊就好了
>
> 是点的捷径,点完跳到设置,换掉定位过一会儿打开,整个手机的定位都没法获取定位了

脚本只修改位置相关的 整个手机没办法获取定位..
这个问题 不是脚本问题吧
可能是系统缓存有问题 过一会会自动好的
你是什么系统?
alalalex-m • Jun 26, 2026
> > 重启定位也一样
>
> 有清除的捷徑 點擊就好了

是点的捷径,点完跳到设置,换掉定位过一会儿打开,整个手机的定位都没法获取定位了

Discovery Source

GitHub Open Source GitHub Open Source

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.