Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I change background color of page before loading starts?

  • 1 reply
  • 2 have this problem
  • 1 view
  • Last reply by Taku

more options

I tried adding style to userChrome.css

@-moz-document url-prefix(about:blank) {

   * {
       background: black !important;
   }

}

and https://support.mozilla.org/en-US/questions/1106886 but both did not work. Dark mode extension works after loading a page but not before loading page in new tab.

I tried adding style to userChrome.css @-moz-document url-prefix(about:blank) { * { background: black !important; } } and https://support.mozilla.org/en-US/questions/1106886 but both did not work. Dark mode extension works after loading a page but not before loading page in new tab.

All Replies (1)

more options

I found a solution by chance. I'm using Linux so I changed GTK theme to Arc-Dark this changed pre-loading screen color. I think other themes with dark mode work too.

Modified by Taku