Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 1 freagra
  • 2 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó 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.

Athraithe ag Taku ar