obfuscate email – javascript?
-
I looked at a number of email obfuscation plugins and none of them are what I want.
I used to use a simple bit of javascript like this:
<script language=”JavaScript” type=”text/javascript”>document.write(MailTo(‘username’,’domain.com’,”,1,”,”,”))</script><noscript>username at domain (dot) com<div class=”text_sm”>* Replace "at" with "@", & "(dot)" with "."</div></noscript>The beauty of this was that simple bots didn’t pick up on the email address, but it looked fine (copy and pasteable, etc) once rendered by the browser.
Is there any way I can duplicate this in a WordPress page?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘obfuscate email – javascript?’ is closed to new replies.