I am looking to create an exit splash script. The script kicks in when visitors click on the "close window", "close tab", "back" buttons on their browsers, or when they enter a new URL on their browser. Basically, when they want to click away from the site.
The script will redirect them to another page and will trigger an audio message plus an alert window to stay on the site.
There should be a simple dashboard where the user can enter:
1) the redirect page
2) the audio file to trigger (from a drop down menu out of the pre-selected audio files available that I feature on my site)
3) the alert window message
Once the user has completed the fill in the dashboard, he clicks on "create" and a single file (or line of code) is generated so we can download or paste at the HTML code of his own site.
I look forward your bids!