I would like to have the option to alert my visitors before they try to leave or refresh the webpage with a nice looking JQuery Ad in the middle of the window with a special offer for them (something like a "fun gate" that is fired up when a user tries to leave/refresh/go back) .
The ad should be editable by me with a call-to-action button which redirects to another page of my choice. all the links inside the webpage should not fire the ad.
The ad box should have a close button [x] on the top right corner to stay on the page and a "no thanks" button that allow the user to continue with the action he tried to do (exit page/refresh/go back to last page)
The plugin should allow me to choose which post or Page I want to use it on and what message and URL to include in this post/page.
Note: I don't want to show them the standard and ugly alert box (which is integrated when using onbeforeunload). I think it's annoying and old fashion.