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

搜尋 Mozilla 技術支援網站

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

了解更多

Disable high contrast mode in Firefox

  • 4 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 ice.ivanov

more options

Hello Firefox support!

I have a nasty problem. Accidentally switched high contrast to "always" and now every page is pitch black except for images. As the result not only Firefox is unusable, I can't turn this mode off because both my settings and about:config pages are just black screens.

Please tell me there's an easy way to fix it! T_T

Hello Firefox support! I have a nasty problem. Accidentally switched high contrast to "always" and now every page is pitch black except for images. As the result not only Firefox is unusable, I can't turn this mode off because both my settings and about:config pages are just black screens. Please tell me there's an easy way to fix it! T_T

由 ice.ivanov 於 修改

所有回覆 (4)

more options

Restarting browser in safe mode doesn't help.

more options

Can you get to your Firefox profile folder using any of the methods mentioned in this article:

Profiles - Where Firefox stores your bookmarks, passwords and other user data

Note: If the article doesn't automatically detect your OS, in the left column, expand editing tools, and you can use the OS switcher there.

Your settings for text color, background color, and whether to observe system theme settings or always use the page setting are stored in the prefs.js file, which is a text file. You either could:

(A) Abandon all the customizations in the file by hiding it from Firefox (e.g., rename to prefsOLD.js) or

(B) Open it in a text editor and remove/modify the following lines:

To strictly honor page color rules instead of using system values, edit this line to a value of 1 or add the following at the bottom of the file:

user_pref("browser.display.document_color_use", 1);

To use default text and background colors, delete these lines -- note that your color values will vary from these examples:

user_pref("browser.display.background_color", "#ffff80"); user_pref("browser.display.foreground_color", "#400040");

The next time you start Firefox it should pick up those new customizations. Any improvement?

more options

Did you try the Color settings page in Options/Preferences ?

Make sure you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.

Make sure you allow pages to choose their own colors.

  • Options/Preferences -> General: Fonts & Colors -> Colors: "Override the colors specified by the page with my selections above"

Try "Never" if the default "Only with High Contrast themes" isn't working.

more options

Thanks, @jscher2000. Changing my preferences manually solved the problem.