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.
- Install from chrome web store - https://chrome.google.com/webstore/detail/chrome-response-override/kbipbobgpnhgghikihmodppmfbkbmgfj
- Close all devtools and open new devtools by pressing F12 or by navigating through developer menu or by right click on page and inspect element.
- You might see new tab called "Response Override" added
- Click on Response Override tab and proceed further steps.
- Open devtools, navigate to "Response Override" tab
- Click "Add Row"
- Enter URL contains value only this URL response will be modified. If you want to modify URL in home page like www.example.com and no URI Path, use Special variable called
~NO_URI~
in URL contains field. - Enter Find value It's a javascript regex pattern.
- Enter Replace value to replace with. No need to provide content-type
- Click "Save" to save everything.
- Click "Play" button to start modifying response.
- You must click pause button to stop this modification.
- You must keep this devtools open
- Issue with the override, either open private tab with only this plugin enabled in private tab or please try disabling other plugins working with network, like request header modifier and run this plugin again. If the other plugins using old network API may affect this plugin
Ex. If you want to add new node in json. Find: "existingNode":"existingValue" Replace: "existingNode":"existingValue", "newNode": "newValue"
If you want to modify URL in home page like on www.example.com page and no URI Path, use Special variable called ~NO_URI~
in URL contains field.
- If you put
~NO_API~
in Find, no remote call will be made, provide full response. Provide content-type in this case. - If you want to modify URL in home page like on www.example.com page and no URI Path, use Special variable called
~NO_URI~
in URL contains field.
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
- Please refer Project space to see if we have any ToDo items.
- Need clarification? Create an issue with card link.