WordPress.org

Ready to get started?Download WordPress

Forums

Plugin: Obfuscate E-mail (3 posts)

  1. Plugin: Obfuscate E-mail

    Description:
    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:
    http://www.coffee2code.com/archives/2005/03/24/plugin-obfuscate-e-mail/

    All of my plugins can be found at:
    http://www.coffee2code.com/wp-plugins/

    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
    Member
    Posted 9 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?

    Brilliant.

  3. gpk
    Member
    Posted 8 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?

    Ta
    gpk

Topic Closed

This topic has been closed to new replies.

About this Topic