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
Installation
Manual Installation
- Download the plugin here
- Upload it to your WordPress Plugins folder
- Activate it through the WordPress Dashboard Plugin page
Automatic Installation
- Log in to your WordPress Dashboard
- Go to Plugins -> Add New
- Search for Casper’s Leave Notice
- Install and activate.
How to Change the Content of the Pop Up
- Go to Settings -> External Links
- Write the content you want. You can edit the Title and/or the Body. Save!
How to Add Exceptions to the Pop Up
- Go to Settings -> External Links
- Click on the Exceptions tag
- 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
Contributors & Developers
“Casper’s Leave Notice” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Casper’s Leave Notice” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by 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!