Build Your Own Firefox Add-On
By James Edwards
With James's sleek new ebook, you'll:
- learn about the folder structure and file types that comprise an add-on
- develop your user interface using XUL, and style it with CSS
- add keyboard shortcuts and other accessibility features
- utilise the Jetpack API to easily interface with web services
- learn how to publish the finished product
And much, much more!
What's in the book?
Chapter 1: Making a Start
The first chapter introduces you to the concepts behind a Firefox Add-on. It talks about setting up your development environment, discusses how chrome addresses work, and shows you the steps necessary to create the bare-bones of your add-on.
Chapter 2: Developing and Testing Your Extension
Chapter 3: Adding Accessibility and Internationalization
In Chapter 3 you'll learn about improving the accessibility of your add-on, with accesskeys and other keyboard shortcuts, and providing a framework for internationalization by externalizing language data into separate files.
Chapter 4: Publishing Your Extension
In the fourth and final chapter we look at how to publish your add-on for others to use. This section covers packaging your development version into a distributable XPI, creating an install-trigger for easy installation, and submitting your add-on to the Mozilla Add-ons Directory.
Appendix A: Introducing Jetpack
In this appendix we look briefly at a brand new API for extending Firefox, called Jetpack. Like Greasemonkey on steroids, this API promises to attract a whole new niche of developers to Firefox development.