21 Dec 2008

Say you've got a WordPress plugin on your site that obfuscates email addresses (like Billy Halsey's Email Obfuscator script that I'm using; I'd link to it but his site has apparently been hacked and the URL is down) and you want to circumvent the obfuscation (say you want to display a github clone URL git starting with git@). What, oh what, do you do?

You use the unicode HTML entity for the @ sign of course, which is @.

(This entry is being made so I don't have to search for the darn code everywhere next time I need it.) :)

Creative Commons LicenseThe The unicode for the at sign (@) article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

Add Your Comment

Spam Protection by WP-SpamFree

The unicode for the at sign (@)

  1. Love this tweet blogging style. Good advice too. Only hope that bad robots will not learn to recognize it. ;)

    Tek
  2. You’re already #2 on my Google results: http://www.google.com/search?q=unicode+at+sign

    Mark Wubben
  3. Hehe, cool :)

    Aral
  4. I was using this method of obfuscation for a while, but google now translates it into normal text when indexing so this no longer offers much spam protection. I googled my email address and consistently my website came up with the email unobfuscated in the search.

    The only thing i have found to work against spam is javascript text add-in. Also, signing up for google apps for your domain allows you to keep your custom domain based email but use gmail’s back-end and spamguard.

    Greg Ferrell
  5. Hey Greg,

    I wouldn’t recommend it as a means of obfuscation, I’m actually using it so I _don’t_ trigger my email obfuscation plugin when I do want to use asperand! :)

    Aral
  6. Doh’! I misread that line. Thanks Aral.

    Greg Ferrell