Coder Social home page Coder Social logo

Google Sync support about myextensions HOT 11 OPEN

devnull69 avatar devnull69 commented on August 18, 2024
Google Sync support

from myextensions.

Comments (11)

phaistonian avatar phaistonian commented on August 18, 2024

Hey Thomas.

I was planning to implement some sort of syncing using BSync (used in Chrome Notepad extension), but unfortunately spare time is not something easy to find any more.

That said, It'd be great if you could provide Google Sync functionality and I will be more than happy to merge it.

from myextensions.

devnull69 avatar devnull69 commented on August 18, 2024

Would you prefer to let the user choose between localStorage and Google sync or should Google sync be the preferred way with localStorage as a fallback?

from myextensions.

phaistonian avatar phaistonian commented on August 18, 2024

Both will do do.

In fact, utilising both methods (transparently) would probably be the way to go.

Again, it's up to you :-)

from myextensions.

kzahel avatar kzahel commented on August 18, 2024

Again I lost my list of apps :-(. I might create a pull request having the extension use chrome.storage.sync instead of localStorage, which seems to get destroyed pretty frequently

from myextensions.

phaistonian avatar phaistonian commented on August 18, 2024

@kzahel: Wow, I had no idea such an API was implemented (I haven been away from extensions for quite some time).

Yes, that 'd be ideal.

Please create this pull request, I am sure more people will be benefited from such a change.

from myextensions.

kzahel avatar kzahel commented on August 18, 2024

kzahel@f687e00
I tried real quick to see if doing the braindead thing would work, but it's not working very well because of what appears to be race conditions when saving to the "data" key asynchronously. So it's going to take a little refactoring ... :-(

from myextensions.

kzahel avatar kzahel commented on August 18, 2024

kzahel@8776300

Did a little more work, it's going to take a lot of testing before I feel it's stable at all though. I'm not sure if it's broken other things yet.

I think it would make sense to only store the list of extensions in the chrome.storage.sync and the other data (ratings, etc) in the chrome.storage.local

from myextensions.

phaistonian avatar phaistonian commented on August 18, 2024

True, that would make perfect sense.

Thank you for your efforts.

from myextensions.

phaistonian avatar phaistonian commented on August 18, 2024

Hey @kzahel.

Any progress with this long-standing issue?

from myextensions.

 avatar commented on August 18, 2024

Wow, I had no idea such an API was implemented (I haven been away from extensions for quite some time).

Yes, that 'd be ideal.

Please create this pull request, I am sure more people will be benefited from such a change.

from myextensions.

 avatar commented on August 18, 2024

#29

from myextensions.

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.