搜索 | 用户支持

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

详细了解

browser.newtab.url in firefox dev 41.0a2 gives me the normal about:newtab page

  • 4 个回答
  • 2 人有此问题
  • 11 次查看
  • 最后回复者为 ideato

more options

When i upgraded to firefox dev 41.0a2 today and opened a new tab it had brung me to the about:newtab page instead of about:home that i had set in the about:config.

When i upgraded to firefox dev 41.0a2 today and opened a new tab it had brung me to the about:newtab page instead of about:home that i had set in the about:config.

所有回复 (4)

more options

Hello, confirm that. Bug indeed. Also in my 41.0a2 any change (site changes) in browser.newtab.url bring me to the about:newtab page.

thank you

more options

To ...update, please see : The browser.newtab.url preference is abused and should be removed (Bug 1118285)

see also : Bug 1179101 - NewTabURL object doesn't work in mozilla.cfg configuration file

(please do not comment in bug reports)

thank you

由ideato于修改

more options

Note that you can re-add support for the browser.newtab.url pref via this code in the mozilla.cfg file.

You can consider to use a modified pref name like browser.newtab.URL in order not to defeat this change.

//
try{
 var newTabURL = getPref("browser.newtab.url");
 Components.utils.import("resource:///modules/NewTabURL.jsm");
 NewTabURL.override(newTabURL);
}
catch(e){}

Use this command in the Browser Console (Firefox/Tools > Web Developer) to set the new tab page from the browser.newtab.URL pref during Firefox runtime.

newTabURL = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService)
.QueryInterface(Ci.nsIPrefBranch2).getCharPref("browser.newtab.url");
NewTabURL.override(newTabURL);

An extension that you can use instead:

由cor-el于修改

more options

cor-el you are awesome, thanks :-):-)