Lurker News
Back to discussion

Comment by DoctorOW

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.
asciii#
I'm with you, too!