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
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 .
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:
Tools for all add-ons (the gear icon to the right of “Manage Your Extensions”)