Tutorial: How to create Firefox extensions

Here's a nice tutorial covering the basics of writing an extension for firefox.