©
本文檔使用 php中文網手册 發布
Do you ever wonder how your E-mail address gets on so many spam mailing lists? One way spammers collect E-mail addresses is from web pages. To help combat this problem, you can make your E-mail address show up in scrambled javascript in the HTML source, yet it it will look and work correctly in the browser. This is done with the mailto plugin.
你想知道你的电子邮件地址是怎样出现在如此众多的猎头邮件列表中吗?猎头们收集电子邮件地址的一种方式就是从网页上获取。为了对抗这种方式,你可以让你的电子邮件在HTML源文件中以动态javascript的方式显示,这样在浏览器里就能正确的显示出来。这个是通过maito插件做到的。
Example 18-9. Example of Obfuscating an E-mail Address 例 18-9. 拒绝电子邮件地址的一个例子
|
Technical Note: This method isn't 100% foolproof. A spammer could conceivably program his e-mail collector to decode these values, but not likely.
技术提示:这种方法不是100%安全的。一个猎头可能知道编写他的电子邮件收集器来解码,但不是很可能的。