Last active
November 30, 2021 08:49
-
-
Save shdbwa/94709261acb3b2cd005e502e584b36ef to your computer and use it in GitHub Desktop.
Firefox White Page Loading -> Dark page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Go to about:config, set toolkit.legacyUserProfileCustomizations.stylesheets to true. | |
Create a userChrome.css file according to these instructions: https://www.userchrome.org/how-create-userchrome-css.html | |
Paste the following into userChrome.css | |
*/ | |
/*No white flash on new tab opening in dark theme */ | |
#browser vbox#appcontent tabbrowser, #content, #tabbrowser-tabpanels, browser[type=content-primary], browser[type=content] > html { background: #222 !important; } | |
/* | |
You may also need to create userContent.css and paste this into it: | |
*/ | |
/* dark blank tab */ | |
u/-moz-document url(about:blank), url(about:newtab) { | |
#newtab-window, html:not(#ublock0-epicker) { | |
background: #222 !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment