You can learn how to do this yourself at
Mozilla developer network