I am trying to launch a popup window when someone exits my site (I have links to several external sites from my website). I do not want the popup to launch when they click on an internal link but at the same time when they are about to leave my site, I want to notify them that they are leaving my site and site policies of the new site may be different from ours. Do you still wish to leave. And give them options to leave the site or stay on my website.
Can someone help me with the code. I am a newbee.