Chrome Response Override

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

Что такое Chrome Response Override?

Chrome Response Override - это расширение Chrome, разработанное Pasupathi Rajamanickam, и его основная функция - "Provides support to override API/HTML/* response using simple Find & Replace steps. No external app installation required".

Снимки экрана расширения

screenshot
screenshot

Скачать файл CRX расширения Chrome Response Override

Скачайте файлы расширений Chrome Response Override в формате crx, установите расширения Chrome вручную в браузере или поделитесь файлами crx с друзьями, чтобы легко установить расширения Chrome.

Инструкции по использованию расширения

                        # 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                    

Основная информация о расширении

Название Chrome Response Override Chrome Response Override
ID kbipbobgpnhgghikihmodppmfbkbmgfj
Официальный URL https://chromewebstore.google.com/detail/chrome-response-override/kbipbobgpnhgghikihmodppmfbkbmgfj
Описание Provides support to override API/HTML/* response using simple Find & Replace steps. No external app installation required
Размер файла 488 KB
Количество установок 3,626
Текущая Версия 1.8
Последнее Обновление 2022-06-24
Дата публикации 2020-04-11
Рейтинг 2.27/5 Всего 15 оценок
Разработчик Pasupathi Rajamanickam
Электронная почта [email protected]
Тип оплаты free
URL страницы политики конфиденциальности https://github.com/Pasupathi-Rajamanickam/chrome-response-override/wiki/Privacy-Policy
Поддерживаемые языки en-US
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"
    }
}