You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The third-party script I am using checks window.navigator.cookieEnabled to determine whether or not to run the script. While this works perfectly fine in the main window, window.navigator.cookieEnabled returns undefined in the Partytown worker. This makes the whole script can't be executed with Partytown.
Describe the bug
The third-party script I am using checks
window.navigator.cookieEnabled
to determine whether or not to run the script. While this works perfectly fine in the main window,window.navigator.cookieEnabled
returnsundefined
in the Partytown worker. This makes the whole script can't be executed with Partytown.Reproduction
https://github.com/XiNiHa/partytown-cookieenabled-repro
Steps to reproduce
pnpm i
,pnpm dev
Browser Info
Verified in Firefox and Chrome
Additional Information
No response
The text was updated successfully, but these errors were encountered: