[Typo3] spamProtectEmailAddresses

Joseph Toon plug at geckohost.com
Thu Jul 21 19:37:32 CEST 2005


It should put the following block of code in your document:

<script type="text/javascript">
	/*<![CDATA[*/
<!--

  // JS function for uncrypting spam-protected emails:
function UnCryptMailto(s) {	//
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}
  // JS function for uncrypting spam-protected emails:
function linkTo_UnCryptMailto(s)	{	//
	location.href=UnCryptMailto(s);
}
		

// -->
	/*]]>*/
</script>

That *should* be there .. perhaps you have javascript disabled in your 
browser?


On Thursday 21 July 2005 10:11 am, Martin S wrote:
> Apparently the javascript is supposed to link to something that unscrambles
> this mess. However, on my site it does absolutely nothing.
> Am I missing something?



More information about the TYPO3-english mailing list