Exit Notifier


Some industries‘ compliance recommendations suggest that a notice be presented anytime someone leaves your site. I searched for a plugin to do this, and came up empty, so here you go!

* Works with little or no configuration.
* The title and the body of the exit box, and the text on the buttons are all editable, and honor shortcodes.
* There are also options for providing a visual indication on your selected links, and for opening selected links in a new window/tab.
* You can completely customize the display of the dialog by modifying the CSS.
* You can set a timeout that will continue or cancel when the time expires, with optional visual feedback.
* Add CSS classes to selected links.
* Add Custom CSS that applies to the whole site.
* You can add custom tags in the anchor tag for each link to provide custom title and body for each link.
* Compatible with simple forms in some cases. Should work well with WooCommerce External/Affiliate product pages.


When upgrading from version 1.4, please be sure to clear the cache if you’re using a caching plugin like the excellent WP Fastest Cache (http://www.wpfastestcache.com/) or something similar. There have been substantial changes and having older versions of the files cached will almost certainly lead to problems when an external link is clicked.

Credit where credit is due

I have made liberal use of the excellent WordPress Plugin Template by Hugh Lashbrooke found at https://github.com/hlashbrooke/WordPress-Plugin-Template. Thanks, Hugh!

Also, to HTMLGuy, the maker of jAlert, a very versatile and simple alert component! Thanks!


  • A sample notice in action.
  • Default exit box closeup.
  • Content settings page.
  • Alternate Content settings page.
  • Behavior settings page.
  • Display settings page.
  • Timeout settings page.
  • Custom CSS settings page.


Installing „Exit Notifier“ can be done either by searching for „Exit Notifier“ via the „Plugins > Add New“ screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‚Plugins > Add New > Upload‘ screen in your WordPress dashboard
  3. Aktiviere das Plugin mit dem ‚Plugins‘-Menü in WordPress


What is the plugin for?

This plugin is designed to provide a mechanism for notifying users of your site that they are leaving for another server. It can also be used to pop an alert for pretty much any <a> tag target (and now some forms!) with some jQuery selector magic. Some industries recommend notifying users if they are leaving your site.

Can I edit the text in the box?

Yes. The plugin provides generic defaults, but the settings page allows you to edit the title and body of the exit box. You can now also edit the text of the buttons, and determine the box behavior and look and feel.
You can also add exit-notifier-title=“Your title here“ and/or exit-notifier-body=“Custom Exit Notifier Body text“ to any link to customize the message for that particular link.

How do I „whitelist“ links so the notifier does not appear even though they are offsite?

You can bypass exit notifier for some links by following the guidelines here: https://wordpress.org/support/topic/a-way-to-whitelist-a-site/


5. April 2019
This plugin disabled all of our links on the site, even our internal ones. Not sure whats up w this plugin, but i would advise anyone to not use it. It will break you site. Coming from someone who has been using and developing wordpress since its inception. I def know what i am talking about. Hope this helps save someone some headache from another bad plugin.
15. Januar 2019
I had a slight problem with an aspect of the new plugin release (1.60) and write to Curtis. He promptly replied, offered a fix and got me back on track. A true professional. The plugin is highly recommended.
8. Januar 2019
This plugin does exactly what it promises to do and is what we needed. When we hit a small exception because of how we had something work, the author was super quick to respond and solve our issue. Highly recommend it!
Lies alle 15 Rezensionen

Mitwirkende & Entwickler

„Exit Notifier“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:


Übersetze „Exit Notifier“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.



  • BUGFIX: Error in applying jQuery selector appropriately. Thanks again to Paul A. for his quick testing!


  • 2019-01-15
  • Form handling is now off by default, due to some unforseen interactions on some sites. Thanks to Paul A. for finding the issue.


  • 2019-01-14
  • Add the ability to attach Exit Notifier to forms. Suggested by/with help from @jdrda, @kepu, and Annina W.


  • 2019-01-10
  • BUGFIX: Include the URL on the Go button checkbox fixed. Thanks again to @ccondray for alerting me to this one!


  • 2019-01-10
  • Added Advanced tab in settings and the option to not delete settings on uninstall.
  • Due to inspiration from @internetnoob, added a per-link option to customize the title and body for each link with custom attributes.


  • 2019-01-10
  • BUGFIX: Custom theme stopped working in 1.5. Thanks to @ccondray for helping find the bug!


  • 2018-12-17
  • Updated a few cosmetic issues and credits, including a warning about caching plugins when upgrading from 1.4 to 1.5 and later.
  • Added the option to blur the background.
  • Properly cleaning up settings when plugin is deleted.


  • 2018-12-14
  • Added an Alternate Exit Notifier option and more timeout options.


  • 2018-12-13
  • BUGFIX! Missing file. Sorry everyone!


  • 2018-12-13
  • Updated jAlert version
  • Fixed some WCAG issues brought to my attention by @mothershiparts
  • Added the ability to expand the target URL in the body or title by including {target} in the text. Thanks to @mdsteveb for the suggestion.
  • Added an option to display a progress bar for the timeout. Thanks to @mdsteveb for the suggestion.
  • Adjusted jAlert font size to use em instead of px. Thanks to @hmsproducts for the suggestion.


  • 2018-12-12
  • Added option to add CSS classes to selected links.
  • Added sensible hardcoded defaults in case of no selections preventing errors in some installations before specific configurations are chosen.


  • 2017-09-07
  • Internal changes for a specific use case.


  • 2017-06-15
  • Fixed minor error involving the Exit Box Theme sometimes not being selected leading to it failing to fire.


  • 2017-06-09
  • Minor metadata update


  • 2017-06-09
  • Added the timeout feature and settings tab.


  • 2017-04-03
  • Added exitNotifierLink class to all selected links so that you can style them to suit. Added the option to use no animation.


  • 2017-03-16
  • Added option to turn off URL in button text, and process shortcodes in the body text and popup title.


  • 2017-03-01
  • Added in an advanced CSS field that allows editing CSS that will affect the whole site and should take precedence over other CSS. WARNING: Do not use if you are not confident in your understanding of CSS!


  • 2017-02-23
  • Narrowed the scope of the Custom CSS setting to prevent sitewide CSS issues.


  • 2017-02-15
  • Added the ability to completely customize the look of the dialog by modifying the CSS.


  • 2017-02-11
  • Fixed CSS defining width for text fields affecting more than intended


  • 2015-12-17
  • Verified compatibility with WordPress 4.4. Updated Behavior tab in settings to clear up how the jQuery selector gets used.


  • 2015-09-25
  • Rearranged settings into tabs for readability and to reduce the need to scroll. Added backgroundColor option.


  • 2015-09-24
  • Visual controls added to the admin page


  • 2015-09-14
  • Minor terminology updates.


  • 2015-09-14
  • Added option to change the jQuery selector, allowing you to affect what links are notified.


  • 2015-09-13
  • Updated default body text to better match compliance suggestions.


  • 2015-08-16
  • Added options for visual indication of an external link and whether or not to open external links in a new window/tab.


  • 2015-08-15
  • Erstveröffentlichung