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

搜索 | 用户支持

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

详细了解

Can't set local new tab page

  • 3 个回答
  • 0 人有此问题
  • 最后回复者为 eddiejoe67

more options

In the year 2024, firefox still does not allow a simple way to set any URL you would like as the new tab url (without an extension).

Users were previously able to use extensions like NewTab override to have a relatively seamless experience changing their new tab page. However after certain changes, these said extensions can no longer set your new tab page to a local file, and can also no longer clear and focus the address bar.

I am simply requesting a feature within firefox to set a custom new tab page, without having to create any external configs, or without using any extensions. This basic feature has been available in chromium browsers for years, and firefox already includes a feature just like this for the "Homepage and new windows" setting, where it allows you to input a custom URL to a local file or site to put it as your homepage. However, this same setting for some odd reason does not exist for the "new tabs" option. Why is this?

As of now, I've had to use a manual override along the lines of this:

``` // shenanigans for setting a different new tab page const { classes: Cc, interfaces: Ci, utils: Cu } = Components; const { AboutNewTab } = Cu.import("resource:///modules/AboutNewTab.jsm", {}); // path to new tab can be a url or file const newTabURL = "file:///home/faaris/.local/packages/startpage/fazzi/index.html"; // set the new tab URL AboutNewTab.newTabURL = newTabURL; ```

this should not be needed. Having to modify files in system protected folders should not be needed for such a simple option.

In the year 2024, firefox still does not allow a simple way to set any URL you would like as the new tab url (without an extension). Users were previously able to use extensions like NewTab override to have a relatively seamless experience changing their new tab page. However after certain changes, these said extensions can no longer set your new tab page to a local file, and can also no longer clear and focus the address bar. I am simply requesting a feature within firefox to set a custom new tab page, without having to create any external configs, or without using any extensions. This basic feature has been available in chromium browsers for years, and firefox already includes a feature just like this for the "Homepage and new windows" setting, where it allows you to input a custom URL to a local file or site to put it as your homepage. However, this same setting for some odd reason does not exist for the "new tabs" option. Why is this? As of now, I've had to use a manual override along the lines of this: ``` // shenanigans for setting a different new tab page const { classes: Cc, interfaces: Ci, utils: Cu } = Components; const { AboutNewTab } = Cu.import("resource:///modules/AboutNewTab.jsm", {}); // path to new tab can be a url or file const newTabURL = "file:///home/faaris/.local/packages/startpage/fazzi/index.html"; // set the new tab URL AboutNewTab.newTabURL = newTabURL; ``` this should not be needed. Having to modify files in system protected folders should not be needed for such a simple option.

所有回复 (3)

more options

Bumping this. This can't be a limitation of the browser if you can do an override and change it. The option is also readily available for "Homepage and new windows", why not for new tab pages? If this can't be added to the browser, at least grant back the ability for extensions to set the new tab page as a local file, and also give them the ability to clear the URL bar.

有帮助吗?

more options

When you set Addons all new tabs will show that as well. If you don't them showing the it needs a separate computer profile with it's own Firefox browser with no Addon installed to be clean of Addons. All browser do this they are any different. Also Firefox browser has a option to set New Tab to open to different page other then the first tab that has a homepage default or user created homepage to start.

有帮助吗?

more options

I'm able to use a custom URL for new tabs on our Windows 10 machine. But since I got my Windows 11 laptop, can't do it. I'm surprised all the volunteer assistants here are ignoring this thread.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题