Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

While synchronizing addon previously not installed on current PC firefox resets settings of this addon to defaults. How to prevent this?

  • 3 răspunsuri
  • 6 au această problemă
  • 1 vizualizare
  • Ultimul răspuns de cor-el

more options

One defenitive scenario for an example: 1. On the desktop I've got Flagfox with certain timeplaces being set (it holds for any addon with synced settings, by the way). 2. Syncronization of addons (and settings) is enabled in my Sync account. 3. When I add notebook as another device to my Sync Flagfox is installed with default options. 4. The most evil: this default options of addon *overrides settings on the Sync server*. 5. I receive default Flagfox settings back to my desktop from Sync server and lost my configured set of timeplaces.

One defenitive scenario for an example: 1. On the desktop I've got Flagfox with certain timeplaces being set (it holds for any addon with synced settings, by the way). 2. Syncronization of addons (and settings) is enabled in my Sync account. 3. When I add notebook as another device to my Sync Flagfox is installed with default options. 4. The most evil: this default options of addon *overrides settings on the Sync server*. 5. I receive default Flagfox settings back to my desktop from Sync server and lost my configured set of timeplaces.

Toate răspunsurile (3)

more options

Only preferences that have a corresponding services.sync.prefs.sync.* pref that is set to true are synced.
So you need to create such a Boolean services.sync.prefs.sync pref to sync specific prefs that are used by extensions.

more options

Thank you, cor-el, for answering.

The problem is **not** that my add-on's don't syncronize all their settings.

The problem is that **brand new add-on after installation due to sync posts its default settings to sync server**. By this action it **overwrites the settings of this add-on configured on previous station**. While the behaviour I want is: first try to get settings **from** sync server.

Is such a behaviour anyway achievable?

more options

I don't think so. If you install an extension then you get the default for all prefs that it creates unless probably those prefs are already there, possibly from a previous installation, but that isn't guaranteed as well as it depends on the startup code of the extension (e.g. using the same version or it is an update). I don't know how prefs are synced and maybe syncing prefs only work after a restart. Extensions that do not require a restart (No Restart) may even behave differently.