Title: Casper&#8217;s Leave Notice
Author: XAce90
Published: <strong>སྤྱི་ཟླ་དྲུག་པ། 25, 2016</strong>
Last modified: སྤྱི་ཟླ་བདུན་པ། 18, 2019

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/caspers-leave-notice/assets/icon-256x256.png?rev=1561815)

# Casper’s Leave Notice

 By [XAce90](https://profiles.wordpress.org/xace90/)

[Download](https://downloads.wordpress.org/plugin/caspers-leave-notice.zip)

 * [Details](https://dzo.wordpress.org/plugins/caspers-leave-notice/#description)
 * [Reviews](https://dzo.wordpress.org/plugins/caspers-leave-notice/#reviews)
 *  [Installation](https://dzo.wordpress.org/plugins/caspers-leave-notice/#installation)
 * [Development](https://dzo.wordpress.org/plugins/caspers-leave-notice/#developers)

 [Support](https://wordpress.org/support/plugin/caspers-leave-notice/)

## Description

Casper’s Leave Notice warns your users when they are about to leave your website.
All you have to do is install and activate, and the plugin does the rest! You can
edit the content that shows up in the pop up window to fine tune the message your
users see. You can also add domain names to exclude from the pop up.

For example, if a link sends your users to a third party tool – like a shopping 
cart – just add the domain to the exclusion list and your guests will be none the
wiser.

## Screenshots

 * [[
 * You can find the plugin under Settings -> External Links
 * [[
 * You can edit both the title of the pop up and the body.
 * [[
 * You can add domains to a comma-separated list to universally exclude domains 
   from being considered external. Alternatively, you can give certain links a class
   to prevent the pop up.

## Installation

#### Manual Installation

 1. Download the plugin here
 2. Upload it to your WordPress Plugins folder
 3. Activate it through the WordPress Dashboard Plugin page

#### Automatic Installation

 1. Log in to your WordPress Dashboard
 2. Go to Plugins -> Add New
 3. Search for Casper’s Leave Notice
 4. Install and activate.

#### How to Change the Content of the Pop Up

 1. Go to Settings -> External Links
 2. Write the content you want. You can edit the Title and/or the Body. Save!

#### How to Add Exceptions to the Pop Up

 1. Go to Settings -> External Links
 2. Click on the Exceptions tag
 3. Add any external domains you want to exclude from this warning. Separate them by
    commas. Save!

It’s that simple.

## FAQ

  Is there any way to change the style of the pop up?

We are looking into adding styling and/or themes. If you have any design ideas, 
please reach out at @SirCaseyJames on Twitter, or leave a message here on the WordPress
Support forums. In the meantime, you can add your own custom styling through CSS.

  I added a domain to the exclusion list; why is the pop up still showing up?

There could be several reasons. Be sure to first try clearing your browser and site
cache. If it still does not take affect, please check what you entered into the 
text area. Domains _must_ be separated by commas (i.e. ‘domain.com, test.com’). 
You must also use the most minimal amount of the domain to have the widest effect.
For example, if you type in **www.domain.com**, anywhere that links to **domain.
com** will _not_ be excluded. Conversely, however, if you just type in **domain.
com**, **www.domain.com** _will_ be excluded. As such, it’s best to use as little
as possible in the exclusion list.

If the problem persists, please submit an issue through the WordPress support forms.

  Why is the pop up working on some links, but not others?

While rare, some themes may have markup that is incompatible with Casper’s Leave
Notice. I’m happy to remedy this — just open up a support ticket with a link to 
your site and I’ll release a patch.

Another possibility is a theme or plugin _unbinding_ JavaScript events on certain
elements. The JavaScript event is required for the plugin to work. To figure out
if this is the case, try switching themes or disabling other plugins. Once you find
the source of the conflict, open up a support ticket and I may be able to find a
fix.

  Are there any known conflicts?

The only know conflict today is with **Max Mega Menu**, but there is an easy solution.
This plugin by default unbinds JavaScript events from link elements, but they give
you an option to turn this off. Just go to Mega Menu -> General Settings and find
the option called Unbind JavaScript Events. Set this to no.

## Reviews

![](https://secure.gravatar.com/avatar/2efb9deaa58abb8ad92a9f00132a554f540e989be8accb04055aaacc0b7460cc?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-8593/)󠁿

 [mahmuttz](https://profiles.wordpress.org/mahmuttz/) སྤྱི་ཟླ་གཉིས་པ། 21, 2021

İts amazing

![](https://secure.gravatar.com/avatar/ceff652aea17fc356f5751bd892cd2c5bed7e5f4bdf88e5cfa0b4855fb3511a8?
s=60&d=retro&r=g)

### 󠀁[Does its job perfectly!](https://wordpress.org/support/topic/does-its-job-perfectly-5/)󠁿

 [sharepear12](https://profiles.wordpress.org/sharepear12/) སྤྱི་ཟླ་བརྒྱད་པ། 27,
2019

This plugin creates a disclaimer message when someone leaves the website. Its easy
to exclude pages, and there is even a special “no-disclaimer” class for buttons,
links, etc. How refreshing to find a simple plugin that does exactly what it says
it does.

![](https://secure.gravatar.com/avatar/348d58cfa6d4dae30ffd4ff7ab419bcd87cf2faf9de861cd3c8222d5d8e29467?
s=60&d=retro&r=g)

### 󠀁[Works Perfect](https://wordpress.org/support/topic/works-perfect-467/)󠁿

 [sbolek](https://profiles.wordpress.org/sbolek/) སྤྱི་ཟླ་ལྔ་པ། 18, 2017

Works perfectly and no work at all to get it working. Exactly what I needed for 
my website!

![](https://secure.gravatar.com/avatar/fe1dc98a4005dec3ddb7e073ad952bd2795ab511a2611fbee5baca4f79bcebf0?
s=60&d=retro&r=g)

### 󠀁[Works well, light weight](https://wordpress.org/support/topic/works-well-light-weight/)󠁿

 [hollewc](https://profiles.wordpress.org/hollewc/) སྤྱི་ཟླ་ལྔ་པ། 2, 2017

This plugin is the bomb! It does one job but it does that job PERFECTLY, imho! It’s
very easy to configure. It works like a charm.

![](https://secure.gravatar.com/avatar/7d65d37963992721ba224b2dd55e5d5f94b7e1444f8f746d10c470ca94643b38?
s=60&d=retro&r=g)

### 󠀁[Save me a lot of headaches.](https://wordpress.org/support/topic/save-me-a-lot-of-headaches/)󠁿

 [rickygraham](https://profiles.wordpress.org/rickygraham/) སྤྱི་ཟླ་གཉིས་པ། 24, 
2017

Best exit popup plugin available. Beyond easy to set up. Amazing!

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/)

## Contributors & Developers

“Casper’s Leave Notice” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ XAce90 ](https://profiles.wordpress.org/xace90/)

[Translate “Casper’s Leave Notice” into your language.](https://translate.wordpress.org/projects/wp-plugins/caspers-leave-notice)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/caspers-leave-notice/),
check out the [SVN repository](https://plugins.svn.wordpress.org/caspers-leave-notice/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/caspers-leave-notice/)
by [RSS](https://plugins.trac.wordpress.org/log/caspers-leave-notice/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.3

 * Fixed issue where the popup wasn’t working in Internet Explorer

#### 1.2.2

 * Fixed issue where the plugin would not work when elements were nested inside 
   of the anchor element

#### 1.2.1

 * Fixed bug where the auto-redirect was still redirecting even when a user hit 
   cancel
 * Fixed bug where auto-redirect time setting was not saving
 * Deleting the plugin now also cleans the db of the new option introduced in v1.2

#### 1.2

 * Added a feature that allows you to automatically redirect users to the URL after
   a certain time passes

#### 1.1

 * Now fully responsive
 * UX improvements: pop up notice now closes when you go to the link in question;
   also closes on Esc
 * Performance improvements: reducing the amount of memory usage by using more specific
   event handlers

#### 1.0.1

 * Fixed some debug errors when no Exclusions were set

#### 1.0

 * Plugin is live!

## Meta

 *  Version **1.2.3**
 *  Last updated **7 years ago**
 *  Active installations **200+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.2.24**
 *  Language
 * [English (US)](https://wordpress.org/plugins/caspers-leave-notice/)
 * Tag
 * [external links](https://dzo.wordpress.org/plugins/tags/external-links/)
 *  [Advanced View](https://dzo.wordpress.org/plugins/caspers-leave-notice/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/caspers-leave-notice/reviews/)

## Contributors

 *   [ XAce90 ](https://profiles.wordpress.org/xace90/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/caspers-leave-notice/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/xace90)