Building Restartless Addons for Firefox
Soumya @Debloper Deb
Workshop — Carte Blanche'12
All major Mozilla-products handles addons in a same fashion.
One single addon package can serve multiple products, each accross multiple versions.
extension.xpi: //Extension Package /install.rdf //Extension information /chrome.manifest //Chrome-Registration /chrome/ /chrome/content/ //Main XUL/JS files /chrome/icons/default/* //Extension Icons etc. /chrome/locale/* //Extension Localization /defaults/preferences/*.js //Extension Defaults Prefs /plugins/* /components/* /components/cmdline.js
To understand better, unzip & browse this "Hello World!" extension: http://mozilla.doslash.org/stuff/helloworld.zip .
bootstrap.js
file at the rootPlease grab your "Jetpack" to fly with us,
Or, hold your breath & count the pulse... :P
MDN Add-on Docs: https://builder.addons.mozilla.org/docs/
ExtDev IRC Channel: irc://irc.mozilla.org/#extdev
Get these slides live at: http://debloper.github.com/talks/RestartlessAddons
Fork my GitHub repos @Debloper
Or, follow me on Twitter @Debloper
Thanks!