使用表单按钮防垃圾邮件地址
我一直在研究一些防垃圾邮件方法 这里。我想提出一种更简单的方法:由于我需要几个不同的电子邮件地址,因此我考虑只使用带有 JS 或服务器端重定向的选择框,如示例 在这里。 因为谷歌不会蜘蛛形式(dixit Matt Cutts),而且垃圾邮件收集器脚本也不会(我认为???),这样做是有意义的。
我希望能够在不使用脚本的情况下完成此操作。那么为什么不每封电子邮件使用一张表格呢?
<form action="mailto:[email protected]" method="get">
<input type="submit" value="[email protected]"/>
</form>
按钮文本似乎可以复制但不能粘贴,所以这是一个缺点。
这种方法好不好呢?或任何其他建议?
I have been looking at some methods for spamproof email methods here. I'd like to propose a more simple approach: Since I need a couple of different email addresses I considered just using a selectbox with JS or serverside redirect, as per examples on here.
Because google doesn't spider forms (dixit Matt Cutts), and spam-harvester script don't either (I think????) this would make sense to do.
I would love to be able to do this without using a script. So why not use one form per email?
<form action="mailto:[email protected]" method="get">
<input type="submit" value="[email protected]"/>
</form>
It seems the button text can be copied but not pasted, so that's a disadvantage.
Is this approach any good? or any other recommendations?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(2)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
因为:
服务器端表单处理程序停止收集电子邮件地址的原因是因为电子邮件地址未向用户公开。
Because:
The reason server side form handlers stop email addresses being harvested is because the email address is not exposed to the user.