Build Your Own Firefox Extension
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader:
Uploaded At: 2010-08-04 01:23:12
Sitepoint. Jul 2009.
Description
If you want to build custom extensions for Firefox, then this is the book for you!
With a little JavaScript know-how, author James Edwards will show you just how straightforward it is to build your own Firefox extensions.
One of the main reasons for the explosive and continued popularity of Firefox is its framework for custom extensions. What many web developers don’t realise is that they’re so easy to create and implement — anyone with a minimal understanding of JavaScript and XML can build a Firefox extension. After reading Build Your Own Firefox Extension, you’ll be able create simple Firefox extensions with extremely powerful functionality.
What Will You Learn?
* learn about the folder structure and file types that comprise an extension
* develop your user interface using XUL, and style it with CSS
* build functionality and advanced features with JavaScript
* add keyboard shortcuts and internationalization features
* learn how to publish the finished product
* receive a bonus intro to Jetpack
Table of Contents
0. Preface
* Who Should Read This Book
* Where to Find Help
* The SitePoint Newsletters
* The SitePoint Podcast
* Your Feedback
* Conventions Used in This Book
1. Making a Start
* Firefox Configuration
* Understanding Chrome
* Step 1: Create a Development Folder
* Step 2: Define Key Meta Files
* Step 3: Create a Basic Overlay
* Step 4: Point Firefox at Your Development Folder
* What’s Next?
2. Developing and Testing Your Extension
* XUL
* JavaScript and the DOM
* Further Reading
3. Adding Accessibility and Internationalization
* Adding Keyboard Accessibility
* Language Data in XUL
* Language Data in JavaScript
* The Big Moment Has Arrived!
4. Publishing Your Extension
* Creating an XPI File
* Making an Install Trigger
* Submitting Your Extension to the Add-ons Directory
* Now It’s All Up to You!
5. Introducing Jetpack
* How Are Jetpack Extensions Programmed?
* How Does Jetpack Compare to XUL?
* Here’s What Jetpack is Really Good for
* So Where is it Heading?