Rare Earth Juejin Tech Community
Nov 21, 2025 · Frontend Development
Build a Chrome Extension to Mock API Calls Without Memory Bloat
This guide explains how to create a lightweight Chrome extension that intercepts fetch and AJAX requests, lets you define mock rules without installing heavy clients, and dramatically reduces memory usage during front‑end development.
API mockingChrome Extensionfetch interception
0 likes · 11 min read
