Software Development

Tips on how to Get Extension Manifest Info

Engaged on an internet extension might be kinda wild — on one facet you are primarily simply coding an internet site, on the opposite facet you are restricted to what the browser says you are able to do within the extension execution surroundings. One change in that surroundings is coming January 2023 — pushing extensions to maneuver to manifest model 3. I lately obtained inquisitive about whether or not different standard extensions had accomplished the model 3 replace.

Executing the next command within the background web page (manifest model 2) or service employee (model 3) will present you the extension’s manifest:


The getManifest name returns a big object detailing the extension’s manifest. This is what you’d see for the MetaMask browser extension:

    "writer": "",
        "web page": "background.html",
        "persistent": true
            "16": "photographs/icon-16.png",
            "19": "photographs/icon-19.png",
            "32": "photographs/icon-32.png",
            "38": "photographs/icon-38.png",
            "64": "photographs/icon-64.png",
        "default_popup": "popup.html",
        "default_title": "MetaMask"
                "chromeos": "Alt+Shift+M",
                "linux": "Alt+Shift+M",
                "mac": "Alt+Shift+M",
                "home windows": "Alt+Shift+M"
    "content_scripts": [
            "all_frames": true,
            "js": [
            "matches": [
            "run_at": "document_start"
    "current_locale": "en_US",
    "default_locale": "en",
    "description": "An Ethereum Pockets in your Browser",
        "ids": [
        "matches": [
        "16": "photographs/icon-16.png",
        "19": "photographs/icon-19.png",
        "32": "photographs/icon-32.png",
        "38": "photographs/icon-38.png",
        "48": "photographs/icon-48.png",
        "64": "photographs/icon-64.png",
    "manifest_version": 2,
    "minimum_chrome_version": "66",
    "title": "MetaMask",
    "permissions": [
    "short_name": "MetaMask",
    "update_url": "",
    "model": "10.16.1"

A lot of net extensions are nonetheless utilizing manifest model 2, so many extension builders are pushing to complete manifest model 3 work!

What's your reaction?

Leave A Reply

Your email address will not be published. Required fields are marked *