This works totally fine on my local dev version in all browsers… …and will return all the current cookie values on the page, like this: The problem is that it doesn’t return anything in Firefox or Edge on production. It does work in Chrome on production though. Here’s how Chrome dev tools sees the cookies on my local version: …and