Fetch cookie demo
The JavaScript js/main.js included on this page makes a cross-site fetch()
call to 3p-site.glitch.me/fetch, which sets a fetch=true
cookie in response.
You can view the server code that sets the cookie at glitch.com/edit/#!/3p-site?path=server.js
View the cookie in Chrome DevTools from the Application panel Cookie pane:

The Headers tab in the Network panel shows that the cookie is included in requests to 3p-site.glitch.me/fetch
, but not to other URLs:
