Hacker News new | ask | show | jobs
by murphyslab 1290 days ago
Can someone explain how this link works?

The endpoint seems to change based on which browser and which type of window I use to open it.

1 comments

it looks at the referer field in the http request to see where you came from, and for the existence of a scarlet cookie. if it's a place they don't like, it drops a scarlet cookie in your browser that says they don't like you and then redirects. if the cookie exists, it redirects regardless.
Appreciate the explanation! Thank you for taking the time.