Show HN: Replace emails and phone numbers with <ob-fus-ca-ted>
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. - hirasso/html-obfuscator
Summary not yet generated for this article.
Original Text
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 (0 of ) ⌛