Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

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: