HookAjax

HookAjax XHR Fetch

HookAjax: Modify Fetch and XHR Requests

HookAjax is a Chrome extension that enables you to modify the response text of Fetch or XHR requests. It overrides the response data in the XMLHTTPRequest object, improving your debugging and testing capabilities. Use it to enhance the way you interact with AJAX requests in your browser.
Install from Chrome Web Store

Extension stats

Users: 42
1
Version: 2.2 (Last updated: 2021-10-27)
Creation date: 2021-10-27
Risk impact: Moderate risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • storage
  • http://*/
  • https://*/
Size: 536.58K

Other platforms

Not available on Android
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

To modify response text of Fetch or XHR requests

  1. You may have to restart chrome 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.

你可以用该插件修改页面上Fetch or XHR请求的返回结果。 注意:

  1. 建议第一次安装完重启浏览器,或者刷新你需要使用的页面。
  2. 当你不需要使用该插件时,建议把开关关上(插件icon变为灰色),以免对页面正常浏览造成影响。
  3. 该插件只会在JS层面上对返回结果进行修改,即只会修改全局的XMLHTTPRequest对象和fetch方法里的返回值,进而影响页面展现。而你在chrome的devtools的network里看到的请求返回结果不会有任何变化。

by:Kenny github:https://github.com/shenzhenjinma/hook-chrome-ajax 友情提示参考了:https://github.com/YGYOOO/ajax-interceptor对功能进行了改进和优化

Extension safety

Risk impact

HookAjax requires a few sensitive permissions. Exercise caution before installing.

Risk likelihood

HookAjax has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to HookAjax: