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!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Restore prefs.js without sync

  • 3 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par Brad

more options

While trying to troubleshoot a site login problem (ticketmaster.com), I made a backup of my prefs.js, and reset a few hundred preferences in about:config. After finding the pref that caused the problem (tracking), I shut down FF, copied the backup prefs.js in place and restarted. After FF synced, though, my prefs were reset to the previous session with all the reset values.

How do I restore a prefs.js and either *not* fetch the values stored in my online profile, or update my online profile with the values from the file? Is there a timestamp I can update, or some other value to set?

Thanks.

While trying to troubleshoot a site login problem (ticketmaster.com), I made a backup of my prefs.js, and reset a few hundred preferences in about:config. After finding the pref that caused the problem (tracking), I shut down FF, copied the backup prefs.js in place and restarted. After FF synced, though, my prefs were reset to the previous session with all the reset values. How do I restore a prefs.js and either *not* fetch the values stored in my online profile, or update my online profile with the values from the file? Is there a timestamp I can update, or some other value to set? Thanks.

Solution choisie

I ended up just diff'ing the backup prefs.js with the synced one in Vim and manually adjusting the config values. Seems to have worked well enough.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (3)

more options

Change your Sync not to handle prefs. (That's a thing, i hope.) Or possibly delete them manually in the Sync account. Copy your prefs.js back. Set Sync to handle prefs again.

Or, can you completely wipe the server side, then let Sync push to the server?

Or... doesn't Sync have "sync out" and "sync in" (whatever they may actually be called) buttons? Or just a plain manual sync with no options?

Sorry, i won't touch that stuff so i have no clue, but maybe it will spark an idea for you.

more options

Prefs that have a corresponding services.sync.prefs.sync.<pref-name> pref that is set to true will be synced to other devices If you do not want to sync a pref that is currently included then set corresponding Boolean services.sync.prefs.sync pref to false.

more options

Solution choisie

I ended up just diff'ing the backup prefs.js with the synced one in Vim and manually adjusting the config values. Seems to have worked well enough.