Home > WebDeveloperBoston > anti spam jQuery plugin. it will protect your email.

anti spam jQuery plugin. it will protect your email.

0
Vote

It is easy to use jquery plugin.

Easy way ( 3 step )

1) add jquery and amail plugin.
2) add line in head of your page.

<script>
$(document).ready(function(){
$(’.yourclass’).amail(’(at)’,'(dot)’);});
</script>

if you use wordPress then

  1. go to Apperance -> Editor -> header.php
  2. add the code before “</head>”

3) Use it

add your email as <a title=”my email” class=”yourclass”>You(at)domain(dot)com</a> it will be as normal link.

jquery plugin source | demo. Try it now | download demo | home page

p.s.  I use the plugin on the page  of  my website.

  1. janogarcia
    September 1st, 2009 at 17:42 | #1

    Hi Max,

    I like this simple and elegant approach to email obfuscation, as well as the way it degrades gracefully. However the plugin fails to render the correct deobfuscated mailto links when there are more than one obfuscated emails on the same page.

    For more info, please check http://plugins.jquery.com/node/10064

  2. admin
    November 7th, 2009 at 16:51 | #2

    @janogarcia
    Thanks.

  3. Roger Sarrasin
    November 8th, 2009 at 21:32 | #3

    Hi,

    I am using aMail. It seems great!
    1)Wondering if you have any options to enter more than one email.

  4. Roger Sarrasin
    November 8th, 2009 at 21:34 | #4

    Hi,

    I am using aMail. It seems great!
    1) Wondering if you have any options to enter more than one email.
    2) Is there a way to enter a subject line?
    3) If Title=”" is empty, it seems to display the email address. Is that the way it was supposed to be designed? I seem to be hesitant to enter my email in the title tag. Seem counter productive.

    Thanks!
    Roger

  5. admin
    November 8th, 2009 at 22:57 | #5

    Hi @Roger Sarrasin

    > I am using aMail. It seems great!
    Nice! I like it too :)

    I sent email about your questions.

  1. No trackbacks yet.
 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up