better-onetab icon indicating copy to clipboard operation
better-onetab copied to clipboard

Sync to browser account

Open WqyJh opened this issue 4 years ago • 3 comments

Chrome/Firefox provide storage.sync to sync extension data among multiple devices, which I think is a good choice for user.

According to chrome storage reference, the storage.sync behaves identically to storage.local in offline mode and would syncs the data when browser is online. Therefore, if all of the storage.local could be replaced by storage.sync, the data would automatically synced by browser as long as user logged in.

Even if the user won't log in, all of the data set by storage.sync would be stored locally, same with storage.local.

When using storage.sync, the stored data will automatically be synced to any Chrome browser that the user is logged into, provided the user has sync enabled.

When Chrome is offline, Chrome stores the data locally. The next time the browser is online, Chrome syncs the data. Even if a user disables syncing, storage.sync will still work. In this case, it will behave identically to storage.local.

https://developer.chrome.com/docs/extensions/reference/storage/#usage

WqyJh avatar Feb 21 '21 14:02 WqyJh

Will SYNC ever work?? It has never worked for me. It just takes me to a dead site that times out. https://boss.cnwangjie.com/login

PwrSrg avatar Mar 17 '21 16:03 PwrSrg

No, it doesn't work at all. Seems this project is no longer under maintained.

WqyJh avatar Mar 18 '21 08:03 WqyJh

I fear you're right @WqyJh

caiodev avatar Mar 19 '21 02:03 caiodev