A mock tool based on Chrome extension, no need to change any code, support dynamic mock data.

Latest Version

Version
2.0.0
Update
December 6, 2021
Size
12.08MiB
Developer
Category
Users
49
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
WebRequest
WebRequestBlocking
Http://*/
Https://*/

*://*/*
See more

chrome-extension-mocker Extension

Usage
In Chrome browser, press Ctrl+Shift+I or ⌘+⌥+I to open dev tools, go to Mocker panel.

Click the New button, and enter the mock data you want. In Match Request panel, set which requests need to match, and in Mock Response panel, set the simulate response you want to return.

Note that if one request is matched, the original request will be redirected into a data uri, you can see details in Console panel.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "chrome-extension-mocker", "homepage_url": "http://localhost:8080/", "description": "A mock tool based on Chrome extension, no need to change any code, support dynamic mock data.", "default_locale": "en", "permissions": [ "storage", "webRequest", "webRequestBlocking", "http://*/", "https://*/", "", "*://*/*" ], "icons": { "16": "icons/icon_38.png", "48": "icons/icon_38.png", "128": "icons/icon_128.png" }, "background": { "scripts": [ "js/background.js" ] }, "content_scripts": [ { "matches": [ "*://*/*" ], "js": [ "js/content-script.js" ], "run_at": "document_start" } ], "devtools_page": "devtools.html", "browser_action": { "default_title": "Mocker", "default_icon": { "19": "icons/icon_38.png", "38": "icons/icon_38.png" } }, "version": "2.0.0", "content_security_policy": "script-src 'self' ; object-src 'self'"}
Read more

Similar Extensions

icon

MOCK-PLUS Extension · Developer Tools 49 0 ★ 509KiB

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 49 190 ★ 3.22MiB

icon

Evala Extension · Developer Tools 49 4 ★ 1.79MiB

icon

GoRes2 Extension · Developer Tools 49 1 ★ 1.14MiB

icon

Oh-my-Mock Extension · Developer Tools 49 8 ★ 7.07MiB

icon

Mock Proxy Extension · Developer Tools 49 4 ★ 2.03MiB

icon

MockMan - mock APIs Extension · Productivity 49 17 ★ 2.3MiB

icon

Requestor Extension · Developer Tools 49 0 ★ 93.04KiB

icon

Cone Devtools Extension · Developer Tools 49 1 ★ 830KiB

icon

Mocky Extension · Developer Tools 49 2 ★ 197KiB

icon

Network Calls Mocker Stubby Generator Extension · Developer Tools 49 1 ★ 260KiB

icon

Mockiato: Mocks on the Fly! Extension · Developer Tools 49 8 ★ 477KiB

icon

YMock: Mock API calls info Extension · Developer Tools 49 2 ★ 1.68MiB

icon

Mokku Extension · Developer Tools 49 76 ★ 3.28MiB

icon

Chrome Storage Editor Extension · Developer Tools 49 0 ★ 1.5MiB

icon

Parrot API mocking Extension · Developer Tools 49 5 ★ 3.6MiB

icon

ModResponse - Mock and replay API Extension · Developer Tools 49 23 ★ 454KiB

icon

Mock:Intercept and directly return data Extension · Developer Tools 49 6 ★ 487KiB

icon

GithubPulse Extension · Productivity 49 2 ★ 524KiB

icon

Share to Native Apps Extension · Social & Communication 49 0 ★ 9.78KiB

icon

Easy-Interceptor Extension · Developer Tools 49 2 ★ 454KiB

icon

onhello Extension · Productivity 49 0 ★ 328KiB

icon

Browser Proxy Extension · Developer Tools 49 1 ★ 2.54MiB

icon

Open Links in New Tab Extension · Productivity 49 8 ★ 512KiB