Stumped by "corrupt" extension

I have made an extension which works just fine as a temporary add-on, but when I go ahead and create a .zip file (with only the relevant files in the manifest.json paths) i get an error that the extension can not be installed because it appears to be corrupt.
I also tried firefox extension validator, which does not find any problems or error.

Any ideas what to try next? Totally stumped.
The extension is at

P.S. this is my first extension

Hello,
What tool did you used to create the zip?
And did you zipped only the contents of the folder?
See also:


You’re getting the error because the extension doesn’t have an ID.

Extensions and the add-on ID > When do I need an add-on ID?

For Manifest V2 extensions, you need to add an add-on ID when:
You want to install an unsigned add-on from its XPI file, rather than loading it temporarily using about:debugging .

You can set the ID with browser_specific_settings.

But then you get a different error:
This add-on could not be installed because it has not been verified.

The error means that the extension is unsigned, but you can install it in one of the “special” Firefox versions:

Signing and distributing your add-on > Signing your add-ons

Unsigned extensions can be installed in the Developer Edition, Nightly, and ESR versions of Firefox, after toggling the xpinstall.signatures.required preference in about:config . To use this feature your extension must have an add-on ID.

edit:
I’m assuming that you install the extension in about:addons, with:

  1. Tools for all add-ons (the gear icon to the right of “Manage Your Extensions”)
  2. Install Add-on From File
2 Likes

Thank you so much! Now getting it to work, finally. Would still be banging my head on the wall without this