Helpfile: EMAIL_BOT_OBFUSCATOR Plugin

the plugin has two main features:

Inhalt

  1. make an email clickable
  2. Obfuscate the mail address

make an email clickable

like a "make a link clickable" for www-Links you can write a mail@example.com without any html-code into a post or a static page. The plugin detects this and convert it to <a href="mailto:mail@example.com">mail@example.com</a>

top

Obfuscate the mail address

many people fear about address-harvester-bots. So I found two alternatives to "hide" a address from this bots - but without using such crapy non-accessible things like text-as-an-image. There are three options:

  1. a javascript builds the address on the fly:
    <script type="text/javascript">var username = "mail"; var hostname = "example.com";document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + username + "@" + hostname + "<\/a>")</script>
  2. IMHO much better - using html entities, so every browser will display it normal, but as I was told, harvester will have their problems:
    <a href="mailto:m&#97;i&#108;&#64;&#101;xa&#109;ple&#46;com">mai&#108;&#64;&#101;xa&#109;&#112;&#108;e.com</a>
  3. or doing nothing

top