We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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 ŋuɖoɖo
  • 2 masɔmasɔ sia le wosi
  • 16 views
  • Nuɖoɖo mlɔetɔ 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.

Taku trɔe