-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tawk.to issue/navigator.plugins undefined #270
Comments
Seems like the issue stems from the fact that |
The same issue happens in chartbeat_video.js |
What's the update on this? Are we suppose to load in the main thread? |
I have similar issue with tawk to as well as another 3rd party script that requires navigator.vendor. Has anyone figured out how to solve this navigator issue for web worker? |
I'm not sure what Tawk is using plugins for, but as a workaround I've added this line to the Tawk snippet:
This seems to be the only usecase of navigator.plugins: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/plugins |
Closed by #539 |
Describe the bug
navigator.plugins is undefined causing the script not to load
To Reproduce
See repl, check console
Expected behavior
Script should load without error
Partytown version
Latest?
Screenshots
![Error](https://camo.githubusercontent.com/961230d5601f6adde34efe5cc6de8c9ffcd192e77d74c29f66423489a359f9fb/68747470733a2f2f692e736e6970626f6172642e696f2f4571433378472e6a7067)
Additional context
Seems like the issue is that
navigator.plugins
isn't available in the service worker.The text was updated successfully, but these errors were encountered: