Giter Site home page Giter Site logo

Comments (4)

SanderRonde avatar SanderRonde commented on May 28, 2024

This is by design. Script storage only exists for that script. It's another security measure that might indeed be a bit annoying if you're not actually downloading external scripts.

I'm not actually sure how to pass data between different scripts right now. I'll take a look at it tomorrow since I can't imagine I didn't build anything that could do this.

Also if there's anything specific you're building I might be able to help with that use case. If you're just toying around and experimenting that's fine as well.

from customrightclickmenu.

SanderRonde avatar SanderRonde commented on May 28, 2024

Turns out I really didn't implement anything for this. A workaround might be to use the comm API to communicate between scripts. If a script is only running for a short while, you could create background pages for them and communicate between those.

from customrightclickmenu.

erikdemarco avatar erikdemarco commented on May 28, 2024

Hi thank you for the update. I worked with this issue by implementing my own storage system via my website api using ajax. so it can work cross browser as well.

Btw, I have another problem. When using jquery library inside script. Why I cant use jquery function? how to make sure jquery library loaded?

from customrightclickmenu.

SanderRonde avatar SanderRonde commented on May 28, 2024

That probably has to do with how you're loading the library. The best way is to go to the "libraries" tab of a script and to input the jQuery URL. It should then be accessible at window.$, window.jQuery or $ as you expect.

from customrightclickmenu.

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.