首页 开发者工具 Chrome Response Override

Chrome Response Override

用户数 : 1000 分类 : 开发者工具 扩展大小 : 30.64KiB 最后更新时间 : 2020-12-14 版本 : 1.4
prev extension banner next extension banner
                            # chrome-response-override
Chrome devtools extension to modify response on the fly, no external app installation required.

Provide support to override API/HTML/* response using simple Find & Replace steps. No external app installation required.

Steps to override response body in chrome extension

1) Open devtools, navigate to "Response Override" tab 
2) Click "Add Row"
3) Enter URL contains value only this URL response will be modified.
4) Enter Find value It's a javascript regex pattern. 
5) Enter Replace value to replace with. No need to provide content-type
6) Click "Save" to save everything.
7) Click "Play" button to start modifying response.
8) You must click pause button to stop this modification.
9) You must keep this devtools open

Ex. If you want to add new node in json. 
Find: "existingNode":"existingValue" 
Replace: "existingNode":"existingValue", "newNode": "newValue"

Special Variable
1. If you put "~NO_API~" (without ") in Find, no remote call will be made, provide full response. Provide content-type in this case.

How This works: This devtools extension add network break point and listen to URL contains the user input Make API Client call and get response. Do Find and Replace on top of response. Serve the replaced response.

Project space: https://github.com/Pasupathi-Rajamanickam/chrome-response-override
                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功