This demo tries to set a third-party cookie and then detect if it was successful.
π See the demo with just an iframe and no JavaScript here.
The third-party site x-origin-src.glitch.me
will try to set a cookie using:
Set-Cookie: 3pc={timestamp}; Path=/; Secure; SameSite=None
Third-party cookies look like they are: [TESTINGβ¦]
Open DevTools in Chrome and look at the:
π‘ Learn more about third-party cookies and their alternatives.
π§βπ» See the code.