Intercept h5/node.js requests and mock reponses
ParrotMocker Extension
Supports to intercept XHR/JSONP/Fetch requests and forward to the specified mock server.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "ParrotMocker", "version": "1.6.0", "description": "Intercept h5/node.js requests and mock reponses", "icons": { "128": "img/parrot-128.png" }, "action": { "default_title": "ParrotMocker", "default_icon": "img/parrot-32.png", "default_popup": "popup.html" }, "content_scripts": [{ "matches": ["http://*/*", "https://*/*"], "js": ["build/content.js"], "run_at": "document_start", "all_frames": true }], "web_accessible_resources": [ { "resources": [ "build/parrot.js" ], "matches": [ "" ] } ], "background": { "service_worker": "background.js" }, "options_page": "options.html", "permissions": [ "cookies" ], "host_permissions": [ "https://*/*", "http://*/*" ]}
Read more