8 replies
Can anyone recommend an exit pop up script? I'm not trying to pay $50 or $60 for a pop up! I've seen a few posts here on WF, but most are old and they didn't work when I tried them! I just want to have the standard "grey box" with text when someone closes the window. The best I've got so far was a window that asked if I wanted to leave the page. That doesn't work to offer a discount.... Any help PLEASE!!

#exit #pop #script
  • Profile picture of the author JensSteyaert
    I'm no coder so don't ask me for help
    But this script should do what you want:

    <script language="javascript">
    (function() {
    var __redirect_to = 'http://YOUR_REDIRECT_URL/';//put redirect URL here

    var _tags = ['button', 'input', 'a'], _els, _i, _i2;
    for(_i in _tags) {
    _els = document.getElementsByTagName(_tags[_i]);
    for(_i2 in _els) {
    if((_tags[_i] == 'input' && _els[_i2].type != 'button' && _els[_i2].type != 'submit') || _els[_i2].target == '_blank') continue;
    _els[_i2].onclick = function() {window.onbeforeunload = function(){};}

    window.onbeforeunload = function() {
    setTimeout(function() {
    window.onbeforeunload = function() {};
    setTimeout(function() {
    document.location.href = __redirect_to;
    }, 500);
    return '1';
    {{ DiscussionBoard.errors[9219276].message }}
  • Profile picture of the author Aaron Bradley
    Thanks for your help JensSteyaert, but that didn't seem to work either.
    You Need Reviews...The Forums Charge You To Get 'Em!
    Stop Paying For Reviews...Join Like Minded People. It's 100% Free, Check It Out!
    {{ DiscussionBoard.errors[9220616].message }}
  • Profile picture of the author MKTGBlogger

    take a look at ExitSplash.com , you will like it! very nice one
    {{ DiscussionBoard.errors[9220673].message }}
  • Profile picture of the author Jesus Perez
    For WordPress:

    It works in all the latest, major browsers. When you close the window, it prompts you with a grey box asking if you want to leave or stay. Staying will redirect the page to any link you like.

    {{ DiscussionBoard.errors[9222076].message }}
  • Profile picture of the author kayebee
    Here's a free popup plugin that you can use on wordpress.

    You can customize the plugin to schedule the pop up at certain times and you can create unlimited popups.

    {{ DiscussionBoard.errors[9222104].message }}
  • Profile picture of the author Mike Hill
    What about this one from Code Canyon.

    WordPress - Ninja Popups for WordPress | CodeCanyon

    It has a lot of options like the $77 popups and it's only $22 bucks including A/B split testing, analytics optin-locking as well as social locking capabilities.
    {{ DiscussionBoard.errors[9222165].message }}
  • Profile picture of the author SuperKC
    Code Canyon should work for it: Exit pop | CodeCanyon

    If you like my posts please leave a thanks and message me if you wish for me to follow up with your thread. I enjoy engaging with entrepreneurs and ALWAYS willing to take the time to offer solid answers that you can take to the bank. Internet marketing has made me rich over the last +20 years and this is how I give back to the community for all of those evil popunders I used to sling in the 90s.

    {{ DiscussionBoard.errors[9235872].message }}

Trending Topics