jQuery Plugin To Mask Email Addresses On Your Website - Mail Mask

File Size: 8.17 KB
Views Total: 11615
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin To Mask Email Addresses On Your Website - Mail Mask

Mail Mask is a jQuery plugin that replaces the default "@" sign of your Email addresses with a custom character to protect them from spam bots.

How to use it:

1. Include jQuery library and the jQuery mail mask plugin on your web page.

<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="src/mailmask.js"></script>

2. Call the plugin to mask all the email addresses on your website. Override the placeholder option to replace the default "@" sign.

$(function() {
  $(document).mailmask({
    placeholder: ' [#] '
  });
});

This awesome jQuery plugin is developed by julianhandl. For more Advanced Usages, please check the demo page or visit the official website.