MockNetwork
ExtensionDeveloper Tools1 user
Overview
在 Chrome DevTools 中拦截、查看和修改接口请求响应,便于本地调试与前端联调。
MockNetwork 是一个面向开发和测试的 Chrome DevTools 网络调试工具。 它可以在浏览器本机拦截页面发出的接口请求,按规则返回自定义响应,或者在真实响应回来后改写内容。你可以用它快速模拟接口成功、失败、空数据、异常数据等场景,不需要临时改前端代码,也不需要等待后端接口完全就绪。 主要功能: - 支持 fetch 和 XMLHttpRequest 请求。 - 支持普通地址匹配、正则匹配和按请求内容匹配。 - 支持自定义状态码、响应体和 Mock.js 随机数据。 - 提供 DevTools 的 M-Network 面板,方便查看请求明细。 - 支持在页面侧边栏中直接管理拦截规则。 - 配置保存在本机浏览器,不主动上传到服务器。 适合这些场景: - 前端联调时接口还没准备好。 - 测试边界数据、异常数据和空数据。 - 临时复现某个接口返回结果。 - 在不改业务代码的情况下验证页面表现。
0 out of 5No ratings
Details
- Version0.0.11
- UpdatedMay 21, 2026
- Offered byfxzer
- Size2.29MiB
- Languages中文(中国)
- Developer
Email
fxzer8888@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
Manage extensions and learn how they're being used in your organization
MockNetwork has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.
MockNetwork handles the following:
Web history
User activity
Website content
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, please open this page on your desktop browser