extension ExtPose

Chrome Response Override

CRX id


Description from extension meta

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

Image from store Chrome Response Override
Description from store # 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. 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. 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 10) 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. 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. 2. 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. New on V1.7: 1.Moving away from chrome.tabs.getSelected to chrome.tabs.query New on V1.6: 1. Fix using "/" in URL contains breaking page. Instead please use ~NO_URI~ Project space: https://github.com/Pasupathi-Rajamanickam/chrome-response-override

Latest reviews

  • (2022-05-08) Mustang: It does the job, but unfortunately it only works when devtools are open, which makes it useless for me.
  • (2022-03-23) whister castal: terrible extension.
  • (2022-03-11) Colton Snyder: I'm sure this is great when it works but it appears that for me, on Chrome 99, when the Play button is clicked, no TabID is ever returned because chrome.tabs.getSelected no longer works or is bugged when it's called from developer tools. I am not good with JS but after a few hours of trying to use the newer chrome.tabs.query, instead of chrome.tabs.getSelected, I was not able to get it to work. Without being able to get the TabID, this extension will not work and I do not want to go back to version 40 or prior to get this to work.
  • (2022-02-01) Aaron Grogg: Cannot find it in DevTools... Installed, manage Extensions says it is "Active", but when I open DevTools, there is no Response Override tab as in screenshots... How can I use this?
  • (2021-08-27) Attila Nagy: Not working at all. No feedback after clicking pause/start buttons.
  • (2021-08-25) Nicolae Godina: Not working, CORS error
  • (2021-08-11) Andreas H.: It seems to just block the response I want to change... Should this extension still work? If yes, please tell here how to use it properly. Thanks! PS: I suggest to demonstrate the functionality with a publicly available website (say Wikipedia) so everyone can follow your steps.
  • (2021-06-10) Abdul Wadood: This simple extension saved my time. Thank you very much Pasupathi Rajamanickam
  • (2021-03-18) Joseph Sebastian: Not working anymore. It used to work exactly how I inteded it to. I was able to change response body but recently it is giving CORS error.
  • (2021-03-03) pete gfb: Didn't work. I tried everything! I disabled all other extensions. I tried SEVERAL different regex patterns in Find. I quit chrome altogether (no running instances) and restarted. Nothing got it to replace anything in the response1
  • (2021-02-22) Aurélien Aurélien: Didn't work. Blocked everything.
  • (2021-02-03) John Holmstadt: Didn't work. Couldn't get any rules to dave
  • (2020-03-02) BARTON DURBIN: How did this not exist until now? Thanks Pasupathi for the debugging tool!

Latest issues

  • (2022-05-17, v:1.7) Марк Уткин: Feature request. Modifying status code and No response
    Hi, you had made very simple and usefull extention, for me, as for QA Engineer its helps a lot to test some cases in my project. Thank you very match. I have two ideas to make your tool more usefull for typical negative testing oh web ui. 1. Option to modify status code. Some times we need to test behavior of our ui with errors from server, for example 5xx/4xx http codes and dont have option to reproduce it on backend. It will be so usefull to modify it from your extention 2. No response from server. This case is important in negative testing too, some times we need to test case when some of our backend methods/webhooks is unreachable/down and etc (blocking request from devtools isnt help us in this case, because browser react on it immidiatly, but I need "pending" process). So it will be so usefull to simulate this behaivior from your extention. Thank you so much for your work. Mark Utkin
  • (2022-03-14, v:1.7) Colton Snyder: TabID - Chrome Version
    Hello, what version of Chrome are you using? I am on Windows 10, Chrome 99 and I do not believe it is possible to get the TabID (which is required for this script to work) without using a background service worker with new versions of Chrome. I believe the creator of this extension may not have any issues because he is on an old version of Chrome. I think most people are having issues because neither chrome.tabs.getCurrent nor chrome.tabs.query will return any results when called from the Developer Panel devtools.js according to all the reading and troubleshooting I've done. Since you cannot get the TabID from the Developer Panel, that leaves a background service worker. It is simple to get the TabID from a regular content script but I have been unable to do so from devtools.js as my JavaScript experience is limited. I have a background worker onMessage listener setup to receive a request from startOverride in devtools.js to respond with the TabID. startOverrid() > send message to background.js > background.js responds with TabID > setupDebugger(background.js response) I believe if you are able to solve this, this wonderful extension will work for most everyone.
  • (2021-08-07, v:1.6) Robert Lowers: Want to log into Keeper
    Different Computer than I always use for Keeper
  • (2020-06-08, v:1.4) Nitin Surana: Doesn't work
    Tried overriding a javascript file with a single console command.


2,000 history
2.2 (13 votes)
Last update / version
2022-03-12 / 1.7
Listing languages