Skip to content

YGYOOO/ajax-interceptor

Repository files navigation

English | 简体中文

A chrome extension for modifing any ajax requests or responses easily. You can use it to debug errors or mock data.

Install

https://chrome.google.com/webstore/detail/ajax-interceptor/nhpjggchkhnlbgdfcbgpdpkifemomkpg

Example

Example video:https://www.youtube.com/watch?v=OL87EPOEVIU

Notes

  1. It is recommended to disable cache(devtools -> network -> disable cache) image when using this chrome extension.
  2. It is recommended to turn off this extensionimage when you are not using it.
  3. This extension only overrides the response data in the XMLHTTPRequest object as well as the fetch method. The "original" response which you can see in DevTools' "Network" panel will not be changed.

Release Notes

version 1.5.3:

  • add request url autofill to fix matching issues

version 1.5.2:

  • fix not intercepting in the onload situation

version 1.5.1:

  • add advanced modes for users to encode and modify request headers, request payloads, and responses
  • support responses with the non-200 status
  • add strong tips to remind users of settings related to the devtools
  • optimize the user interface

version 1.4.1:

  • add feature of matched methods
  • add setting of panel positions, including suspended position and devtools position
  • optimize the user experience for new users
  • fix listener rejected error

About

A chrome extension to modify the response of ajax requests. 修改ajax请求返回结果的chrome插件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published