/ Published in: JavaScript
This script stores the elements of the email address as JavaScript
variables and assembles them on the fly every time the page loads. The
page rendered looks the same to users, but the address never actually lives
in the page source code. It can be inserted inline.
variables and assembles them on the fly every time the page loads. The
page rendered looks the same to users, but the address never actually lives
in the page source code. It can be inserted inline.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script language=javascript><!-- var email = "kermitthefrog"; var emailHost = "gmail.com"; document.write(email + '@' + emailHost); //--></script> If JavaScript is not working, the visitor will see nothing, though. This will take care of that: <span id="kermit-email">kermitthefrog -at- gmail -dot- com</span> <script language=javascript><!-- var email = "kermitthefrog"; var emailHost = "gmail.com"; document.getElementById('kermit-email').innerHTML = email + '@' + emailHost; //--></script>
URL: http://www.bluewallllc.com