为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.

由MadeUpName30于修改

所有回复 (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.

由Shadow110于修改

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.

由MadeUpName30于修改

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