Evitar el spam del mailto (el que he utilizado)

8/Mar/2019 1046

Spambots aman scrapear páginas para sacar emails para, evidentemente, mandar email spam. En este corto artículo presentaré la técnica que he utilizado y ha sido efectivo, además la encuentro simple entre varias que analicé. Incluye HTML, CSS y opcional (puedes seguir utilizando href=»mailto:nombre@email.com» un poco de JavaScript para hacerle aún más difícil el trabajo al spambot.

Tenemos un clásico enlace con el email:

<a href="mailto:nombre@email.com">nombre@email.com</a>

Tip 1:

Revertimos el texto con el email dentro de la etiqueta <a> para volver a revertirlo con CSS:

<a href="mailto:nombre@email.com" class="reverse">moc.liame@erbmon</a>

.reverse {
  unicode-bidi: bidi-override;
  direction: rtl;
}

Tip 2:

Quitamos el mailto=»» el cual también puede ser scrapeado y con un poco de JavaScript hacemos accesible el poder utilizarlo para abrir un cliente de correo al clic:

<a href="#" class="reverse" data-name="nombre" data-domain="email" data-tld="com" onclick="window.location.href = `mailto:${this.dataset.name}@${this.dataset.domain}.${this.dataset.tld}`; return false;">moc.liame@erbmon</a>

Si no te gusta el onclick=»» en el markup puedes generar una función con el mismo comportamiento.

Ver resultado final:

See the Pen
Avoid email spam trick
by Jorge Epuñan (@juanbrujo)
on CodePen.

Comentarios

  1. Jay To Rot [#]

    There are a lot of great retirement options , locating the best senior retirement communities for you could be an overwhelming task. There are more choices than ever before, meaning that there’s something for every person, but it also means it is more difficult to find the perfect place to choose. The first step to choosing the best community for your retirement is to go out to begin searching and planning. Do not make the mistake of waiting until it’s far to pick your preferred community. It’s never too early or too late to begin searching and planning for your retirement. Many individuals decide that retirement homes are the perfect spot for them as they grow older. Perhaps you don’t want to endure the burden of managing a whole house in your own home, or maybe you don’t want to be living on your own and would like to live in a community around your peers. Whatever the reason you choose retirement living, there are many choices available today. There are two primary categories: assisted living and independent living but there are also blends and variations of both and some facilities provide both. Continuing care communities are one place that can help those with physical or medical needs that should be met. You can opt for independent living communities when you are ready to take on retirement without the assistance of others. These types of retirement homes offer recreational activities to pass the time and also fitness activities to keep you healthy and fit as you get older. There are even facilities for military retirement which specifically assist veterans who are approaching retirement age or older adults who have served in the armed forces in some time in their lives. Some even cater to spouses of those who been in the military before. If this is the kind of senior retirement community you want you should begin looking into your options and what you’re eligible for now. There are even Christian or Catholic retirement communities that help offer a comfortable retirement you can live a life that’s tailored to your moral and religious convictions, often including areas to worship on campus or in the community. It is possible to get information about these facilities and their staff before you make the decision to move there when you retire.

  2. withoutdrvisit.com [#]

    inexpensive medical insurance http://withoutdrvisit.com – what is the active ingredient in viagra

  3. Blythe Crittenden [#]

    Keep this going please, great job!

  4. Dementia Specialist Certification [#]

    Hi, I do believe this is an excellent site.
    I stumbledupon it 😉 I may return yet again since I bookmarked it.
    Money and freedom is the greatest way to change, may you be rich and
    continue to guide others.

  5. Leah Whatmore [#]

    whoah this weblog is excellent i love reading your posts. Stay up the great work! You recognize, lots of individuals are searching round for this information, you could aid them greatly.

  6. Arlette Mullins [#]

    I blog quite often and I truly thank you for your information. This article has truly peaked my interest. I will take a note of your website and keep checking for new details about once per week. I subscribed to your RSS feed as well.

  7. stromectolforte.com [#]

    ivermectin kaufen http://stromectolforte.com/# ivermectin for dogs ivermectin 3 mg for humans

  8. Francisco Edwards [#]

    If some one wants expert view regarding blogging and site-building afterward i suggest him/her to pay a visit this web site, Keep up the fastidious work.

  9. what to do if my dog ate beef jerky [#]

    Excellent weblog here! Additionally your web site quite
    a bit up fast! What host are you the usage of? Can I get your affiliate link in your
    host? I wish my web site loaded up as fast as yours lol

  10. fb88 [#]

    What’s up, everything is going nicely here and ofcourse
    every one is sharing facts, that’s in fact excellent,
    keep up writing.

  11. Kinesio Tex Tape 1 x 16 25cm x 5m narrow width KinesioTape 2 rollsbox [#]

    Ahaa, its nice discussion concerning this piece of writing here at this webpage,
    I have read all that, so now me also commenting here.

  12. Arletha Fenbury [#]

    Its such as you read my mind! You seem to understand so much about this, like you wrote the e-book in it or something. I think that you could do with a few % to power the message home a little bit, however instead of that, that is excellent blog. An excellent read. I will definitely be back.

  13. Weldon Grano [#]

    I was curious if you ever considered changing the structure of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or two pictures. Maybe you could space it out better?

  14. Maryblabs [#]

    canadian drug pharmacy cialis

  15. Курорт - 2021 смотреть онлайн [#]

    Веном 2 – смотреть онлайн в хорошем качестве https://bit.ly/venom2-2021

  16. Gus Keck [#]

    Do you have a spam issue on this blog; I also am a blogger, and I was curious about your situation; many of us have developed some nice practices and we are looking to trade techniques with other folks, please shoot me an email if interested.

  17. stromectolforte.com [#]

    ivermectine kopen https://stromectolforte.com/# stromectol price us buy ivermectin at ivermectino

  18. Anthonyslany [#]

    viagra triangle te whats i n viagra – general viagra tablets

  19. Dean Whalen [#]

    Excellent post. I was checking continuously this blog and I’m impressed! Extremely helpful information specifically the last phase 🙂 I care for such info much. I was looking for this particular information for a long time. Thanks and best of luck.

  20. Christiane Mock [#]

    Definitely believe that which you stated. Your favorite reason appeared to be on the net the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they just do not know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people could take a signal. Will probably be back to get more. Thanks

  21. ivermectin 12 mg [#]

    General Dope About this by-product
    https://ivermectinst.com ivermectin for sale
    https://ivermectstromect.com ivermectin for sale
    https://ivermectinstrom.com ivermectin over the counter
    https://ivermectinsts.com stromectol ivermectin
    https://ivermectinsts.com ivermectin over the counter

  22. bactrim generic [#]

    sulfamethoxazole side effects sulfamethoxazole trimethoprim

  23. sunosivsmodafinil [#]

    modafinil prescription https://modafinilltop.com/

  24. Anthonyslany [#]

    viagra boys band price of viagra – generic viagra 50

  25. prednisolon [#]

    buy prednisone online effects of long term prednisone use

  26. accutune [#]

    accutane https://sotretisotretinoin.com/

  27. Kami Ibarra [#]

    We will be professional wholesale dealer of jerseys, customized in supplying Low cost Jerseys and custom-made jerseys. Jerseys along with 100% stitched real quality, all Figures, Logos and Brands are sewn in and embroidered.
    nfl sale

  28. modafinilpill [#]

    buy modalert modafinil alcohol

  29. prednisonefordogs [#]

    prednisone no rx prednisone dosage

  30. modafinilhalflife [#]

    nuvigil vs provigil provigil side effects

CSSLab