搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 3 个回答
  • 6 人有此问题
  • 4 次查看
  • 最后回复者为 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.

所有回复 (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.