搜尋 Mozilla 技術支援網站

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

Learn More

Version 96 produces black screen and color theme, and it's uneditable

  • 2 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 eehines

more options

Version 96 installed, it produces an unacceptable black screen and barely readable font, color theme is not liked, and it's uneditable.

Cannot roll back to Version 95.0.2 or use 95.0.2's profile in 96. Attached is the error message I get when I try to use 95.02's profile in 96--it's the exact opposite of what I'm trying to do.

How do I either roll back to Version 95.02 or edit 96's color scheme?

Thank you

Eric Hines

Version 96 installed, it produces an unacceptable black screen and barely readable font, color theme is not liked, and it's uneditable. Cannot roll back to Version 95.0.2 or use 95.0.2's profile in 96. Attached is the error message I get when I try to use 95.02's profile in 96--it's the exact opposite of what I'm trying to do. How do I either roll back to Version 95.02 or edit 96's color scheme? Thank you Eric Hines
附加的畫面擷圖

被選擇的解決方法

Hi Eric, what theme have you been using?

As a preliminary comment, if you use a "High Contrast" dark theme on Windows, you can instruct Firefox to ignore that. See: Disable high contrast mode in Firefox.

Firefox 95+ is taking more and more cues from your toolbar area theme for how to style other aspects of the browser. There is a setting for some of these, but not all of them.

(A) Right-click context menus, toolbar drop-down panels

Starting in Firefox 89, these would flip to a dark background if the text on the inactive/background tabs was white or light. Firefox 96 has extended this adaptation to more parts of the browser. As far as I know, the only built-in way to avoid this is to change your toolbar theme to one with dark text on the inactive/background tabs. (The other way is the not-officially-supported userChrome.css file route.)

(B) Built-in pages, and websites that have light/dark responsive themes

Starting in Firefox 95, Firefox would inform pages that you preferred a light/dark theme based on your Firefox toolbar theme instead of your system theme. There is a way to decouple your page (content) theme preference from your toolbar theme. At this point, it's only available through the back door...

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste layout.css.prefers-color-scheme.content-override and pause while the list is filtered

(3) Double-click the preference to display an editing field, and change the value to whatever you prefer from the list below, then press Enter or click the blue check mark button to save the change.

  • 0 => Force a Dark background
  • 1 => Force a Light background
  • 2 => Follow the System theme (default in Firefox 94)
  • 3 => Follow the Browser toolbar theme (default in Firefox 95+)

The about:config page should immediately reflect your saved change.


I have attached a composite screenshot of what Firefox 96 considers a "Dark" theme (light text) and a "Light" theme for reference. It's difficult to say exactly where that line is.

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

所有回覆 (2)

more options

選擇的解決方法

Hi Eric, what theme have you been using?

As a preliminary comment, if you use a "High Contrast" dark theme on Windows, you can instruct Firefox to ignore that. See: Disable high contrast mode in Firefox.

Firefox 95+ is taking more and more cues from your toolbar area theme for how to style other aspects of the browser. There is a setting for some of these, but not all of them.

(A) Right-click context menus, toolbar drop-down panels

Starting in Firefox 89, these would flip to a dark background if the text on the inactive/background tabs was white or light. Firefox 96 has extended this adaptation to more parts of the browser. As far as I know, the only built-in way to avoid this is to change your toolbar theme to one with dark text on the inactive/background tabs. (The other way is the not-officially-supported userChrome.css file route.)

(B) Built-in pages, and websites that have light/dark responsive themes

Starting in Firefox 95, Firefox would inform pages that you preferred a light/dark theme based on your Firefox toolbar theme instead of your system theme. There is a way to decouple your page (content) theme preference from your toolbar theme. At this point, it's only available through the back door...

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste layout.css.prefers-color-scheme.content-override and pause while the list is filtered

(3) Double-click the preference to display an editing field, and change the value to whatever you prefer from the list below, then press Enter or click the blue check mark button to save the change.

  • 0 => Force a Dark background
  • 1 => Force a Light background
  • 2 => Follow the System theme (default in Firefox 94)
  • 3 => Follow the Browser toolbar theme (default in Firefox 95+)

The about:config page should immediately reflect your saved change.


I have attached a composite screenshot of what Firefox 96 considers a "Dark" theme (light text) and a "Light" theme for reference. It's difficult to say exactly where that line is.

more options

Thank you, jscher2000.

And for the record, the 95.02 theme in use was the System Theme.

Eric Hines

由 eehines 於 修改