I need to check the URL of the page being loaded when a page is unloaded, if its not on my site, I want to show a 'goodbye' popup.
Question is, can this be done? I've spent most of the day pulling my hair out as I can't seem to find a way to detect the URL of the page being loaded in the unload function.
Please say someone knows how to do it.
Cheers ppl.
Regards
Steve Childs.
Question is, can this be done? I've spent most of the day pulling my hair out as I can't seem to find a way to detect the URL of the page being loaded in the unload function.
Please say someone knows how to do it.
Cheers ppl.
Regards
Steve Childs.