Hacker News new | ask | show | jobs
by mkl 1973 days ago
Don't click this link, copy and paste it. JWZ redirects clicks from HN.
2 comments

How exactly does a redirect like that work? I didn't know links provided context when loading the subsequent page.
The web server was configured to check the referrer.

   If (referrer === ‘https://news.ycombinator.com’) {

   // show offensive pic of male genitalia 
   }
Or click it too! It's pretty hilarious