Mock:Intercept and directly return data icon

Mock:Intercept and directly return data

by xiangmingcsyr · Developer Tools
Manifest V3 Free
View in Chrome Web Store Data as of 15 Oct 2026

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

Users
3,000
0 in 30 days
Rating
4.4 / 5
−0.02 in 30 days
Ratings
18
+1 in 30 days
Store rank
#17K
#15K among extensions
Version
2.4.1
updated 30 Jan 2026

Users

monthly, 3 years
302,0154,000Aug 2023Apr 2025Oct 2026
Latest, 15 Oct 2026: 3,000 usersMove the mouse over the chart for any month

Ratings count

monthly, 3 years
0918Aug 2023Apr 2025Oct 2026
Latest, 15 Oct 2026: 18 ratingsMove the mouse over the chart for any month

The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.

About Mock:Intercept and directly return data

这是一款用于 Mock XMLHttpRequest 和 fetch 请求的工具。它可以帮助开发者在开发过程中减少对真实接口的依赖,从而更高效地编写和测试代码。 主要功能包括: 1. 支持对使用 XMLHttpRequest 或 fetch 方法发起的接口请求进行 Mock。 2. 能根据 Swagger 2.0 文档自动生成 Mock 数据。 3. 支持修改请求头(Request Headers)。 4. 支持修改请求体(Request Body)。 5. 可对接口请求进行重定向处理。 6. 提供三种匹配模式:contains、equals 和 regexp,以满足不同的接口匹配需求。 7. 支持自定义返回状态和请求响应时间。 8. 支持配置数据的导入和导出。 9. 提供浅色和深色两种主题。 10. 支持中英文双语切换,依据浏览器语言环境自动显示对应语言。 11. 支持配置数据可转换为 TypeScript 类型定义。 This is a tool for mocking XMLHttpRequest and fetch requests. It helps developers reduce reliance on real APIs during development, enabling more efficient coding and testing. Key features include: 1. Support for mocking API requests made using XMLHttpRequest or fetch methods. 2. Automatic generation of mock data based on Swagger 2.0 documentation. 3. Ability to modify request headers (Request Headers). 4. Ability to modify request bodies (Request Body). 5. Support for redirecting API requests. 6. Offers three matching modes: contains, equals, and regexp, to meet different API matching needs. 7. Customization of return status and response time. 8. Support for importing and exporting configuration data. 9. Light and dark themes available. 10. Bilingual support for Chinese and English, with automatic language selection based on the browser's language settings. 11. Configuration data can be converted into TypeScript type definitions.

Growth

WindowUsersChangeRatingsRating
7 days+1,000+50.0%00.00
30 days0+0.0%+1−0.02
6 months0+0.0%+2−0.23
1 year+1,000+50.0%+5−0.15

Chrome Web Store search rankings

Where Mock:Intercept and directly return data appears when people search the store, with the 30 day change
Search phrasePosition30 days
return#7+2
mock#9−2

Version history

33 versions recorded
2.4.130 Jan 2026
2.3.329 Jan 2026
2.3.216 Apr 2025
2.3.111 Apr 2025
2.2.13 Apr 2025
2.1.013 Mar 2025
2.0.210 Mar 2025
2.0.19 Jan 2025

Details

Category
Developer Tools
First seen
20 Jun 2023
Size
507 KB
Languages
zh-CN
Pricing
Free
Support
juejin.cn
Extension ID
kmphamhphplpcjcabjdjjklfjmgkmpba

Permissions and risk

Moderate riskimpact 2, likelihood 2
Permissions
storagedeclarativeNetRequest
Site access
http://*/*https://*/*
Can read and change data on every website you visit.

Alternatives to Mock:Intercept and directly return data

Extensions that rank for the same store searches or share the Developer Tools category, ordered by users