Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

New Tab no longer open my Home Page

  • 3 respostas
  • 39 têm este problema
  • 6 visualizações
  • Última resposta de cor-el

more options

Hello,

I set up Firefox to open on my Homepage when opening a New Tab by setting "browser.newtab.url" to "https://www.google.co.uk/". This used to work and recently it's stopped working. I'm using Lubuntu

Does anybody have any idea as to why this would have stopped working? Many Thanks, nictu.

Hello, I set up Firefox to open on my Homepage when opening a New Tab by setting "browser.newtab.url" to "https://www.google.co.uk/". This used to work and recently it's stopped working. I'm using Lubuntu Does anybody have any idea as to why this would have stopped working? Many Thanks, nictu.

Solução escolhida

The browser.newtab.url pref is no longer supported in Firefox 41 and later, so you can no longer use this to set the new tab page.

You can look at this extension to set the new tab page:

You can set the new tab URL setting via the Options/Preferences of the extension on the about:addons page.

Look at this extension to use the home page:

Classic Theme Restorer includes this feature as well. In CTR version 1.3.9 you can find the "New tab page url" in the Tabs (1) window.

You can use these special pages for the new tab page or use the URL of a web page. the default new tab page with the tiles is about:newtab

  • the default home page is about:home
  • for a blank page you can use about:blank
  • for Super Start you can use about:superstart
Ler esta resposta 👍 9

Todas as respostas (3)

more options

Solução escolhida

The browser.newtab.url pref is no longer supported in Firefox 41 and later, so you can no longer use this to set the new tab page.

You can look at this extension to set the new tab page:

You can set the new tab URL setting via the Options/Preferences of the extension on the about:addons page.

Look at this extension to use the home page:

Classic Theme Restorer includes this feature as well. In CTR version 1.3.9 you can find the "New tab page url" in the Tabs (1) window.

You can use these special pages for the new tab page or use the URL of a web page. the default new tab page with the tiles is about:newtab

  • the default home page is about:home
  • for a blank page you can use about:blank
  • for Super Start you can use about:superstart
more options

Isn't it about time to include this as an option within Firefox? How long do you plan to answer this question by telling people to go to about:config (which is no longer supported), or download an addon extension when this most basic of settings is even included in Internet Explorer!

more options

Storing this setting as a pref that can be accessed via about:config has been removed because it is too easy for malware to abuse this.

You can still do this without using an extension, but it is more complicated as it involves running privileged JavaScript code.

You can run such JavaScript code via a mozilla.cfg file or during a session in the Browser Console.

You can open the Browser Console (3-bar Menu button or Tools > Web Developer). Toggle devtools.chrome.enabled to true on the about:config page to enable the command line in the Browser Console.

Paste the JavaScript code in the command line. Press the Enter key to evaluate the JavaScript code. You can use this command to check the current new tab setting:

  • NewTabURL.get();

You can use this command to set the new tab URL:

  • NewTabURL.override("about:blank");

A mozilla.cfg file in the Firefox program folder can be used to set and lock preference 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:

Possible content of mozilla.cfg:

//
var newTabURL = "about:blank";
Cu.import("resource:///modules/NewTabURL.jsm");
NewTabURL.override(newTabURL);