Welcome to WebmasterWorld Guest from 54.196.147.57

Forum Moderators: open

Message Too Old, No Replies

addeventlistener which listens for a XMLHttpRequest

Building a firefox toolbar

     

Aberdeen

2:49 am on Jul 1, 2006 (gmt 0)

10+ Year Member



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

8:35 am on Jul 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month