Settings

Theme

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

github.com

3 points by rasso 12 days ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection