Hacker News new | ask | show | jobs
by alvarop 1920 days ago
Reminds me of Samy's website. For a fun time, try to view the page source: https://samy.pl/
6 comments

I thought I was smart by doing "curl https://samy.pl/". :(
IIRC, at one point he offered a semi-bounty on anyone who could actually reveal the source, only partly in jest.
Well there goes an hour.
For some reason the page blanks out as soon as I load it and then when I open the console it loads normally and I can see the source.
> No source for you! You found easter egg #7. Close the console to return to samy.pl ;)

Hmmmmm...

The detection is pretty simple; in FF undocking the console bypasses all of it and you can debug whatever you like. :)
Oh, damn. Well, I'm glad I didn't figure that out. Doing it the "right" way was fun!
Or open the console while you're on hacker news and then click on the link.
This does not work for me in Safari.
Just open the debugger. You can see the entire sources in there.
This is great. Thought I'd got it for a second when I hit #11...