Jetpack looks pretty cool:

In short, Jetpack is an API for allowing you to write Firefox add-ons using the web technologies you already know.

link: Mozilla Labs » Blog Archive » Introducing Jetpack, Call for Participation

And here is a tutorial by Ars Technica: How to: add features to Firefox with Mozilla’s new Jetpack