Comment

Comment by actionowl

Using a contact form that sends you an email server-side is a good one, that way they never have your email (unless you respond).

I also had a static website at one point where I didn't want to add server-side processing for a contact form so I stored the email address obfuscated in javascript like:

  ["m","o","c",".","l","i","a","m","e","@","e","m"].reverse().join('')
and injected it into the page. It seems that most scraper bots don't execute javascript and with it split into an array they likely won't find it by scraping the js files either.
parent actionowl 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton