I
I
Ivan Tikhonov2011-07-30 14:53:31
JavaScript
Ivan Tikhonov, 2011-07-30 14:53:31

Protecting email from getting into the spam database?

Good time of the day!
Available: Contact page on the site, where new newly created employee mailboxes will be published soon.
Task: to complicate the life of spam parsers, who automatically collect addresses in their databases. It is clear that 100% protection is not to publish, but if you manage to break off most of the automatic collectors, this is not bad.
Suggested solutions:
Considering that it’s not comme il faut to refuse the a href = “mailto:” construct and post just text, then there is not much choice, as I understand it, either to replace the characters in the address with their codes, or to make a JS script with link pieces and collect it on the go, that is, email will not be highlighted in the HTML code, but it will be displayed on the page.
Supposed problems:
If you use a JS script, then for those who have it disabled, the addresses will not be displayed. If you use character codes, then there may be problems with search services, as I understand it.
Question:
Are there any other solutions, or how can I get around the problems mentioned above?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey, 2011-07-30
@bondbig

This is generally pointless.
Firstly, sooner or later they will get into the bases.
Secondly, spammers are moving to social networks, the amount of junk mail is decreasing.
Thirdly, the algorithms of anti-spam systems and services are very effective today. The economy option is to attach your domain to gmail.

J
Juggler, 2011-07-30
@Juggler

I recommend either using JS or posting the email as an image and without a link to mailto:
If a visitor has js disabled, email is the least they won't see. Usually, a lot of functionality is done through js, and without it, you can simply not come to the site.
For the completely paranoid - email using a picture. No robot will dig. I used it for a while - they didn’t dig it out for a year.
Now spammers have other technologies for finding addresses - they do not crawl the entire Internet in search of published emails like robots, but find a mailer and try to send a test letter to an arbitrary sequence of characters up to the dog in the address. That is, they simply select. So, to encrypt the email on the page is just to close only one of the leak paths.

R
Rsa97, 2014-01-10
@Rsa97

For the sake of fun, I did it through direction: rtl; unicode-bidi:bidi-override; and writing the address backwards ( jsfiddle )

D
Dmitry Rublev, 2011-07-30
@dmitryrublev

Regarding character codes - do you need to protect emails, or ensure they are indexed by search engines? Or I see the wrong kind of problem in this ...
As an alternative, you can make it so that when the javascript is not working, instead of the email, the picture is displayed with it.

I
Ilya Sidorenko, 2014-01-31
@iskros

habrahabr.ru/post/22549

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question