Live data from Hacker News

Protecting your email address via SVG instead of JavaScript

rouninmedia.github.io

21–30 of 180 posts

Re: Protecting your email address via SVG instead of JavaScript

#21
post #2

Email is still plain-text within an xml document referenced in the page source.

The idea being that spam bots don't parse svg's looking for email addresses, just the page html. I'm not sure how effective this really is with modern spam protection, however.

Re: Protecting your email address via SVG instead of JavaScript

#23

I would like to push back on the idea that you should obfuscate your email address at all. My email addreas is danny@spesh.com. I get a lot of spam -- possibly, since I have been distributing that address deliberately on the web and inadvertently in hacked datadumps, a near maximum amount of spam. But the benefits of having people easily find a way to contact me directly has for me far outweighed the (largely solved)…

This is appropriate advice for the average HN reader. For everyone else, probably not. I've seen first hand otherwise intelligent people being unable to discern an obvious (to me) online scam from a legitimate business. These are the people spammers are targeting. These are the people that need to obfuscate their email address.

Re: Protecting your email address via SVG instead of JavaScript

#24
post #13

Earlier quoted context omitted.

Yes, but these scrapper bots aren't that sophisticated.

But they will be as soon as this sees widespread use.

it won't be widespread imho, not when you share you email address with other parties that then lose/sell your details. fastmail like 'temporal' email addresses could help, however.

Re: Protecting your email address via SVG instead of JavaScript

#25
post #23

I would like to push back on the idea that you should obfuscate your email address at all. My email addreas is danny@spesh.com. I get a lot of spam -- possibly, since I have been distributing that address deliberately on the web and inadvertently in hacked datadumps, a near maximum amount of spam. But the benefits of having people easily find a way to contact me directly has for me far outweighed the (largely solved)…

This is appropriate advice for the average HN reader. For everyone else, probably not. I've seen first hand otherwise intelligent people being unable to discern an obvious (to me) online scam from a legitimate business. These are the people spammers are targeting. These are the people that need to obfuscate their email address.

So you're saying the same people unable to discern a spam email knows how to embed a mailto: link in an XML document and write webpages. Ok.

Re: Protecting your email address via SVG instead of JavaScript

#26
post #9

> even when a human visitor has their JavaScript turned off, the email address displayed on the page remains usable NoScript on Firefox with default settings don't render tags (replaces them with placeholders), so this technique doesn't work here. https://imgur.com/2tCAgAf

[flagged]

Re: Protecting your email address via SVG instead of JavaScript

#27
post #18
post #12

Earlier quoted context omitted.

I think that nowadays most spam lists come from data breaches and address-collecting malware. It's cheaper than running a bot to scan the web for addresses. We get spam on addresses that were never published online.

I think so too. And I think the majority of data breaches that have lead to spam for me are from ages ago, from random services I signed up for as a teenager. For a few years after that I did the "+" Gmail alias thing, to try to filter and catch companies. But I realised that's easy and obvious to strip, so it wasn't worth the effort (although I have caught PayPal leaking my email somehow).

If you self-host your email, you can use "." as a delimiter instead of the "+". People would already need to know they can strip that part...

Re: Protecting your email address via SVG instead of JavaScript

#28
post #26
post #9

> even when a human visitor has their JavaScript turned off, the email address displayed on the page remains usable NoScript on Firefox with default settings don't render tags (replaces them with placeholders), so this technique doesn't work here. https://imgur.com/2tCAgAf

[flagged]

It's not a Firefox issue, it's a NoScript issue. Chrome with its market share and propensity to implement its own standards, or Safari with its market share, quirks, and propensity to implement its own standards, make much better candidate IEs.

Re: Protecting your email address via SVG instead of JavaScript

#30
post #9

> even when a human visitor has their JavaScript turned off, the email address displayed on the page remains usable NoScript on Firefox with default settings don't render tags (replaces them with placeholders), so this technique doesn't work here. https://imgur.com/2tCAgAf

uBlock Origin can block JS too FWIW. There’s a convenient button for it in the extended menu.
Post reply on HN