A great video Tutorial for creating a Firefox Add-on including potentially a Twitter Firefox add-on using the new Jet Pack release from Mozilla.
Jetpack is an API for allowing you to write Firefox add-ons using the web technologies you already know.