A chrome extension to modify API response
Interceptor Extension
Mocks response for fetch and XMLHttpRequest calls.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Interceptor", "version": "2.6", "description": "A chrome extension to modify API response", "permissions": [ "activeTab" ], "icons": { "16": "src/images/icon16.png", "48": "src/images/icon48.png", "128": "src/images/icon128.png" }, "manifest_version": 2, "commands": { "_execute_browser_action": { "suggested_key": { "default": "Ctrl+Shift+I", "mac": "Command+Shift+I" }, "description": "Opens extension" } }, "incognito": "split", "browser_action": {}, "background": { "scripts": [ "src/utils/background-script.js" ], "persistent": false }, "content_scripts": [ { "matches": [ "" ], "js": [ "src/utils/content-script.js", "src/utils/container-script.js" ], "run_at": "document_start" } ], "web_accessible_resources": [ "src/utils/mocker-script.js", "src/utils/event-listener-script.js", "dist/index.html", "dist/bundle.js" ], "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", "externally_connectable": { "matches": [ "*://*.example.com/*" ] }}
Read more