chrome-extension-mocker

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

Qu'est-ce que chrome-extension-mocker ?

chrome-extension-mocker est une extension Chrome développée par Sky.Sun, et sa fonction principale est "A mock tool based on Chrome extension, no need to change any code, support dynamic mock data.".

Captures d'Écran de l'Extension

screenshot
screenshot
screenshot
screenshot

Télécharger le fichier CRX de l'extension chrome-extension-mocker

Téléchargez les fichiers d'extension chrome-extension-mocker au format crx, installez manuellement les extensions Chrome dans le navigateur ou partagez les fichiers crx avec des amis pour installer facilement les extensions Chrome.

Instructions d'Utilisation de l'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.                    

Informations de Base sur l'Extension

Nom chrome-extension-mocker chrome-extension-mocker
ID kfmkpfnmkjgcalngkpkjpjngjkfkjecl
URL Officiel https://chromewebstore.google.com/detail/chrome-extension-mocker/kfmkpfnmkjgcalngkpkjpjngjkfkjecl
Description A mock tool based on Chrome extension, no need to change any code, support dynamic mock data.
Taille du Fichier 12.08 MB
Nombre d'Installations 46
Version Actuelle 2.0.0
Dernière Mise à Jour 2021-12-06
Date de Publication 2021-12-06
Développeur Sky.Sun
Email [email protected]
Type de Paiement free
Site Web de l'Extension https://github.com/eshengsky/chrome-extension-mocker
Langues Prises en Charge 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'"
}