cnwangjie / better-onetab

:bookmark_tabs: A better OneTab for Chrome :memo: Temporarily removed from firefox :construction: V2 is WIP
https://chrome.google.com/webstore/detail/better-onetab/eookhngofldnbnidjlbkeecljkfpmfpg
MIT License
1.68k stars 287 forks source link

Sync to browser account #355

Open WqyJh opened 3 years ago

WqyJh commented 3 years ago

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

PwrSrg commented 3 years ago

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

WqyJh commented 3 years ago

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

caiodev commented 3 years ago

I fear you're right @WqyJh