views:

55

answers:

1

I am building a firefox extension. In this extension, I want to see the URLs of any new webpage that the user visits. The webpage can be in a different tab or window than the current tab that the user is viewing (this should also catch the URL of pop-ups). Is there a way to find when firefox makes a GET or POST request and grab the URL?

An alternative that I am trying to avoid is going through all the tabs and manually check to see if they have loaded a new page.

Thanks

A: 

This documentation should help you out.

sdwilsh