Plugin: Obfuscate E-mail (3 posts)

  1. Scott Reilly
    WordPress & Plugin Dev
    Posted 11 years ago #

    Plugin: Obfuscate E-mail

    Obfuscate e-mail addresses in text and links via random hex and ASCII code substitution while retaining the appearance and functionality of hyperlinks.

    Details can be found at the plugin's homepage:

    All of my plugins can be found at:

    So what does it actually do?

    Any e-mail addresses that appear in any capacity in posts or comments (as plaintext and/or mailto: links, etc) will get obfuscated.

    Example (of full obfuscation):

    <a href="mailto:person@example.com">person@example.com</a>

    Would be translated into something like this:
    <a href="mailto:person@example.com">person@example.com</a>

    However, in your browser it would appear to you as it does prior to obfuscation, and the link for the e-mail would still work. Theorectically, however,
    spammers would have a somewhat more difficult time harvesting the e-mails you display or link to in your posts.

    [NOTE: Though the translated text above appears the same as the original, view the source for this page to see what it really looks like. The board isn't escaping the amperstands in the translated text...]

  2. Jinsan
    Posted 11 years ago #

    Excellent, I wonder whether it can ivade spam bots from reading the address and then spamming it - I assume ti would with all that code replacing the email address as it is.

    Great stuff mate, and to think you do this for free?


  3. gpk
    Posted 10 years ago #

    Is there any way of getting (even manual) obfuscation of addresses to work at wordpress.com? I've tried manually putting hex codes etc. in the [a href="..."] tag (obviously using angle brackets which I can't put in here!) but the rich text editor converts it to the original form again! I don't want to have to re-enter the obfuscated form after every time I use the rich text editor. I've also tried using the onMouseOver Javascript but WP seems to ignore this and remove it.

    Any suggests?


Topic Closed

This topic has been closed to new replies.

About this Topic