搜索 | 用户支持

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

详细了解

How to set the New Tab page to a local file? (autoconfig no longer works in v136.0)

  • 1 个回答
  • 1 人有此问题
  • 9 次查看
  • 最后回复者为 Quazer

more options

Since the settings haven't given that option for years, the best way to have a local file as the new tab page was using autoconfig.cfg + autoconfig.js, as described in this thread: https://support.mozilla.org/en-US/questions/1251199 But since the most recent update (v136.0), this stopped working.

The New Tab Override add-on has its own issues with using local files (can only load a .html file, no local CSS/JS, can't give a blank address bar for me to search in), so it doesn't solve the issue either.

This is very important to me, and others have been asking for this feature back for years. It feels awful to have the working solution stop working, in the browser that's supposed to be open and customizable.

Since the settings haven't given that option for years, the best way to have a local file as the new tab page was using autoconfig.cfg + autoconfig.js, as described in this thread: https://support.mozilla.org/en-US/questions/1251199 But since the most recent update (v136.0), this stopped working. The New Tab Override add-on has its own issues with using local files (can only load a .html file, no local CSS/JS, can't give a blank address bar for me to search in), so it doesn't solve the issue either. This is very important to me, and others have been asking for this feature back for years. It feels awful to have the working solution stop working, in the browser that's supposed to be open and customizable.

所有回复 (1)

more options

Update: I found this https://support.mozilla.org/en-US/questions/1498059

replacing the whole autoconfig.cfg's content with this one line works:

ChromeUtils.importESModule("resource:///modules/AboutNewTab.sys.mjs").AboutNewTab.newTabURL = "file:///home/razv/StartPage/index.html";

有帮助吗?

我要提问

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