This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the next URL in onBeforUnLoad event
 
Similar Threads
Another site dedicated to sun java certification
Florida league of Conservation Voters ???
does objectives include I/O and event handling
Notes on Assertions
Session