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”.

Learn More

Newtab background color changes new tabs but not startup page

  • 2 respostas
  • 1 tem este problema
  • 11 visualizações
  • Última resposta de L40P

more options

Hi, so I wanted my newtab page to be dark and customized it by editing the userContent.css with "@-moz-document url("about:newtab") {body { background-color: #121212 !important;}}"

It works fine when opening new tabs. The weird thing is that it doesn't change the background color of the "newtab" page that shows up when you start Firefox. I'm new to the whole userContent.css stuff so thanks for any help you can give!

Hi, so I wanted my newtab page to be dark and customized it by editing the userContent.css with "@-moz-document url("about:newtab") {body { background-color: #121212 !important;}}" It works fine when opening new tabs. The weird thing is that it doesn't change the background color of the "newtab" page that shows up when you start Firefox. I'm new to the whole userContent.css stuff so thanks for any help you can give!

Solução escolhida

There is a different internal "address" for that page. Try starting your rule this way:

@-moz-document url("about:newtab"), url("about:home") {

Ler esta resposta 👍 1

Todas as respostas (2)

more options

Solução escolhida

There is a different internal "address" for that page. Try starting your rule this way:

@-moz-document url("about:newtab"), url("about:home") {

more options

Thank you! I also found another solution which is described here: https://www.reddit.com/r/firefox/comments/7d1rwn/dark_new_tab/