ColdFusion Tutorial

Make your E-mail address invisible for spam robots

By converting your Email addresses to Unicode, the spam robots can't leech the Email address from your website. Most automatic leeching programs look for the MAILTO tags and properly formatted Email addresses. After using the convert form below, these programs aren't able to detect your Email address. Enter your information in the form below, and copy and past (replace) the Unicode Email address into you web pages. The Unicode mail addresses are standard html code. As you can see the new Email address contains the ASCII value of the characters in your Email address. The browser can read this, so your email addresses will function as normally. But the spam robots can't longer leech your email addresses. The convert form below, does not check if it's a valid email you enter.
 
  This tutorial will give you a hint on how to do that. At the end of this page you find the ASCII characters map.
 
  As an example we will use the following email address: you@server.com
    This will give us this html tag: <a href= "mailto:you@server.com">you@server.com</a>
 
  First we convert mailto:
    <cfset mailto = "&##109;&##097;&##105;&##108;&##116;&##111;&##58;">
 
  Then we convert the email address:
    <cfset email = ?&##121;&##111;&##117;&##64;&##115;&##101;&##114;&##118;
    &##101;&##114;&##46;&##99;&##111;&##109?>
 
  Make our new Unicode email:
    <cfset Unicode = "<a href = ""#mailto##email#"">you@server.com</a>">
 
  The output of Unicode:
    <cfoutput>#Unicode#</cfoutput>
 
  Will display you@server.comin your browser.
 
  If you look at View Source, you will see the following code:
 
  a href= "&#109;&#097;&#105;&#108;&#116;&#111;&#58;&#121;&#111;&#117;&#64;
    &#115;&#101;&#114;&#118;&#101;
    &#114;&#46;&#99;&#111;&#109;">you@server.com</a>
 
  The ASCIIcharacters map:
 
  By converting your Email addresses to Unicode, the spam robots can't leech the Email address from your website. Most automatic leeching programs look for the MAILTO tags and properly formatted Email addresses. After using the convert form below, these programs aren't able to detect your Email address. Enter your information in the form below, and copy and past (replace) the Unicode Email address into you web pages. The Unicode mail addresses are standard html code. As you can see the new Email address contains the ASCII value of the characters in your Email address. The browser can read this, so your email addresses will function as normally. But the spam robots can't longer leech your email addresses. The convert form below, does not check if it's a valid email you enter.
 
  This tutorial will give you a hint on how to do that. At the end of this page you find the ASCII characters map.
 
  As an example we will use the following email address: you@server.com
    This will give us this html tag: <a href= "mailto:you@server.com">you@server.com</a>
 
  First we convert mailto:
    <cfset mailto = "&##109;&##097;&##105;&##108;&##116;&##111;&##58;">
 
  Then we convert the email address:
    <cfset email = ?&##121;&##111;&##117;&##64;&##115;&##101;&##114;&##118;
    &##101;&##114;&##46;&##99;&##111;&##109?>
 
  Make our new Unicode email:
    <cfset Unicode = "<a href = ""#mailto##email#"">you@server.com</a>">
 
  The output of Unicode:
    <cfoutput>#Unicode#</cfoutput>
 
  Will display you@server.comin your browser.
 
  If you look at View Source, you will see the following code:
 
  a href= "&#109;&#097;&#105;&#108;&#116;&#111;&#58;&#121;&#111;&#117;&#64;
    &#115;&#101;&#114;&#118;&#101;
    &#114;&#46;&#99;&#111;&#109;">you@server.com</a>
 
  The ASCIIcharacters map:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
OctalDecimalOctal  DecimalOctalDecimal OctalDecimal
! 33048
A65 ` 96
" 34149B66 a97
#35250 C67b98
$36 3 51D68c99
%37452E69d 100
&38553F 70e101
' 396 54G71f102
( 40755H72g103
)41856I73h 104
*42957J 74i 105
+43: 58K75j106
, 44;59L76k107
-45<60M77l 108
.46=61N 78m109
/47> 62O79n110
   ?63P80o111
   @64Q81p112
     R82q113
     S83r 114
     T84s115
     U85t116
     V86u117
     W87v 118
     X88w119
     Y89x120
     Z90y121
     [91z122
     \92{123
     ]93| 124
     ^94}125
     -95~126
        
                   
 

What is Unicode?
  Unicode provides a unique number for every character,
  no matter what the platform
  no matter what the program
  no matter what the language

Using JavaScript
  An alternate way to make your e-mail link safe is using JavaScript. In the example below we use String.fromCharCode(32*2) to insert the @ sign. A combination of the both methods can be done. Remember that some users turn of JavaScript in the browser. If you want to notice this little group, add some code in the <noscript> section. Here you can use a picture of your e-mail address or write text to explain that JavaScript is necessary.

<script language ="javascript" type = "text/javascript">
  user = 'your_name'
  domain = 'your_domain'
  link_name = 'e-mail'
  safe_link = user + String.fromCharCode(32*2) + domain
  document.write('<a href = "mailto:' + safe_link + '">' + link_name + '</a>')
  </script>

ColdFusion Tutorial test

Make your E-mail address invisible for spam robots

Text:

E-Mail*:

Subject:





Unicode email address:

No User Comments.

No User Comments, be the first one to write your comments?

Add your comments

Your Name*:
Your Email:
Site URL:
Site Name:
Comemt Title*:
Your Comment*:
Key Phrase*:
vT7
Your IP Address: 38.103.63.62
 

ScandicWeb is own by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.

[Home [Site Map [Privacy Statement [Site Feedback] [About ScandicWeb]


[ColdFusion [Flash [Search Engine Optimization [Graphics [Cascading Style Sheets (CSS) [JavaScript (JS) [Software]

Partner sites: ScandicSoft


Server time: 19. November 2008 Wednesday