This shows how scripts sandboxed by Partytown can be prevented from reading and writing cookies.
Current document.cookie as seen by host page:
document.cookie
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.
partying=true
Name: Value: Add Cookie
Disable Partytown