GithubHelp home page GithubHelp logo

Comments (6)

webextensions avatar webextensions commented on June 10, 2024

@Scordavis
Can you provide specific details about how to reproduce this issue? That would help in identifying/fixing it.

from live-css-editor.

Scordavis avatar Scordavis commented on June 10, 2024

@webextensions
Sure. You must instal a Google Chrome extension "Mate translate". When i change styles for their modal window, css saved only for exactly THIS modal window. In other tabs of browser styles not changes. Thanks.

from live-css-editor.

webextensions avatar webextensions commented on June 10, 2024

@Scordavis
Is my following assumption correct?

I believe what you are expecting is that you go to http://example-one.com and run the "Mate translate" extension and add some styles for it via this extension.

After that, you go to http://example-two.com and run the "Mate translate" extension there as well. Now, you are expecting those styles to be applicable on this site as well.

But, since your styles are currently saved per origin (via localStorage), and these two sites belong to different origins, so the styles typed in the extension are not shared.

If the above mentioned assumption is correct, then that scenario is not covered by this extension.

from live-css-editor.

Scordavis avatar Scordavis commented on June 10, 2024

Yes, you right. I expect exactly that result. I really dont know that new styles stored each for unique webpage.
Is it possible to "hack" this issue?

from live-css-editor.

webextensions avatar webextensions commented on June 10, 2024

@Scordavis
In the current architecture, it is not possible to do that. I'm preparing a change for #29 (add an option to use chrome storage, while currently only localStorage is being used to save those CSS code) which opens up the pathway to implement such a feature.

But, considering the fact that, such a feature would add more complexity (even for the user), I'll mark this issue resolved as Won't Do.

Apart from that, the expected scenario is already available via another extension called Stylish (https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe), so I recommend using that.

from live-css-editor.

Scordavis avatar Scordavis commented on June 10, 2024

Great! Thanks for this ;)

from live-css-editor.

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.