I added a small bit of documentation on nsIObservers , which can be used to listen to and notify about global topics in Mozilla.