Ajax Proxy
Gj的扩展 · EEdge MV3
Modify your Ajax response to test
截图
简介
Ajax Proxy
一款基于 Chromium 内核的浏览器扩展,面向 Web 开发者,用于修改 Ajax 响应数据和重定向请求,帮助调试接口、联调页面和验证异常场景。
主要功能
• 修改 XMLHttpRequest(XHR)和 Fetch 请求的响应数据。
• 按 URL 和请求方法配置拦截规则,支持正则匹配。
• 使用 JSON 编辑器或自定义函数编辑响应内容。
• 将请求重定向到指定地址。
• 开启、关闭、编辑和复制规则。
• 备份与恢复规则配置。
• 支持中文、英文界面及面板快捷键。
适用场景
• 接口实际返回的数据不符合测试需求,需要调整响应内容。
• 需要验证异常数据、边界值和不同接口响应下的页面表现。
• 开发阶段接口数据频繁变化,影响前后端联调。
• 需要将请求切换到其他测试接口。
使用方式
点击扩展图标打开面板,在 Interceptor 中配置响应修改规则,或在 Redirector 中配置请求重定向规则,启用后刷新目标页面进行测试。
项目与使用说明:https://github.com/Nyakooo/ajax-proxy
问题反馈:https://github.com/Nyakooo/ajax-proxy/issues
——————————
Ajax Proxy is a Chromium browser extension for web developers. Modify Ajax response data and redirect requests to debug APIs, test web pages, and reproduce edge cases.
Features
• Modify response data for XMLHttpRequest (XHR) and Fetch requests.
• Match requests by URL and HTTP method, with regular expression support.
• Edit response content with a JSON editor or custom functions.
• Redirect requests to another URL.
• Enable, disable, edit, and copy rules.
• Back up and restore rule configurations.
• Chinese and English interfaces, with keyboard shortcuts for the panel.
Use cases
• Adjust API response data to meet your testing needs.
• Test unexpected data, boundary values, and different response scenarios.
• Keep frontend development moving when API data changes frequently.
• Switch requests to another test endpoint.
Getting started
Click the extension icon to open the panel. Configure response rules in Interceptor or request redirects in Redirector. Enable the rules and reload the target page to test.
Project and documentation: https://github.com/Nyakooo/ajax-proxy
Report issues: https://github.com/Nyakooo/ajax-proxy/issues
Ajax Proxy 是做什么的
Ajax Proxy 是一款面向 Edge 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:Modify your Ajax response to test在微软 Edge 加载项商店上,它当前版本 3.1.0,评分 4.6(9 人评价),约 1,738 名用户。
适合什么人用
从功能定位看,Ajax Proxy 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 Ajax Proxy
- 打开微软 Edge 加载项商店上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Ajax Proxy 是免费的吗?
Ajax Proxy 在微软 Edge 加载项商店免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Ajax Proxy 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Ajax Proxy 支持哪些浏览器?
当前收录的版本来自微软 Edge 加载项商店,适用于 Edge。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Ajax Proxy?
在扩展管理页找到 Ajax Proxy,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 3
notificationsstoragetabs