為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

fix background color

  • 5 回覆
  • 3 有這個問題
  • 5 次檢視
  • 最近回覆由 Tommyboy

more options

Using Options>Colors>I changed the background to "Black" and left the font "White", which was the default. I wanted ONLY the BLANK homepage black. I have a dark theme made by MaDonna. Immediately something altered, FF blinked (so to speak) and next ALL pages are a black background, including ALL webpages. Using FF instructions, I got back to a white blank homepage, but all the webpages have remained black. I've tried every combination (shown on your instruction page) to get back to a "white" background on the webpages. The "Always," "Never," only on ?? themes, clearing cache, returning to defaults, & I can still change the BLANK HOMEPAGE to either black or white, but nothing changes the webpages back to their normal views - white backgrounds. The only thing I haven't done is remove all cookies, because I truly do not want to do that.

Using Options>Colors>I changed the background to "Black" and left the font "White", which was the default. I wanted ONLY the BLANK homepage black. I have a dark theme made by MaDonna. Immediately something altered, FF blinked (so to speak) and next ALL pages are a black background, including ALL webpages. Using FF instructions, I got back to a white blank homepage, but all the webpages have remained black. I've tried every combination (shown on your instruction page) to get back to a "white" background on the webpages. The "Always," "Never," only on ?? themes, clearing cache, returning to defaults, & I can still change the BLANK HOMEPAGE to either black or white, but nothing changes the webpages back to their normal views - white backgrounds. The only thing I haven't done is remove all cookies, because I truly do not want to do that.

被選擇的解決方法

Most people here aren't "from" FF.

Note about the color of "about:blank": This can have some effects in web pages, especially text entry fields or anywhere page designers like to leave the page "blank". If the text is white-on-black, it probably isn't an issue. There are some extensions which will alter the newtabpage color (and more) without such issues.

Edit: Ah, this was one that worked well: https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

No one would respond, so I finally deleted my FF browser and reinstall it.

Pro: My concern over the loss of toolbar sites & bookmarks was wasted energy. When FF reinstalled, all of it came back. That's a first!

Con: That I had to do this. IMO there is a problem in the "Colors" section. I'd still prefer a black blank homepage to save on eye strain, but not having all the webpages with black backgrounds. What a mess!

Con: That no one from FF could respond with a solution.

more options

Hi! I added this question to my watch list because I was looking for some more information for you.

The Colors options in the Firefox settings are global settings, meaning that they will apply to every website. If you are looking to only adjust the background colour for the about:blank page, you will likely have more luck adding a userContent.css file to Firefox.

The userContent.css file allows you to customize the content that Firefox displays to you, so it can be used to customize the about:blank background colour.

You will need to use the following code:

@-moz-document url-prefix(about:blank) {
    * {
        background: black !important;
    }
}

If you don't already have a userContent.css file in Firefox (which you likely don't), you need to make one. This is done by first creating a chrome folder in your Firefox profile folder (if it doesn't already exist). In there is where you create your userChrome.css file, which can be done with a text editor like Windows Notepad.

Alternatively, I've uploaded a copy of the userContent.css file that you can download and paste into the chrome folder. NOTE: The download link is only valid for 7 days.

Hope this helps.

more options

選擇的解決方法

Most people here aren't "from" FF.

Note about the color of "about:blank": This can have some effects in web pages, especially text entry fields or anywhere page designers like to leave the page "blank". If the text is white-on-black, it probably isn't an issue. There are some extensions which will alter the newtabpage color (and more) without such issues.

Edit: Ah, this was one that worked well: https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/

由 crankygoat 於 修改

more options

What is this love affair with black. White type on black, black backgrounds on the settings page and so on. It is an unpleasant colour and is hard to look. What happen to good old black type.

more options

berwen said

What is this love affair with black. White type on black, black backgrounds on the settings page and so on. It is an unpleasant colour and is hard to look. What happen to good old black type.

White backgrounds are painful to view when the room is dark. That is why some people including me want to use dark backgrounds.