Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a new Firefox add-on: XUL or Jetpack?

If you were going to start developing a new Firefox add-on today, would you still use XUL/JS or would you start using Jetpack, the new add-on framework?

The XUL way of creating add-ons will continue to exist on Firefox 4 but Jetpack is clearly building steam and I imagine it will become the only way of creating add-ons in the future.

Is it already the time to start looking to switch/migrate to Jetpack?

like image 548
flpmor Avatar asked Jul 23 '10 12:07

flpmor


1 Answers

JetPack and XUL are not mutually exclusive. JetPack is a set of APIs that you can ship with an add-on that are tested by Mozilla and guaranteed to work. I'd suggest you start with JetPack, and if you need to do something more powerful, you can start adding XUL and other JS files to accomplish what you need. JetPack is designed to be simpler, but you can also step into the scarier world of extension development without issue.

like image 96
sdwilsh Avatar answered Oct 29 '22 10:10

sdwilsh