Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Sync with [google|opera] account #126

Closed
gorhill opened this issue Jul 31, 2014 · 10 comments
Closed

Sync with [google|opera] account #126

gorhill opened this issue Jul 31, 2014 · 10 comments

Comments

@gorhill
Copy link
Contributor

gorhill commented Jul 31, 2014

From Chrome store feedback:

Is possible to sync with google account? Because I formatted my computer and I forgot export my list.

@gorhill gorhill changed the title Sync with google account Sync with [google|opera] account Jul 31, 2014
@gorhill
Copy link
Contributor Author

gorhill commented Jul 31, 2014

Opera also supports "Opera Sync", through the same API.

@iandol
Copy link

iandol commented Aug 1, 2014

Just a mini note to say thank you for being so proactive and supportive to new features for such an excellent tool!

@fysics
Copy link

fysics commented Aug 2, 2014

I second iandol's comment.

@ghost
Copy link

ghost commented Aug 28, 2014

Thirded.

@septs
Copy link

septs commented Oct 10, 2014

When you want to support the installation of Chrome in other environments without reconfiguring µBlock

API: https://developer.chrome.com/extensions/storage

@gorhill
Copy link
Contributor Author

gorhill commented Oct 10, 2014

Of course I know about this API. But it's something I have to design very carefully and think through thoroughly. Nothing worst for a user than an older settings overwriting a newer one on all installations. Since uBlock can save some settings independently of some others, this means to carefully design time-stamped separate blocks of settings. In short, it's not a trivial issue, I don't want to rush it. Meanwhile, workaround is the backup/restore in the About tab.

@gorhill
Copy link
Contributor Author

gorhill commented Feb 9, 2015

First implementation will be very safe: the user will have to explicitly import data sitting on sync server, by clicking on the related button in the Settings tab. Information about whether the remote version is more recent will be provided.

@davidcie
Copy link

@gorhill that sounds promising and 95% of the way to ultimate uBlock bliss!

Thank you for looking into this. While for many it may seem an odd request I personally move from computer to computer quite often and help friends (re)install stuff on their computers, so this feature will definitely help ensure a smoother experience.

@denilsonsa
Copy link

Just an idea… Could you just store the options (i.e. which checkboxes are checked, which hosts are white-listed) directly into storage.sync?

All the synchronization problems (such as deciding which version is newer) should be handled by the browser itself, and that's why such API is provided.

However, larger stuff (such as the lists contents, or if the white-list or personal list grows bigger), doesn't fit in there (currently a limit of 8KB per item, 100KB total), requiring some workarounds.

@septs
Copy link

septs commented Nov 7, 2016

@denilsonsa use gzip compression may be able to get more space.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants