Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

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

  • 4 Antworten
  • 2 haben dieses Problem
  • 1 Aufruf
  • Letzte Antwort von 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.

Alle Antworten (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

Geändert am von 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:

Geändert am von cor-el

more options

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