chrome-extension-mocker

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

什么是chrome-extension-mocker?

chrome-extension-mocker是由Sky.Sun开发的Chrome扩展程序,该扩展的主要功能是“A mock tool based on Chrome extension, no need to change any code, support dynamic mock data.”。

扩展截图

screenshot
screenshot
screenshot
screenshot

下载chrome-extension-mocker扩展crx文件

下载chrome-extension-mocker扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.                    

扩展基本信息

名称 chrome-extension-mocker chrome-extension-mocker
ID kfmkpfnmkjgcalngkpkjpjngjkfkjecl
官方URL https://chromewebstore.google.com/detail/chrome-extension-mocker/kfmkpfnmkjgcalngkpkjpjngjkfkjecl
简介 A mock tool based on Chrome extension, no need to change any code, support dynamic mock data.
文件大小 12.08 MB
安装次数 46
当前版本 2.0.0
更新时间 2021-12-06
上架时间 2021-12-06
开发者 Sky.Sun
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/eshengsky/chrome-extension-mocker
支持的语言 en
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'"
}