路由替换
Overview
把线上 URL 通过命名配置快速改写到本地/测试环境。
一个面向前端 / 后端 / QA / 产品的 URL 改写工具:把线上 URL 一键改成本地或测试环境的等价 URL,不用手动替换 host、拼 query。 【核心能力】 · 命名 Profile —— 每个联调场景一份配置,Popup 里下拉切换 · 3 类规则组合 —— rename(改 key 名)、assign(覆盖/新增 key)、remove(删除 key),按定义顺序执行 · 目标 Host 选填 —— 留空则不改 host,扩展退化为纯 query 参数改写器 · Path / Hash 原样保留 —— 只动 host 与 query,不影响路由 【典型场景】 · 骑手端 H5 联调:把 `prod.example.com/order?ticket=xxx` 改成 `localhost:8080/order?token=xxx` · 测试环境切换:`?env=prod` 一键改成 `?env=staging` · 加调试参数:任意页面追加 `?debug=1&isMock=1` 【30 秒上手】 1. 点扩展图标打开 Popup,齿轮按钮进"管理配置" 2. 新建一个 Profile,填目标 Host(可留空)+ 若干 query 规则 3. 回到 Popup,选中该 Profile,右上角紫色按钮"在新 tab 打开"、副按钮复制到剪贴板 【隐私声明】 本扩展不收集、不上传、不传输任何用户数据。所有 Profile 配置仅保存在浏览器本地(chrome.storage.local),卸载扩展即完全清除。无网络请求、无埋点、无第三方 SDK
0 out of 5No ratings
Details
- Version1.0.0
- UpdatedAugust 11, 2026
- Offered by汤呼呼
- Size27.44KiB
- Languages中文(中国)
- Developer
Email
biglizhier@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site