Stuart McCulloch AndersonStuart McCulloch Anderson Stuart McCulloch Anderson
  • Welcome to StuAnderson
    The ma’r I see of some fock, the ma’r i like my dog

    16Feb Email Hashing that stops spam crawlers


    I have been working the last few hours on a nice and clean way to hide emails on this site, without the need for JavaScript.

    The solution I have come to is good old Hex. By hexing each character of the email address you are able to encode and email address in such a way that most spam crawlers can’t make out what your address is, but visitors to your site will still be able to click a link and email your directly without requiring JavaScript of jumping thought other common hoops lie my _AT_ email _DOT_ com.

    I have placed this link in the menu bar under The Rest which will take you to my very simple app. Just give it your email address and it will give you a hashed mailto link ready to copy and paste into your site or forum signature.

    As with most of my software this is released with out warranty and ‘as it’ in the hope it will be of use to someone else, please feel free to let me know what you think of this in the comments.

    Stuart McCulloch Anderson

    E stuart at anderson dot eu dot comA +44 131 208 3764