partytown
partytown copied to clipboard
Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
This PR contains test cases for [NodeFilter](https://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeFilter) API and [TreeWalker](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker) API. They are mainly for testing issues #253 and #254. - `tests/platform/node-filter`: test case for NodeFilter - `tests/platform/tree-walker`: test case...
**Is your feature request related to a problem? Please describe.** In Partytown's web worker context, NodeFilter object is not defined. For more info regarding NodeFilter, please see [here](https://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeFilter). **Describe the...
**Describe the bug** I recently tried enabling CSP Trusted Types with a site that uses partytown and it throws errors about `TrustedScript` assignment on these specific files https://github.com/BuilderIO/partytown/blob/0a06db0e2034188a6330d51eb6ab06cce90ecb6d/src/lib/web-worker/worker-exec.ts#L121 https://github.com/BuilderIO/partytown/blob/0a06db0e2034188a6330d51eb6ab06cce90ecb6d/src/lib/web-worker/init-web-worker.ts#L29 I...
I was testing this plugin implementation and I got an "Options should be array" error. After investigation I found that the webpack copy plugin docs are wrong. See more here:...
Hey, I want to integrate GTM, FBQ and Intercom. Using config with `forward: ["dataLayer.push"]` seems to work but as soon as I set `forward: ["dataLayer.push", "fbq"]` or `forward: ["dataLayer.push", "Intercom"]`...
## Summary Fixes an issue where partytown prints an error when a third party scripts requests a resource different from a script. Closes #245
- [x] I am interested in helping provide a fix! **Describe the bug** I've stumbled upon [this issue](https://github.com/BuilderIO/partytown/issues/51) because we had the same problem. Debugging it, we've discovered that the...
**Is your feature request related to a problem? Please describe.** I have cookiebot thirdparty script, but im getting these errors when running the application on npm run build && npm...
**Is your feature request related to a problem? Please describe.** I've found through extensive testing that including [Yottaa](https://www.yottaa.com/) on a page--whether it's run using Partytown or not--causes issues with at...
- [ ] I am interested in helping provide a fix! **Describe the bug** Using Google Tag Manager to load [Smartlook](https://www.smartlook.com/), and coming across this error in the smartlook script:...