This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

XPI file appears to be corrupt, sideloading from a website download

  • 1 èsì
  • 4 ní àwọn ìṣòro yìí
  • 3 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ christ1

more options

Following instructions from this website:

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Developing_WebExtensions_for_Firefox_for_Android

I've got the xpi file saved in my Androids download folder, when I click the file, firefox launchs and tells me the add on is unathorized, I then allow the install but get the error that the file appears to be corrupt... I'm pretty sure the manifest is written correctly,

{

 "manifest_version": 2,
 "name": "FireFoxExtension",
 "version": "1.0",
 "background":{
   "scripts":["background.js"]
 },
 "applications":{
   "gecko":{
     "id":"firefoxExtension"
   }
 },
 "content_scripts": [
   {
     "matches": ["*://*.mozilla.org/*"],
     "js": ["contentScript.js"]
   }
 ]

}

I am using this simple shell script to zip the xpi file...

sudo zip -r -FS ../fireExtension.xpi *

any ideas?

Following instructions from this website: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Developing_WebExtensions_for_Firefox_for_Android I've got the xpi file saved in my Androids download folder, when I click the file, firefox launchs and tells me the add on is unathorized, I then allow the install but get the error that the file appears to be corrupt... I'm pretty sure the manifest is written correctly, { "manifest_version": 2, "name": "FireFoxExtension", "version": "1.0", "background":{ "scripts":["background.js"] }, "applications":{ "gecko":{ "id":"firefoxExtension" } }, "content_scripts": [ { "matches": ["*://*.mozilla.org/*"], "js": ["contentScript.js"] } ] } I am using this simple shell script to zip the xpi file... sudo zip -r -FS ../fireExtension.xpi * any ideas?

All Replies (1)

more options

You should ask about this in the add-on forum. https://discourse.mozilla.org/c/add-ons