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.
github: https://github.com/YGYOOO/ajax-interceptor
你可以用该插件修改页面上Ajax请求的返回结果。
注意:
1. 建议第一次安装完重启浏览器,或者刷新你需要使用的页面。
2. 当你不需要使用该插件时,建议把开关关上(插件icon变为灰色),以免对页面正常浏览造成影响。
3. 该插件只会在JS层面上对返回结果进行修改,即只会修改全局的XMLHTTPRequest对象和fetch方法里的返回值,进而影响页面展现。而你在chrome的devtools的network里看到的请求返回结果不会有任何变化。
github地址(欢迎star~有问题也可来提issue):
https://github.com/YGYOOO/ajax-interceptor
——————————
更新记录:
0.7:
新增单个URL开关功能:https://github.com/YGYOOO/ajax-interceptor/issues/7
0.5:
修复bug:https://github.com/YGYOOO/ajax-interceptor/issues/1
0.4:
fetch发起的请求也可以被修改了
0.3:
1、新增JSON编辑功能;
2、修复一些bug
超级无敌好用,前端福音
好用!
非常好用。提个建议,希望ui更紧凑一些,尤其是json编辑,留白太大,导致一些复杂的json显示效果不好
好用好用,前端调试太方便了,UI也相当nice
非常好,测试方便
Works great and simple UI!
Thanks.
Suggestion: it’s better to group calls or show only calls related to the opened page.
很方便,交互做得也很好
The extension that just works. Also working on Microsoft Edge.
The BEST response modifier EVER!!!
Thanks a lot!
炒鸡蛋好用!
It works, very nice
To report a bug:https://github.com/YGYOOO/ajax-interceptor
大家如果遇到bug或有建议可以来提issue:https://github.com/YGYOOO/ajax-interceptor
Works as intended, but google image search is not working properly (cannot enlarge images in search result) when this extension is activated, which is suspicious.
my issues solved
炒鸡好用!