Right now I'm developing an add-on for firefox 26 and I need to know if there is an event that keeps listening all the time when we are browsing the web even if there a script running, and if the event has a kind of trigger when you reach a specific url and How can I use it? Por example I want to do something similar to the FoxyProxy add-on. The foxyproxy kept listening until it reaches a URL which redirects to a port or other ... how can I subscribe to that event, I'm new at this, please help me... Regards.