Skip to main content
June 9, 2008
Question

How to hide e-mail addresses in a table of contents

  • June 9, 2008
  • 1 reply
  • 308 views
I'm creating a disscusion forum and I want to have a table of contents that lists contributors email addresses (it will be optional). I want to make them invisible to spybots and such programs that are trawling the web for email addresses and forms in order to send spam.

How can I do this? Where can I find code for this? Does anyone know any tutorials on this? Is this possible? How effective would this be? 90%? 99.9%?

I would very much appreciate any input.

Thanks for all the help you've given me so far.
    This topic has been closed for replies.

    1 reply

    Known Participant
    June 9, 2008
    Simple ways to stop _some_ bots would be to encode the username or have it as two fields "user" and "domain" then it can be displayed as #user# @ #domain# - or even with the @ as an image. The second method doesn't help much if want to be able to click on it to send email though.

    I'm sure there will be some better suggestions soon

    Michael
    Inspiring
    June 9, 2008
    You might try building the email links with javascript so that bots won't be able to read them from the HTML body of your page.

    http://javascript.internet.com/miscellaneous/no-spam-e-mail.html