搜尋 Mozilla 技術支援網站

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

了解更多

How do I make "New Tab" use my home page?

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

more options

I tried everything I could think of, but "New Tab" won't open my home page. I tried the %7C and it wiped out my entry of my home page. I took me a long time to find the "options" on the "New Tab" page, they belong in regular options not on a separate page. Is there a way that I can load my own home page, and only my own home page when I start, the n load another of my own home page when I select "New Tab" like it was in the older browsers?

I tried everything I could think of, but "New Tab" won't open my home page. I tried the %7C and it wiped out my entry of my home page. I took me a long time to find the "options" on the "New Tab" page, they belong in regular options not on a separate page. Is there a way that I can load my own home page, and only my own home page when I start, the n load another of my own home page when I select "New Tab" like it was in the older browsers?

被選擇的解決方法

If you want the same page for your home page and new tab page, this extension is the simplest way to do that:

https://addons.mozilla.org/firefox/addon/new-tab-homepage/

I'm not sure what you mean by this:

I tried the %7C and it wiped out my entry of my home page.
從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

With Firefox 41 (and higher), it's no longer possible to customize the page shown in a new tab via changing the preference browser.newtab.url in about.config. Because of the fact that hijackers abused the preference in the past, Mozilla decided to remove it (see bug 1118285). Fortunately, by removing it, Mozilla also introduced a new API to bring this functionality back to life as an add-on. This add-on allows the user to choose a certain page in a new tab.

New Tab Override (browser.newtab.url replacement) https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/

This is also available using Classic Theme Restorer (Customize Australis) {web link} Restore squared tabs, appmenu, add-ons bar, small button view and more on Australis UI (Windows/MacOSX/Linux + Fx 29+).

more options

選擇的解決方法

If you want the same page for your home page and new tab page, this extension is the simplest way to do that:

https://addons.mozilla.org/firefox/addon/new-tab-homepage/

I'm not sure what you mean by this:

I tried the %7C and it wiped out my entry of my home page.
more options

Thank both of you for your help. Of the two entries from FredMcD the first one loaded, but I couldn't figure out how to make it work. Maybe It was my setup, I didn't see any change. The second, the URL wasn't found. Thanks, maybe if I played with it some more I could have gotten the first one working.

The second reply from jscher2000 loaded and worked right out of the box except that I got two pages on startup. So I got rid of the second URL in setup and it worked perfect. Thanks!!!

Problem solved.

more options

Firefox needs an extension to do this simple thing that should be built in? Please fix this!

BTW, this was asked previously and answered, but that answer seems to no longer apply: https://support.mozilla.org/en-US/questions/1036802

Can that somehow be marked as no longer relevant?

more options

See also:

You can achieve this via code in the mozilla.cfg file in the Firefox program folder. You can modify the newTabURL = "about:blank"; line to set a different new tab page.

// mozilla.cfg needs to start with a comment line
newTabURL = "about:blank";
Components.utils.import("resource:///modules/NewTabURL.jsm");
NewTabURL.override(newTabURL);

A mozilla.cfg file in the Firefox program folder can be used to specify and lock pref values and run privileged JavaScript code.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

See Configuration: