Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Can't add a toolbar button in a overlay extension

  • 2 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від andremm

more options

Hello, I'm having trouble adding a button to the main toolbar.

I'm creating a xul overlay extension but for some reason I can't seem to add the button to the toolbar. I'm able to install it, but not make the button appear.

What I'm trying to do is create a toolbar button, that opens a popup containing an iframe. I need exactly what the user Felipe Silva show in this example: http://stackoverflow.com/questions/18506117/create-mozilla-extension-to-display-a-popup-and-iframe-in-it

The only difference is that the iframe needs to load an html file packaged with the extension and not some external source.

I'd also like to add the button by default to the toolbar but I need to get the button working first.

You can download a copy of the extension here: https://dl.dropboxusercontent.com/u/9942366/firebomb.xpi

I know this would be easier if I was using the SDK but the toolbar button module requires Firefox 29 which is not stable yet so I prefer doing this way.

Any help would be greatly appreciated.

Hello, I'm having trouble adding a button to the main toolbar. I'm creating a xul overlay extension but for some reason I can't seem to add the button to the toolbar. I'm able to install it, but not make the button appear. What I'm trying to do is create a toolbar button, that opens a popup containing an iframe. I need exactly what the user Felipe Silva show in this example: http://stackoverflow.com/questions/18506117/create-mozilla-extension-to-display-a-popup-and-iframe-in-it The only difference is that the iframe needs to load an html file packaged with the extension and not some external source. I'd also like to add the button by default to the toolbar but I need to get the button working first. You can download a copy of the extension here: https://dl.dropboxusercontent.com/u/9942366/firebomb.xpi I know this would be easier if I was using the SDK but the toolbar button module requires Firefox 29 which is not stable yet so I prefer doing this way. Any help would be greatly appreciated.

Обране рішення

hello andremm, for questions related to extension development please use the mozilla addons forum - you'll likely get a better answer there. thank you!

https://forums.mozilla.org/addons/viewforum.php?f=7

Читати цю відповідь у контексті 👍 1

Усі відповіді (2)

more options

Вибране рішення

hello andremm, for questions related to extension development please use the mozilla addons forum - you'll likely get a better answer there. thank you!

https://forums.mozilla.org/addons/viewforum.php?f=7

more options

Alright, will do.

Thanks for the help