搜尋 Mozilla 技術支援網站

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

了解更多

How can I change the background color of the settings page?

  • 1 回覆
  • 1 有這個問題
  • 41 次檢視
  • 最近回覆由 Terry

more options

Is there any way to change the background color of the built-in firefox pages (e. g. about:preferences, about:addons, about:config)?

I would like these pages to match to my custom color profile, which I made via Firefox Color.

Is there any way to change the background color of the built-in firefox pages (e. g. about:preferences, about:addons, about:config)? I would like these pages to match to my custom color profile, which I made via Firefox Color.

被選擇的解決方法

You can do that with css code in a file userContent.css which goes into a folder named chrome which you need to create in your profile folder. I attach a screenshot of code I adapted from some I found online. The text between /* and */ is comment, not code. You can use colour names or rgb(a) values. The code I am using now needs more work because there is an inner background which is showing white in at least one dialog on about:preferences#privacy.

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

所有回覆 (1)

more options

選擇的解決方法

You can do that with css code in a file userContent.css which goes into a folder named chrome which you need to create in your profile folder. I attach a screenshot of code I adapted from some I found online. The text between /* and */ is comment, not code. You can use colour names or rgb(a) values. The code I am using now needs more work because there is an inner background which is showing white in at least one dialog on about:preferences#privacy.

由 Terry 於 修改