hirasso/html-obfuscator
html-obfuscator
Obfuscate emails, phone numbers and other sensitive data using PHP and modern web features. Visible to humans, hidden from crawlers and headless bots until they interact.
7stars
hirasso/html-obfuscator
html-obfuscator
Obfuscate emails, phone numbers and other sensitive data using PHP and modern web features to hide them from crawlers and headless bots.
Visit project- First shared
- Jul 9, 2026
- HN activity
- 30
Hacker News sources
Show HN@rassoJul 9, 2026
Show HN: Replace emails and phone numbers with
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
Community