Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 1 ответ
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от 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?

Изменено rajesh1158

Все ответы (1)

more options

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