Skip to content

frenchfreelance/hideMyEmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hideMyEmail

A jQuery plugin that helps you to hide your email on your page and prevent crawlers to get it!

Getting Started

Download the production version or the development version.

In the bottom of your web page, before the html</body>:

<script src="js/jquery.min.js"></script>
<script src="js/jquery.hideMyEmail.min.js"></script>
<script>
	$(document).ready(function(){
	 $('a.mail').hideMyEmail();
	});
</script>

The link

<a class="mail" href="#whatever" data-u="johndoe" data-d="domain" data-e="com" data-s="subject" data-b="body">Contact me!</a>

Options

+ data-u : username before the @
+ data-d : domain name without extension
+ data-e : extension without dot (.)
+ data-s (optional) : subject of the email
+ data-b (optional) : body of the email
+ One last thing, if you don't put anything between the <a><a>, your email is printed by default. 

Demo and doc

Live demo and doc

License

Copyright © A. Vasseur, 2015
Licence : Free to use and modify, just mention my name and a link to the demo please and I'll be happy.

About

jQuery plugin to protect email addresses from crawlers and bots. Spam protector on your web pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published