Skip to content
Advertisement

How to sync chrome extension options

I’ve made a Chrome extension with an options page. The data is saved in localstorage and works just fine.

Chrome doesn’t sync the localstorage to the cloud, just the extensions. This means that any user data will not sync to other computers of the same google account.

I can not find an API at http://developer.chrome.com/extensions/docs.html which allows me to sync the user-chosen preferences.

What methods do you suggest?

Advertisement

Answer

In the (hopefully near) future, you’ll be You are now able to store stuff in chrome.storage.sync, and it will be synced automagically.

Unless you need something right now, do consider putting all your configurations in an single object, sometime later you’ll be able to just sync it!

Edit: now this is available in stable Chrome!

Advertisement