Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 831
CasperT Avatar asked Nov 18 '10 10:11

CasperT


People also ask

Why are my extensions not syncing in Chrome?

Check Sync Settings To check that, click on Menu and select Settings. Right under your profile pic, click on Sync. This is where you can manage sync settings for individual items like bookmarks, extensions, search history and so on. You can click on the Sync everything option to manage these settings individually.

Why are my extensions not syncing?

Check Sync Settings Google allows users to decide if they wish to sync extensions and other settings on a particular computer or not. Click on Menu and select Settings. Under Profile, click on Sync. You can manage sync settings for individual items or click on the Sync everything option.


1 Answers

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!

like image 178
Camilo Martin Avatar answered Sep 22 '22 12:09

Camilo Martin