Git Product home page Git Product logo

Comments (2)

Legym avatar Legym commented on August 18, 2024

After digging more into it, I have a theory.

The script i originally posted downloads a JS file from https://edge.fullstory.com/s/fs.js. Looking into the code, it reads values from the window. If i understand this correctly, the web worker does not have access to the main threads window which means when the script is being initialized the values ive defined are null.

If this is the case, is there a way to pass values from the window into the web worker? Using the forward prop allows me to define the key, but not the value

If i'm unable to, then the only way i can think of is to self host https://edge.fullstory.com/s/fs.js and do a find/replace on portions that reference my global variables

from partytown.

adamdbradley avatar adamdbradley commented on August 18, 2024

Github issues is a place to explain a problem in detail, along with a reproduction case for maintainers. However, Github issues is not the best place to ask how-to questions since project contributors and maintainers don’t have the capacity to debug external websites and the many third-party scripts.

I think this question is better asked in Discord. Closing for now and hopefully you'll be able to get help there. Additionally, if you're able to find an answer to your question, a PR updating our docs content would be appreciated. Thanks.

from partytown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.