Mock:Intercept and directly return data

拦截请求并直接返回 Mock 数据,包括 XMLHttpRequest、fetch类接口

Mock API Requests with Intercept & Return Data

"Mock:Intercept and directly return data" is a Chrome extension that enables developers to mock XMLHttpRequest and fetch API requests, reducing the dependence on real APIs during development. With features such as automatic mock data generation from Swagger 2.0 documentation, customizable request parameters, and multiple matching modes, it enhances efficiency in coding and testing. The extension supports bilingual usage, theme customization, and can even generate TypeScript type definitions, making it an essential tool for modern development workflows.
Install from Chrome Web Store

Extension stats

Manifest V3
Users: 1,000+
Rating: 4.80
(10)
Version: 2.0.2 (Last updated: 2025-03-10)
Creation date: 2023-06-20
Permissions:
  • storage
  • declarativeNetRequest
Host permissions:
  • http://*/*
  • https://*/*
Size: 505.86K
Full description: See detailed description

Other platforms

Not available on Android
Not available on Firefox
Not available on Edge

User reviews

牛哇老哥, 有 github 仓库吗? 瞻仰下代码
by 张某人, 2025-02-20

挺好用的,赞
by 文仔, 2025-01-06

非常实用的 Mock 工具,支持多种请求拦截和模拟,自动生成数据,提升开发效率,强烈推荐!
by 卿晨, 2024-12-20
View all user reviews

Extension safety

Risk impact

Mock:Intercept and directly return data requires a few sensitive permissions. Exercise caution before installing.

Risk impact analysis details
  • Critical Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
  • Low ******* ****** ** *** ********* ********
Risk likelihood

We don't have sufficient data to confidently determine the risk likelihood of Mock:Intercept and directly return data. Use it at your own risk.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Medium **** ********* *** ******* ** *** **** * ******* *** ******* *** *** ** ****** ** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details

Promo images

Mock:Intercept and directly return data marquee promo image
Marquee promo image
Mock:Intercept and directly return data small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to Mock:Intercept and directly return data: