Home > Mobile >  The extension ID is required in Manifest Version 3 and above. Firefox Error in manifest
The extension ID is required in Manifest Version 3 and above. Firefox Error in manifest

Time:12-16

I have extension, that changes old dark theme to better. I want upload it in mozzila addons(or firefox), but when i already upload it, Firefox gives me this error: Manifest ID is required in Manifest Version 3 and above

My manifest:

{

  "content_scripts": [

    {

      "js": [

        "script.js"

      ],

      "matches": [

        "https://forum.training-server.com/*"

      ],

      "run_at": "document_end"

    }

  ],

  "icons": {

    "128": "icons/icon128x128.png",

    "16": "icons/icon16x16.png",

    "32": "icons/icon32x32.png",

    "48": "icons/icon48x48.png"

  },

  "manifest_version": 3,

  "name": "Training-forum Improved dark theme",

  "version": "0.3"

}

I dont know, what I should add/fix in Manifest to upload without this error. Maybe you know how fix it. Thanks!

CodePudding user response:

https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/

MV2

Once you have finished developing the extension, you can package it and submit it to AMO for review and signing. If the packaged extension you upload does not contain an ID, AMO will generate one for you. It's only at this point that the add-on will be assigned a permanent ID, which will be embedded in the signed packaged extension.

MV3

All Manifest V3 extensions need an add-on ID in their manifest.json when submitted to AMO. Contrary to Manifest V2 extensions, AMO will not accept Manifest V3 extensions without an ID and it will not automatically embed this ID in the signed packaged extension.

All Manifest V3 extensions need an add-on ID in their manifest.json when submitted to AMO. Contrary to Manifest V2 extensions, AMO will not accept Manifest V3 extensions without an ID and it will not automatically embed this ID in the signed packaged extension.

https://extensionworkshop.com/documentation/publish/signing-and-distribution-overview/

  • Related