Hacker News new | ask | show | jobs
by Grebbles 1972 days ago
How exactly does a redirect like that work? I didn't know links provided context when loading the subsequent page.
2 comments

The web server was configured to check the referrer.

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

   // show offensive pic of male genitalia 
   }