为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Homepage/Address-bar search will not save

  • 5 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 rundmb

more options

Hi Folks!

I've been trying to change both my homepage and my address-bar search to SmartPage, but whenever I restart Firefox, the settings won't save and I'm back to my old homepage. I've tried multiple strategies:

1) I first tried setting the homepage under "Options" , but the homepage wouldn't save.

2) I then tried changing under "about:config" and changing both the "browser.startup.homepage" and "keyword.url" lines. The changes worked for that session, but restarting Firefox would revert the lines back to their old settings

3) I then tried directly editing the "browser.startup.homepage" & "keyword.url" lines from the prefs.js file and saving. Once Firefox closed, however, the prefs.js file would revert back.

4) I then tried to edit the prefs.js file with the new settings, save it to my desktop, and after Firefox closed, replace the prefs.js file in the Mozilla folder with the one on the desktop. The weird thing was that when I copy & pasted the desktop prefs.js file into the Mozilla folder and then opened it, the file had been re-written to the old settings, even though the file on the desktop still had the new settings.

Does anyone know how to fix this?

Hi Folks! I've been trying to change both my homepage and my address-bar search to SmartPage, but whenever I restart Firefox, the settings won't save and I'm back to my old homepage. I've tried multiple strategies: 1) I first tried setting the homepage under "Options" , but the homepage wouldn't save. 2) I then tried changing under "about:config" and changing both the "browser.startup.homepage" and "keyword.url" lines. The changes worked for that session, but restarting Firefox would revert the lines back to their old settings 3) I then tried directly editing the "browser.startup.homepage" & "keyword.url" lines from the prefs.js file and saving. Once Firefox closed, however, the prefs.js file would revert back. 4) I then tried to edit the prefs.js file with the new settings, save it to my desktop, and after Firefox closed, replace the prefs.js file in the Mozilla folder with the one on the desktop. The weird thing was that when I copy & pasted the desktop prefs.js file into the Mozilla folder and then opened it, the file had been re-written to the old settings, even though the file on the desktop still had the new settings. Does anyone know how to fix this?

被采纳的解决方案

Further to cor-el's last post, check the settings for the "Advanced SystemCare Surfing Protection" extension. You can open the Add-ons page using either:

  • Ctrl+Shift+a
  • orange Firefox button (or Tools menu) > Add-ons

In the left column, click Extensions. Look for an Options button to configure what it does, or Disable it.

定位到答案原位置 👍 0

所有回复 (5)

more options

Note that your System Details List shows that you have a user.js file in the profile folder to initialize some prefs on each start of Firefox.

The user.js file is only present if you or other software has created it, so normally it wouldn't be there. you can check its content with a plain text editor if you didn't create this file yourself.

The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can rename or delete the prefs.js file and possible numbered prefs-##.js and user.js files to reset all prefs to the default value.

more options

I deleted user.js file & prefs.js file and set the new homepage, which retained so long as my computer was still on. However when I'd shutdown and restart, Firefox would load the old homepage again (user.js was still deleted, but another prefs.js had repopulated).

I remembered that the old homepage was a setting I had imported from Chrome. Could that be an influence?

more options

What changes were made in the "new" prefs.js file and what is its date/time stamp (i.e. is is a new file or an older backup)?

Sounds that you do have software that protects this file against changes.

more options

选择的解决方案

Further to cor-el's last post, check the settings for the "Advanced SystemCare Surfing Protection" extension. You can open the Add-ons page using either:

  • Ctrl+Shift+a
  • orange Firefox button (or Tools menu) > Add-ons

In the left column, click Extensions. Look for an Options button to configure what it does, or Disable it.

more options

jscher2000, you called it! Turns out it was Advanced SystemCare that was blocking the changes. When I updated it and attempted to change the homepage again, a pop-up came up asking to allow the change. I allowed it and have been good ever since. Thanks for both your help!