To modify ajax responses on any page
1. It is recommended to turn off this extension(the icon should be gray) when you are not using it.
2. 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 modified.
github: https://github.com/YGYOOO/ajax-interceptor
你可以用该插件修改页面上Ajax请求的返回结果。
注意:
1. 当你不需要使用该插件时,建议把开关关上(插件icon变为灰色),以免对页面正常浏览造成影响。
2. 该插件只会在JS层面上对返回结果进行修改,即只会修改全局的XMLHTTPRequest对象和fetch方法里的返回值,进而影响页面展现。而你在chrome的devtools的network里看到的请求返回结果不会有任何变化。
github地址(欢迎star~):
https://github.com/YGYOOO/ajax-interceptor
Latest reviews
- (2023-09-08) Yifan Gu (YGY): 目前1.5.1版本发现拦截修改失效的问题,最新1.5.3版本已修复。自动升级可能需数日,各位可以删除该插件重装,即可立刻更新到最新版本。🙏 Currently, version 1.5.1 has been identified with an issue of modification failure, which has been fixed in the latest version 1.5.3. Automatic upgrades may take several days. You can delete the plugin and reinstall it to immediately update to the latest version. 🙏 —————————————————————————————————— To report a bug:https://github.com/YGYOOO/ajax-interceptor 大家如果遇到bug或有建议可以来提issue:https://github.com/YGYOOO/ajax-interceptor
- (2023-09-01) 李超: 今天自动更新后,ui变了,mock api数据也不生效了
- (2023-07-06) Cores Luo: 打不开的小伙伴,在其他页面(不要在chrome应用商店了),按住F12 选择Ajax Modifier 然后点击设置按钮改成default
- (2023-06-30) simin wen: 28号更新后点击扩展程序,打不开啦! 无法唤起弹窗
- (2022-12-01) Jing Chen: 挺好用的 但是有个问题 插件未开启时浏览器控制台一直有一个错误(开发过程中控制台一直有一个莫名其妙的错误,一脸懵逼,最后发现是浏览器插件导致的...) Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received 必须到扩展程序里面停用才行,这个能不能修复一下
- (2022-09-19) 高国淇: 很好用
- (2022-08-09) 丶魔法少女神奈子(火石): chrome好用,但是edge这个扩展打不开,点图标没反应
- (2022-08-04) 徐杰: 简单好用
- (2022-07-14) YO K: 太好用了。如果连响应头都能 mock 就更棒了
- (2022-07-08) Yuerong Tian: 能帮助到实际工作,衷心感谢你的付出和工具。
- (2022-05-23) Yuzhao Hong: 我的chrome版本是 101.0.4951.64(正式版本) (x86_64),最近发现打开该插件后有些网页无法加载。请问符合预期吗?
- (2022-05-11) 朱朋朋: 非常好用
- (2022-04-04) Stick Mick: Worked for me, thanks
- (2022-03-21) 雷宁: HEN BANG ,JIAYOU
- (2022-02-28) 路官睿: 好用,点赞!
- (2022-01-31) MingHong Yao (Antecer): 很好用,建议支持js修改数据功能,这样就能ajax拉取远端数据进行更改了. 另外,插件界面支持CSS修改布局就更好了,现在的界面固定死了无法调整,还是不太方便.
- (2022-01-29) 刘斌: 用的很爽 但是如果有iframe可能会出现问题 麻烦坐着帮忙查看一下
- (2021-12-10) Brand Zombie: 牛逼好用,期望持续扩展更新
- (2021-09-22) Fan Lin: 非常好用。建议增加规则集合管理的功能,现在只有一个开关,要么全开要么全关,多套规则要人工来切换,稍微有点麻烦
- (2021-07-29) Wenyi Zhou: good
- (2021-07-28) 搅腋潭: 能不能添加一个能用regex修改的返回内容的功能?
- (2021-04-17) abudllkhalil ghan: thank you
- (2021-03-24) Jake Hou: 不错不错,终于在这里找到了YGY大神的踪迹~
- (2021-03-24) Jerry Chen: tql,太实用了,yyds!
- (2021-03-16) 陶晶晶: 超级无敌好用,前端福音
- (2021-02-24) 数字游民白金: 好用!
- (2021-01-19) Deer Lu: 非常好用。提个建议,希望ui更紧凑一些,尤其是json编辑,留白太大,导致一些复杂的json显示效果不好
- (2020-10-28) charlie: 好用好用,前端调试太方便了,UI也相当nice
- (2020-09-10) 管晓伟: 非常好,测试方便
- (2020-04-02) Madhu H C: Works great and simple UI! Thanks. Suggestion: it's better to group calls or show only calls related to the opened page.
- (2020-03-27) g-wei xia: 很方便,交互做得也很好
- (2020-03-01) 御坂云见: The extension that just works. Also working on Microsoft Edge.
- (2020-02-25) w z: The BEST response modifier EVER!!! Thanks a lot!
- (2020-01-07) 吕泽: 炒鸡蛋好用!
- (2019-09-30) Nick Russler: It works, very nice
- (2019-05-13) 張少齊: 超讚der
- (2019-05-08) Patric Högman: 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.
- (2019-05-07) Dezheng Wang: my issues solved
- (2019-04-10) 骆小盼: 炒鸡好用!