Confirm Mailto: Confirm Before Opening Mailto Links

Confirm mailto is a simple little plugin that can save user frustration when it comes to clicking mailto: links because it adds a confirmation step to the process. It is designed to work with the default email client of the user.

The jQuery plugin has two options for usage — basic and advanced.

The basic option is a simple jQuery load with to plugin code at the top of the Javascript file with a call to load.

But if you want more control over the plugin, you can use the code using the advanced method. This code is a little more for those who are code-savvy and want to add some customized elements. With advanced settings, you can control default text in the body of the message as well. The code allows for settings for success, fail and callback as well.