πŸͺ Third-party cookies

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 in the developer documentation for third-party cookies and their deprecation.

πŸ§‘β€πŸ’» See the code.