Lurker News
Back to discussion

Comment by JohnAaronNelson

JohnAaronNelson1 reply#
Seems like it would be fairly easy to use this pseudo selector, and apply it to every element on the page. Making them show up as empty to the user
DoctorOW1 reply#
You could add a data attribute to the html tag of the document with the current URL, I.E.


then hide the full page with:

  html {display: none;}
  html[data-path*="saashub.com"] {display:block;}
emsixteen1 reply#
This seems quite elegant and easy. Obviously in addition to other measures, but I like it.
DoctorOW1 reply#
Honestly this is my favorite HN post in a while I've had a lot of fun thinking over this challenge.

Continue this thread — 1 reply