搜尋 Mozilla 技術支援網站

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

了解更多

Start page loads instead of homepage

  • 7 回覆
  • 52 有這個問題
  • 1 次檢視
  • 最近回覆由 ghilbers

more options

I am using firefox ESR v17.0.8 on Windows 7 with the firefox.adm policy template to customize some of my browser settings. I have specified a homepage to load on startup but whenever I start firefox the default firefox start page loads instead.

If I click the home button the correct page loads and if I look under Tools/Options/General it is set to load my home page and the correct home page URL is specified.

I have tried starting without any addins loaded but it doesn't make a difference. Suggestions?

I am using firefox ESR v17.0.8 on Windows 7 with the firefox.adm policy template to customize some of my browser settings. I have specified a homepage to load on startup but whenever I start firefox the default firefox start page loads instead. If I click the home button the correct page loads and if I look under Tools/Options/General it is set to load my home page and the correct home page URL is specified. I have tried starting without any addins loaded but it doesn't make a difference. Suggestions?

由 cornishc 於 修改

所有回覆 (7)

more options

Try the following:

1) Go to about:config (type it in the adress bar).

2) Enter.

3) Search for browser.startup.homepage.

4) This variable controls what page is loaded when you start Firefox.

According to your post its value should be about:home. Change this value to the website you'd like to load on start.

To change what website it opens when you open a new tab, do the same but with browser.newtab.url.

more options

browser.startup.homepage was set for the homepage I wanted.

browser.newtab.url was set to about:blank which is what I wanted.

Changing newtab only loads my homepage when I open a new tab.

more options

Did you check the target line in the Properties of the Firefox desktop shortcut?

What is the startup setting?

  • Tools > Options > General > Startup: "When Firefox Starts":
  • "Show my windows and tabs from last time"
  • "Show my home page"
  • "Show a blank page"
more options

The properties of the desktop shortcut point to the firefox.exe.

The startup setting is set to "Show my home page" and my home Page is locked through policy and set to my homepage.

The policy does seem to work on Windows XP so it may be an issue with the policy template.

more options

See also:

These functions can be used in the mozilla.cfg file:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes

With that setting the home page should load on startup.

It is possible that session restore is reloading a specific page if extensions aren't the culprit.

You can check if you have an user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.

Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

If you have problems with preferences, see:

more options

Ok, I've made some changes to my policies and what seems to be happening is that it is reading the homepage setting from the local default user profile first.

But now if I close Firefox and open it again it loads the homepage set in group policy but the home button now takes me to the homepage that I have set in the local default user profile.

more options

My problem is similar. I have tried everything posted here and it works as long as I have firefox up. But when I shut it down and reopen it, it's the same thing.