Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

andrewrjones/jquery-email-address-munging-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Email Address Munging Plugin

This is a simple plugin for jQuery that converts email addresses such as you [at] example [dot] com into clickable mailto links.

To use it, simply add the plugins JS file to the page and write your email address in your page, as follows:

<span class="email">you [at] example [dot] com</span>

Then use the following JS to initialise it:

jQuery(document).ready(function($) {
  $(".email").emailAddressMunging();
});

For more information and some demos, see http://andrew-jones.com/jquery-email-address-munging-plugin

Contributing

I really appreciate any and all contributions.

I use Grunt to build this plugin. Once you have installed with npm install, run grunt --help to see the available tasks.

If you are contibuting code, please tidy the code by running grunt tidy. This helps ensure the pull request only shows relevant changes and keeps the code readable and in one style.

Ensure the unit tests pass by running grunt test. Please also try to add new tests where it helps.

Thanks again for contributing to this plugin!

Build status

Build Status

About

Simple jQuery plugin that converts email addresses such as you [at] example [dot] com into clickable mailto links.

Resources

License

Stars

Watchers

Forks

Packages

No packages published