Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's an amusing bit of Javascript in that page to cause it to print as a single blank page. Never seen that particular "dark pattern" before. At some point, he appears to have commented it out and replaced it with a single CSS statement that does the same thing.


Which only serves to prevent the technically unsavvy. In Firefox: Shift+F2 "screenshot --fullpage" then print the screenshot of the page.

I've also never seen someone do that before, good spot.

What's interesting is that the CSS media query doesn't work for older browsers. So users using IE7/IE8 can still print the pages.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: