為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

When openning firefox from the task bar it opens to the last page viewed how can I change that

  • 3 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

Whenever I open Firefox from the taskbar or the desktop icon it opens to the last session pages. Is there a way to change that back to the homepage.

Whenever I open Firefox from the taskbar or the desktop icon it opens to the last session pages. Is there a way to change that back to the homepage.

被選擇的解決方法

hello svicinanza, that is probably caused by the user.js file in your profile (it shouldn't be present anyway in case you haven't created it manually, since it can be used to overwrite your custom preferences). in order to resolve that, go to the firefox menu ≡ > help ? > troubleshooting information, click on profile folder/show folder and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named user.js and restart the browser. How to fix preferences that won't save

afterwards try to set the options for your homepage in the firefox menu again: How to set the home page

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

所有回覆 (3)

more options

選擇的解決方法

hello svicinanza, that is probably caused by the user.js file in your profile (it shouldn't be present anyway in case you haven't created it manually, since it can be used to overwrite your custom preferences). in order to resolve that, go to the firefox menu ≡ > help ? > troubleshooting information, click on profile folder/show folder and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named user.js and restart the browser. How to fix preferences that won't save

afterwards try to set the options for your homepage in the firefox menu again: How to set the home page

more options

Thanks Phillip,

It works fine now.

I appreciate the help.

The User file is now gone and my home page opens fine. Is there any malware associated with that file?

Stephen

more options

Anybody including you can create a user.js file as such a file makes it possible to initialize some prefs on each start of Firefox to a predefined value.

It is only a problem if some malware or other software misuses this file.

The browser.sessionstore.resume_session_once pref is meant in case you need to restart Firefox after an update or when installing an extension. In such a case you would want to reopen the tabs on the restart. If you set this pref via a user.js file then this will happen all the time and that is likely not what you want.