I downloaded webextension example repo and convert the content of quicknote (so that manifest.json is at top level of zip), renamed to xpi and loaded to firefox dev edition. But, firefox reported corrupted add-on. Am I doing something wrong?
Is there a proper way to do? since the tutorial above is more than a year old.
That sounds like there are non-recognized keys in the permissions of the manifest.json. Make sure the permissions are supported here:
You can verify this by opening browser console with Ctrl + Shift + J and you can see warnings that say something like “unrecognized key in permissions”.
For example this is what I see when trying “Signal Messenger”: