Following my previous write up for Blocking users from exiting your site giving you one last chance to advertise, I have incorporated the script used from that tutorial and made a WordPress Plugin.
I have added a lot of Improvements to the existing code listed below.
- Pixel control for the size of the CSS Popup layer
- Specify Pages for the Script to Work in
- Catch the user before your Page closes
- Direct control over the Messages shown on the Alert Box and the CSS Popup Layer
This plugin requires the latest version of WordPress or jQuery installed.
jQuery 1.4.4 is already included in the download package.
If you find bugs or have suggestions to improve the existing code, please comment below.