Exit Popup Script
I need an unblockable exit popup script that works for both IE and FireFox. This can be the standard windows dialogue box type of popup.
The Exit Popup must only trigger when the online visitor closes their browser window tab (x) or when the online visitor presses the back button. I do not want a popup that opens when the visitor simply moves their mouse towards the browser’s navbar or near to the back button or the close button tab. I need them to actually click the back button or the close (x) tab.
I will need to be able to change the text that is contained in the windows popup dialogue box.
When the visitor closes the windows popup dialogue box I want another windows dialogue box to popup asking the visitor if they would like to continue exiting or stay on a brand new page that will be displayed beneath the 2nd popup box.
I need to be able to enter the new website URL into the script for the new website address that will show underneath the 2nd windows popup.
I will also need to be able to change the text that is contained in the 2nd windows popup dialogue box.
When the 2nd windows popup box is closed, the visitor should stay on the new URL that was displaying underneath the 2nd windows popup. If they choose to continue to exit then the browser should close.
This functionality will be similar to the one on the exitsplash site.
This script should work with both html and php files and should be simple to implement on any existing webpage code.