晦涩难懂的电子邮件脚本
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了晦涩难懂的电子邮件脚本相关的知识,希望对你有一定的参考价值。
This script stores the elements of the email address as javascriptvariables 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.
<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"; emailHost; //--></script>
以上是关于晦涩难懂的电子邮件脚本的主要内容,如果未能解决你的问题,请参考以下文章