HackerTrans
TopNewTrendsCommentsPastAskShowJobs

แสดง HN: แทนที่อีเมลและหมายเลขโทรศัพท์ด้วย(github.com)

3 points·by rasso·เมื่อวานซืน·0 comments
github.com
Show HN: Replace emails and phone numbers with

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

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

0 comments

—