Cookie Blocking

This shows how scripts sandboxed by Partytown can be prevented from reading and writing cookies.

Current document.cookie as seen by host page:

Cookie Jar

Current document.cookie as seen by sandboxed script:

When Partytown is enabled, the return value of document.cookie is forced to always be partying=true. Additionally, attempting to set any new cookies is blocked.

Disable Partytown