Back to discussionComment by JohnAaronNelson[-]JohnAaronNelson3 years ago1 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[-]DoctorOW3 years ago1 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;}[-]emsixteen3 years ago1 reply#This seems quite elegant and easy. Obviously in addition to other measures, but I like it.DoctorOW3 years ago1 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
JohnAaronNelson3 years ago1 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
DoctorOW3 years ago1 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;}
emsixteen3 years ago1 reply#This seems quite elegant and easy. Obviously in addition to other measures, but I like it.
DoctorOW3 years ago1 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