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!

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

How do I change the default backround color from white to black? AKA Stop the white flash.

more options

Whenever I open any webpage, the window turns solid white for a second before the page loads.

I am not talking about "new tab" I already have that set to use a dark theme. This is when you click on a favorite or a link on a page.

I can open a new tab with it's dark theme with no white flash but then I click on a saved favorite, and I get the white flash before any of the website loads.

PS I am using the userContent.css and userChrome.css from https://github.com/aris-t2/customcssforfx but have not found a setting for this.

Whenever I open any webpage, the window turns solid white for a second before the page loads. I am not talking about "new tab" I already have that set to use a dark theme. This is when you click on a favorite or a link on a page. I can open a new tab with it's dark theme with no white flash but then I click on a saved favorite, and I get the white flash before any of the website loads. PS I am using the userContent.css and userChrome.css from https://github.com/aris-t2/customcssforfx but have not found a setting for this.

Bewerkt door MadeUpName30 op

Alle antwoorden (3)

more options

Hi, I do not think you can stop that as the page needs to start loading before any settings can take effect. You may want to see Greasemonkey Extension :

sort off a companion to the above :

Google :

youtube :

and this one, does sites : https://addons.mozilla.org/en-US/firefox/addon/stylish/ there is more out there under themes

Please let us know if this solved your issue or if need further assistance.

Bewerkt door Shadow110 op

more options

None of those addons, all of which I am familiar with, can help. All of those apply CSS to specific websites.

I'm talking about the default color the browser uses for a backround "before" any part of a webpage is loaded.

Type anything, something, into the search/adress bar and hit enter.

The browser window will flash white for a second before doing anything else.

Bewerkt door MadeUpName30 op

more options

Since ancient days, I've had this in either a Stylish userstyle (pre-Quantum) or userChrome.css:

@-moz-document url(chrome://browser/content/browser.xul) {
  browser[type="content-primary"], 
  browser[type="content"] {
    background: #778899 !important;
  }
}

I do see that dark slate color from time to time, so I think it still works.

Or check the CSS for this theme which is still under active development: https://github.com/overdodactyl/ShadowFox