这几天是否值得混淆网络上的电子邮件地址? [英] Is it worth obfuscating email addresses on the web these days?

查看:207
本文介绍了这几天是否值得混淆网络上的电子邮件地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

各种方式模糊网络上的电子邮件地址,但是当您需要一个 mailto: href。

There are various ways to obfuscate email addresses on the web, but most of them don't work when you need to have a mailto: href.

我通常使用名称[AT] domain.com ,因为我认为用户明白他们要做什么真正的电子邮件地址,但我想知道是否有任何好处(因为垃圾邮件发送者自动化很容易)。我知道隐藏在验证码后面的电子邮件地址的服务,但对我来说,这对于用户来说太多了。

I generally use name[AT]domain.com, because I think it's fairly obvious to the user what they have to do to get a real email address, but I wonder if there's any benefit to this (as it's easy to automate by a spammer). I'm aware of the services which hide the email address behind a captcha, but to me this is too much work for the user.

所以,两个问题:有没有办法(a)保留使用 mailto:



So, two questions:

    链接,(b)将阻止垃圾邮件发送者,(c)对于非强力用户来说,这不是太复杂吗?
  1. Is there any way that (a) retains the use of mailto: links, (b) will stop spammers and (c) isn't too complicated for non-power users to work out?

值得吗?我们只是接受垃圾邮件发送者会找到一个方法,只需使用Gmail?

Is it worth it? Do we just accept that spammers will find a way round it and just use Gmail?

编辑: / strong>我应该提到,在这个具体情况下,我在谈论他们网站上公司的联系电子邮件地址。

I should mention that, in this specific case, I'm talking about the contact email address for the companies whose websites I'm making, on their websites.

推荐答案

在我保持的网站上,我认为我的义务来保护我的用户的电子邮件地址。垃圾邮件是不够的,我不需要让垃圾邮件发送者变得容易。

On websites I maintain, I consider it my duty to protect my user's email addresses. Spam is bad enough, I don't need to make it easy for the spammers.

同时,可用性要求功能性的mailto链接。我最喜欢的方法是使用免费的 SpamSpan 技术(偏执3级)。它是免费的,跨浏览器,似乎有效,并且在JavaScript被禁用时留下易读的文本。

At the same time, usability demands functional mailto links. My favorite method for achieving this is to use the free SpamSpan technique (at paranoia level 3). It is free, cross-browser, seems effective, and leaves easy-to-read text when JavaScript is disabled.

<span class="spamspan">
<span class="u">user</span>
[at]
<span class="d">example [dot] com</span>
</span>



结果(启用JavaScript)



a href =http://mailto%3auser@example.com =nofollow> user@example.com

user [at] example [dot] com

user [at] example [dot] com

这篇关于这几天是否值得混淆网络上的电子邮件地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆