- How to change the background on Firefox to a dark one on new tab / loading screen ?
- Type
about:configin the URL bar - Search
toolkit.legacyUserProfileCustomizations.stylesheetsand double-click the field to set it totrue - Type
about:supportin the URL bar - Look for
Profile folderfield and click on the open button next to it. - Create a folder with the name
chrome - Inside this folder, create a file
userChrome.cssand paste the following code inside it :
@media (prefers-color-scheme: dark) {
tabbrowser tabpanels {
background-color: rgb(43,42,51) !important;
}
browser {
background-color: #2b2a33 !important;
}
}- Then create another file
userContent.cssand paste the followind code in it :
@media (prefers-color-scheme: dark) {
@-moz-document url-prefix(about:blank) {
html > body:empty {
background-color: rgb(43,42,51) !important;
}
}
@-moz-document url(about:blank) {
html > body:empty {
background-color: rgb(43,42,51) !important;
}
}
}-
Completely quit and restart firefox
-
Enjoy