- How to change the background on Firefox to a dark one on new tab / loading screen ?
- Type
about:config
in the URL bar - Search
toolkit.legacyUserProfileCustomizations.stylesheets
and double-click the field to set it totrue
- Type
about:support
in the URL bar - Look for
Profile folder
field and click on the open button next to it. - Create a folder with the name
chrome
- Inside this folder, create a file
userChrome.css
and paste the following code inside it :
tabbrowser tabpanels { background-color: rgb(19,19,20) !important; }
browser { background-color: #131314 !important; }
- Then create another file
userContent.css
and paste the followind code in it :
@-moz-document url-prefix(about:blank) {
html > body:empty {
background-color: rgb(19,19,20) !important;
}
}
@-moz-document url(about:blank) {
html > body:empty {
background-color: rgb(19,19,20) !important;
}
}
-
Completely quit and restart firefox
-
Enjoy
your code is not working anymore.
I use this and it's work for me but homepage also change color from black to blue. i dont know code to fix. can you fix to homepage to normaly .
thanks.
userChrome.css
u/-moz-document url(chrome://browser/content/browser.xhtml){ #main-window, browser[type="content-primary"], browser[type="content"], tabbrowser#content, #content, browser[type="content"] > html { background: #323234 !important; }}
userContent.css
u/charset "utf-8";/* CSS Document */@-moz-document url("about:newtab") {body { background-color: #011326 !important;}}@-moz-document url(chrome://browser/content/browser.xhtml) {browser[type="content-primary"] {background: #011326 !important}}