Skip to content

Show HN: Replace emails and phone numbers with <ob-fus-ca-ted>

github.com/hirasso
3 pointsrassodiscuss
On HN

Hey HN!

A few weeks ago I read

https://spencermortensen.com/articles/email-obfuscation/

ans I was so inspired that I built my own:

https://github.com/hirasso/html-obfuscator

The "killer feature" is that it uses a closed shadow root to hide sensitive data in plain sight. Visible to humans, but invisible to crawlers and even headless bots, if they don't interact with the page.

On interaction, the data is revealed to the light DOM.

I'm looking for props, GH stars, critique... anything. I'm genuinely proud of my discovery that closed shadow roots are not readable using JavaScript.

Cheers Rasso

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.