Jump to content

Http Requests


Recommended Posts

If you mean an AJAX request, then certainly.If you mean a normal request, like a link, then probably not. You can listen for an unload event, but I'm not sure what information will be available, or where you'd go to look for it. The location object, maybe. But it's possible that you'll catch the event before any of that is updated.Otherwise, you'll need to add a listener to all your links.If your user types an address in the url bar, or uses a bookmark or the backbutton, then I would guess no. Sounds a lot like invasion of privacy, to me.There are still some DOM properties I haven't explored, but I'm not aware of any that let you look into a complete HTTP request. Even when you use an AJAX object, I don't think you can look at the whole request.

Edited by Deirdre's Dad
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...