homepage Welcome to WebmasterWorld Guest from 54.242.126.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
addeventlistener which listens for a XMLHttpRequest
Building a firefox toolbar
Aberdeen

10+ Year Member



 
Msg#: 5639 posted 2:49 am on Jul 1, 2006 (gmt 0)

Hi,

I am building a firefox toolbar for one of my websites. The site allows you to create your own lists, and this is done using ajax and the XMLHttpRequest.

I have set up a firefox toolbar and want to have an addEventListener which listens to see if the a web page calls XMLHttpRequest and I need to be able to parse that url, so I can dynamically update the toolbar.

Does anyone know how I can do this? The only help I have found so far just reads the doc.location.href on a page load, and that is not what I need.

Thanks in advance.

 

Bernard Marx

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 5639 posted 8:35 am on Jul 1, 2006 (gmt 0)

Wrap up your HTTPReq calls inside a function that also iniatates whatever action you would like to take when a request is made.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved