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

Latest Version

Version
1.8
Update
June 23, 2022
Size
488KiB
Developer
Category
Users
3,000+
Rating
2.26667 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Debugger
Tabs
Storage
Http://*/*
Https://*/*
See more

Chrome Response Override Extension

# 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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Chrome Response Override", "short_name": "Chrome Response Override", "version": "1.8", "description": "Provides support to override API/HTML/* response using simple Find & Replace steps. No external app installation required", "author": "Pasupathi Rajamanickam", "devtools_page": "devtools/devtools.html", "permissions": [ "debugger", "tabs", "storage", "http://*/*", "https://*/*" ], "manifest_version": 2, "icons": { "16": "images/icon16.png", "48": "images/icon48.png", "128": "images/icon.png" }}
Read more

How to download and manually install Chrome Response Override extension for Chrome

Looking for a way to install Chrome Response Override extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Chrome Response Override extensions manually, this article outlines two simple methods to effortlessly install Chrome Response Override extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Chrome Response Override extension and manually install through Drag &Drop

If you ever need to manually install a Chrome Response Override extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Chrome Response Override Extension by clicking the "Download CRX" button on the website.

Look for the Chrome Response Override extension you wish to install. Go to the website and download the Chrome Response Override extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Chrome Response Override extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Chrome Response Override extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Chrome Response Override extension for Chrome and install in Developer Mode

This is another method to install Chrome Response Override extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Chrome Response Override extension file

Select and download the Chrome Response Override extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Chrome Response Override extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Chrome Response Override extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Chrome Response Override extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Chrome Response Override extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Resource Override Extension · Developer Tools 3,000+ 204 ★ 432KiB

icon

Ajax Modifier Extension · Developer Tools 3,000+ 48 ★ 2.08MiB

icon

Requestly - Intercept, Modify & Mock HTTP Requests Extension · Developer Tools 3,000+ 1227 ★ 876KiB

icon

Request Interceptor Extension · Developer Tools 3,000+ 58 ★ 1.89MiB

icon

ModHeader - Modify HTTP headers Extension · Developer Tools 3,000+ 1061 ★ 676KiB

icon

ModResponse - Mock and replay API Extension · Developer Tools 3,000+ 23 ★ 454KiB

icon

Tamper Chrome (extension) Extension · Developer Tools 3,000+ 233 ★ 20.92KiB

icon

Request Interceptor Extension · Developer Tools 3,000+ 12 ★ 23.97KiB

icon

Oh-my-Mock Extension · Developer Tools 3,000+ 8 ★ 7.07MiB

icon

Mokku Extension · Developer Tools 3,000+ 76 ★ 3.28MiB

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 3,000+ 190 ★ 3.22MiB

icon

MockMan - mock APIs Extension · Productivity 3,000+ 17 ★ 2.3MiB

icon

Netify Extension · Developer Tools 3,000+ 40 ★ 1.24MiB

icon

Tamper Dev Extension · Developer Tools 3,000+ 29 ★ 532KiB

icon

CORS Unblock Extension · Developer Tools 3,000+ 162 ★ 203KiB

icon

Mimic , mock http requests Extension · Developer Tools 3,000+ 5 ★ 2.48MiB

icon

Inssman: Open-Source: Modify HTTP Request Extension · Developer Tools 3,000+ 10 ★ 3.51MiB

icon

URL Throttler Extension · Developer Tools 3,000+ 31 ★ 38.13KiB

icon

Disable Content-Security-Policy Extension · Developer Tools 3,000+ 91 ★ 29.02KiB

icon

Modify Header Value (HTTP Headers) Extension · Developer Tools 3,000+ 46 ★ 94.33KiB

icon

HTTP-TRACKER Extension · Developer Tools 3,000+ 33 ★ 85.4KiB

icon

Request Maker Extension · Developer Tools 3,000+ 184 ★ 138KiB

icon

Page Manipulator Extension · Developer Tools 3,000+ 35 ★ 2.17MiB

icon

Scripty - Javascript Injector Extension · Productivity 3,000+ 69 ★ 22.85KiB

User reviews

icon

Gábor Balogh (ID: 0000009316094d4e) Voted 5 ★ - Updated 07/29/2023 Works as expected!

icon

Mustang (ID: 00000078ffac9652) Voted 3 ★ - Updated 05/08/2022 It does the job, but unfortunately it only works when devtools are open, which makes it useless for me.

icon

whister castal (ID: 000000f2a5358507) Voted 1 ★ - Updated 03/23/2022 terrible extension.

icon

Colton Snyder (ID: 0000003d6d74d358) Voted 2 ★ - Updated 03/11/2022 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.

icon

Aaron Grogg (ID: 00000017f58c48ec) Voted 1 ★ - Updated 02/01/2022 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?