This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Getting the next URL in onBeforUnLoad event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Getting the next URL in onBeforUnLoad event" Watch "Getting the next URL in onBeforUnLoad event" New topic
Author

Getting the next URL in onBeforUnLoad event

Fawad Ali
Ranch Hand

Joined: Dec 28, 2009
Posts: 112
Hi guys,
Is there any way to get the next URL in the unBeforeUnLoad event of the javascript. I actually need it to check whether the next URL is on the same site or on a different site (navigating away from my site) or undefined (closing a browser window).


Regards, Fawad Ali.
Software Engineer, Stafona Inc. - My Blog
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
There is no information about what event causes the browser to navigate away/close or where it is heading.

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: Getting the next URL in onBeforUnLoad event
 
Similar Threads
does objectives include I/O and event handling
Another site dedicated to sun java certification
Florida league of Conservation Voters ???
Notes on Assertions
Session