I need a message script that will only come up when people are leaving the current webpage and not the current website.
When people are leaving the website entirely, the message will come up and they will need to press the OK button to stay at the current page (and cancel to leave the website).
The script may not run when people actually stay on the website or when they click on internal links or pages.
Can this be done?