搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox Home Content preferences resetting themselves

more options

Hi,

I always disable 'Top Sites', 'Recommended by Pocket', 'Highlights' and 'Snippets' under 'Firefox Home Content' in about:preferences#home on all my devices - I like to have a clean homepage with just the web search bar waiting in the middle of the screen.

Within the last few days, those specific preferences have turned themselves back on. What's really frustrating is that when I turn them back off, they persist for a short while, but then turn themselves back on again, often all of them at once, but sometimes a subset!

I've gone as far as deleting my profile and starting afresh, but the problem reoccurs.

I'm at a loss with where to go from here or how to diagnose it further and would appreciate any advice!

Thanks, Phil

Hi, I always disable 'Top Sites', 'Recommended by Pocket', 'Highlights' and 'Snippets' under 'Firefox Home Content' in about:preferences#home on all my devices - I like to have a clean homepage with just the web search bar waiting in the middle of the screen. Within the last few days, those specific preferences have turned themselves back on. What's really frustrating is that when I turn them back off, they persist for a short while, but then turn themselves back on again, often all of them at once, but sometimes a subset! I've gone as far as deleting my profile and starting afresh, but the problem reoccurs. I'm at a loss with where to go from here or how to diagnose it further and would appreciate any advice! Thanks, Phil

被選擇的解決方法

There are quite a few browser.newtabpage.activity-stream included in syncing prefs to other devices that determine if a pref is included (pref is true) or isn't included (pref is false) as part of syncing prefs.

You can set the corresponding services.sync.prefs.sync.<prefname> to false to prevent the pref from getting synced.

  • services.sync.prefs.sync.browser.newtabpage.activity-stream

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

That is weird as this sounds like a problem with the preferences file (prefs.js) and on Linux I wouldn't expect such issues.

Are there numbered prefs-##.js files present in the profile folder ? Do you close Firefox via "File -> Quit" or a via the "3-bar" Firefox menu button drop-down list or do you the close X ? Using the latter can possibly cause issues.

more options

Hi cor-el,

Thanks for taking a look! In answer to your questions:

Just the one prefs.js file in my profile:

$ ls -lh prefs*.js -rw------- 1 philip philip 16K Jun 23 08:14 prefs.js

Generally I close it with the three bar menu.

The settings also reset mid-session, even without closing Firefox in-between!

Cheers, Phil

more options

I think I know what's causing the problem now as I can reliably reproduce it - Firefox Sync.

Disabling syncing of preferences stops the errant behaviour, testing over an extended time and re-enabling it brings it back the problem soon after.

The question, of course, is why?

It has reliably worked across my devices - desktop (linux), laptop (linux), phone (iOS) - for a long time and the only thing I can think of is my laptop is on 78.11.0esr and my desktop recently made it to 89.0.1, but I don't recall the behaviour exactly coinciding.

more options

選擇的解決方法

There are quite a few browser.newtabpage.activity-stream included in syncing prefs to other devices that determine if a pref is included (pref is true) or isn't included (pref is false) as part of syncing prefs.

You can set the corresponding services.sync.prefs.sync.<prefname> to false to prevent the pref from getting synced.

  • services.sync.prefs.sync.browser.newtabpage.activity-stream

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

more options

Thanks cor-el, that seems to do the trick!