Finding all the URL requests from a firefox extension

Posted by user303052 on Stack Overflow See other posts from Stack Overflow or by user303052
Published on 2010-03-28T21:45:30Z Indexed on 2010/03/28 21:53 UTC
Read the original article Hit count: 116

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

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about firefox-extension