JQuery Tutorials – Use JQuery to protect/rewrite emails from spam bots

This entry is part 1 of 3 in the series Spambot Protection

This jquery snippet protects your published email addresses from being obtained from spam bots. Keep in mind that your (html)code must be in form Peter_[at]_example.com and the emails must be inside an ellement with mail class in order to let javascript replace the correct characters. Of course you can modify it as you wish ;) […]

jQuery Tutorials - Hide/protect mailto: links from spam bots and email harvesters #3 2

jQuery Tutorials – Hide/protect mailto: links from spam bots and email harvesters #3

This entry is part 3 of 3 in the series Spambot Protection

Here is a jQuery snippet that can protect email addresses from email harvesters. All you need to do is to inlcude .mail class to your “mailto:” html links like the example below.

 

line 2: Gather all the elements with the matched criteria line 3: Iterate on these elements line 4: on each […]