eoger / tabcenter-redux

Vertical Tabs extension for Firefox
Mozilla Public License 2.0
381 stars 67 forks source link

Sync settings using browser.storage.sync #310

Open thomcc opened 6 years ago

thomcc commented 6 years ago

Particularly the custom CSS is likely to be nontrivial to setup again.

That said, browser.storage.sync is a pain in the ass, since it's limited to 8k record+id payloads (up to a total of 100k total). For oversized CSS strings, I guess we could either bundle a compression library, or split them overly long strings (or even both)? (We could also decide we don't care)

I think we also need to handle some some sort of migration from browser.storage.local to browser.storage.sync to avoid losing existing settings after the change.

Keith94 commented 6 years ago

Syncing our custom CSS would be great to have!