/ajax-interceptor

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

Primary LanguageJavaScript

English | 简体中文

A chrome extension for modifing response text of ajax requests easily. You can use it to debug errors.

Install

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

Example

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

Notes

  1. You may have to restart chrome or refresh the current page after you added this extension.
  2. It is recommended that you turn off this extension(the icon should be gray) 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 "real" response which you can see in DevTools' "Network" panel will not be changed.