I downloaded the basic Hello World xpi from Mozilla, and it installed in my Firefox without any problems. Then I unistalled the addon, unzipped the xpi, then, without changing anything inside it, zipped it again using 7zip. I tried to install it, and Firefox gave me a "This addon could not be installed because it appears to be corrupt" error.
相关问题
- How to call firefox addon function with onclick in
- How does same-domain policy apply to background sc
- SQLite Storage in Firefox 3.0 +
- Writing a custom protocol handler portable on Fire
- setInterval doesn't slow down on inactive tab
相关文章
- Firefox remembering radio buttons incorrectly
- CSS Firefox box-shadow and outline
- Progressive web app(PWA) vs Electron vs Browser ex
- XML Parsing Error in Firefox developer console
- firefox ondrop event.dataTransfer is null after up
- CORS request did not succeed on Firefox but works
- Firebug console error HTTP 407 Proxy Authenticatio
- Firefox duplicate cookie (Firefox bug?)
Unzipping the .xpi produces a folder with the same name as the .xpi, with its contents. To create a working .xpi, zip the contents of that folder, not the folder itself.
Credit goes to nmaier.