Live data from Hacker News

Protecting your email address via SVG instead of JavaScript

rouninmedia.github.io

161–170 of 180 posts

Re: Protecting your email address via SVG instead of JavaScript

#161

Ironically, the only spam I receive these days comes from the address I used here for the "Who wants to be hired" threads.

More ironically, some of them sell anti-spam SaaS. I recently received the following email:

  > Le 2 mai 2024 à 12:13, Geoffrey Callaghan 
  >
  > Hello there,
  >
  > Please don't shoot the messenger ( that's me don't shoot :)
  >
  > But you should not post your email address like that in its raw email format on the hacker news 
  >
  > You should use a tool like https://veilmail.io to hide your email address from spam bots :)
  > 
  > You can always go back and change your hacker news post with a veilmail address.
  > 
  > Have a nice day
  > 
  > Geoff
Spread the disease, sell the cure

Re: Protecting your email address via SVG instead of JavaScript

#162
post #33

Why? What's the point? All you're doing I making it slightly more difficult for the people that want to contact you to do so. OCR has been a thing for years. Just put your email out there. That's what spam filters are for. charles@geuis.com. There. Scrape it. Spam it. I don't care. Edit: Yes, thank you for signing me up for the DNC (already a member), some random Trump org, something about Scientology, and another ra…

But you just proved the point. You might not care to be signed up for some random Trump org, Scientology, or whatever, but other people do care and if you want to author a website that responsibly uses people's emails without subjecting them to unnecessary spam, then it's worth taking these techniques (not necessarily this specific one) into consideration.

While OCR does exist it's incredibly expensive compared to text scraping. The main way to combat spam is to make the cost of spamming more expensive than the benefit.

Re: Protecting your email address via SVG instead of JavaScript

#165
post #92

Not only "protecting your email" is pointless like others have already pointed out, it's actively harmful. There are a fair few sites, where most all content is perfectly readable without JS, except things like "1920x1080@60Hz" are displayed as literal "[email protected]" text.

> There are a fair few sites, where most all content is perfectly readable without JS, except things like "1920x1080@60Hz" are displayed as literal "[email protected]" text. Do you have one on hand? That sounds absurd and I've never seen it

[deleted]

Re: Protecting your email address via SVG instead of JavaScript

#166
post #62

> Email addresses published on webpages usually need to be protected from email-harvesting spambots. Do they though? I have had my email address published on my website in a I use both Gmail and (for some other addresses) a webmail hosted by a local company which uses some other filter. Both work well, so it's not something only Google can do.

Agreed. I have several web sites with publicly visible email addresses and they don't get much spam.

The spam I get is rather mis-targeted. For a while I was getting spam for equipment which would be useful were I a bulk producer of olive oil. "We have 15 years of experience in the research, development and production of automatic edible oil filling equipment...." There are the usual fake financing deals: "We’ve pre-approved your business for financing..." Whatever sends that crap doesn't look at the web site at all.

When I get spam from Gmail or Outlook accounts, I report it, so they will get a strike against their account. I don't hear from those people again.

All other spam is so obviously bogus that simple filters are dumping it into a junk folder. Most of it seems to be phishing emails. "You have won a (some tool)..." seems to be popular this week.

Re: Protecting your email address via SVG instead of JavaScript

#167

Earlier quoted context omitted.

Man, I’ve always wondered how to test apps with a (simulated) screen reader, but never got too far

I use this: https://chromewebstore.google.com/detail/aria-devtools/dneem... Not sure about desktop apps.

Added this. Thank you a lot!

Re: Protecting your email address via SVG instead of JavaScript

#168

Earlier quoted context omitted.

Man, I’ve always wondered how to test apps with a (simulated) screen reader, but never got too far

My secret is that I'm not simulating. Being blind forces you into it. :D For testing purposes, the nvda screen reader is free and open source. I'm not sure if there is a driver for it to have an api access to what it would output, but it might be a fun project to try for a11y testing purposes.

Thank you! And sorry for all the shitty code I produced over the years.

Re: Protecting your email address via SVG instead of JavaScript

#169
post #40

It does not work if you change the font-size.

You are not referring to page zoom or dpi I presume, which works.

I added `style="height: 2em"` to the `` to fit it within my use-case. Should be able to adapt to current font size that way I think.

Re: Protecting your email address via SVG instead of JavaScript

#170

My domain: 24 years registered to me. A .com. My email address: Listed at the top of the front page. In a H3 tag. This email address's spam problem: Not a problem. 15ish per day get to me including Junk folder. Thanks Purelymail. What is a problem: Transactional email unrelated to transactions, Promotional email which is newsletter junk spam, Social networks complaining of not being used.

15 spam mails do seem quite much to me. I blacklisted addresses for less.

If they're getting filtered, who cares?
Post reply on HN