We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Change default color of Firefox when opening links in a new tab

  • 5 réponses
  • 7 ont ce problème
  • 1 vue
  • Dernière réponse par alirezanoori

more options

I'm using Stylish addon for Firefox with a default dark css. I also have changed the default Window colors in Windows registry. This has changed the about:blank page's color to a dark one. But when I open a link on a new tab, before the page loads, Firefox is showing a blank page with white background. I wonder how can I change this white color to a different one.

I'm using Stylish addon for Firefox with a default dark css. I also have changed the default Window colors in Windows registry. This has changed the about:blank page's color to a dark one. But when I open a link on a new tab, before the page loads, Firefox is showing a blank page with white background. I wonder how can I change this white color to a different one.

Solution choisie

See also the discussion in this old MozillaZine forum thread.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (5)

more options

Try to style the about:newtab page with this selector.


@-moz-document url(about:newtab){
#newtab-scrollbox { background-image: none !important; background-color: #ffc !important; }
}

Modifié le par cor-el

more options

Sorry to say, but it didn't help. My new tab page already has a dark background. What I what is to change the "White" color when I "Ctrl+Click" on a link or select to open it in new tab and immediately switch to it before it loads. When I add a new tab, it has a dark background.

more options

One way you can do that if you are using a third party theme is to add this line into the browser.css file in the browser subdirectory in the .jar file.

browser {background: blue;}

Change the colour to whatever you like, then put the revised browser.css file back into the archive and reinstall the theme.

more options

Solution choisie

See also the discussion in this old MozillaZine forum thread.

more options

I created a folder named "Chrome" in this location: C:\Users\[user]\AppData\Roaming\Mozilla\Firefox\Profiles\[profile]\

and created an empty userChrome.css file with this line:

browser { background-color: #373739 !important; }

It worked fine. Thanks for the replies.

Modifié le par alirezanoori