It should also work so that, if it's added to several webpages within a site, I'll pop-up when leaving the whole site, not when for example clicking an internal link.
1. when fallowing an internal link within a website (from a page to another), it doesn't pop-up anymore when leaving the site
2. i want it so the popup shows up when the cursor is on "close window, or when it is moved for example address bar, or back button
3. must have a cookie so that the popup only displays once per browser session when they are totally exiting my site or closing their browser window
Should be fairly easy for someone with proper skills.