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.

Buscar en Ayuda

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

Firefox add-on does not work after packaging into .xpi

  • 1 respuesta
  • 1 tiene este problema
  • 1 visita
  • Última respuesta de the-edmeister

more options

I created a very simple firefox addon which replaces plain-text URLs on a page to clickable links. I used 'cfx' command-line utility to create it on my linux machine (Linux Mint latest with cinnamon desktop). When I test the extension using 'cfx test' and 'cfx run', I see the extension works. But when I run 'cfx xpi' to package it into an xpi file for installing, the extension does not convert text urls to links (although it is successfully installed). Strange thing is, the extension works as expected on a Windows machine.

I tried packaging the sdk into the xpi too. Still it does not work. What could be the issue? How do I fix this?

I created a very simple firefox addon which replaces plain-text URLs on a page to clickable links. I used 'cfx' command-line utility to create it on my linux machine (Linux Mint latest with cinnamon desktop). When I test the extension using 'cfx test' and 'cfx run', I see the extension works. But when I run 'cfx xpi' to package it into an xpi file for installing, the extension does not convert text urls to links (although it is successfully installed). Strange thing is, the extension works as expected on a Windows machine. I tried packaging the sdk into the xpi too. Still it does not work. What could be the issue? How do I fix this?

Modificadas por rajesh1158 el

Todas las respuestas (1)

more options

You might get some help with that in the Add-ons support fora. https://forums.addons.mozilla.org/