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

搜尋 Mozilla 技術支援網站

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

了解更多

Disable Lightweight Theme for Private Browsing

  • 4 回覆
  • 5 有這個問題
  • 1 次檢視
  • 最近回覆由 waxlrose

more options

Just updated to 53 on Mac and now my Lightweight theme carries over to Private Browsing. I don't want this, as I used the lack of theme as a easy visual cue to know I was in the right window.

Any way to disable this or to change the theme for private browsing?

Just updated to 53 on Mac and now my Lightweight theme carries over to Private Browsing. I don't want this, as I used the lack of theme as a easy visual cue to know I was in the right window. Any way to disable this or to change the theme for private browsing?

被選擇的解決方法

You might need to use a custom style rule to modify the appearance of the toolbar area or, if you prefer, just the tabs bar, or maybe just the very top of it.

For example:

To turn the tabs bar background dark purple on a private window in a regular session:

#main-window[privatebrowsingmode="temporary"] #TabsToolbar {
  background-color: #303 !important;
}

or the whole toolbar area:

#main-window[privatebrowsingmode="temporary"] #navigator-toolbox {
  background-color: #303 !important;
}

Screenshot comparison attached. The best colors will vary depending on your lightweight theme.

Custom style rules can be applied to Firefox's interface area using either the Stylish extension or a userChrome.css file. Someone can provide details if you don't find a more convenient solution.

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

所有回覆 (4)

more options
more options

You can use an extension to get Private Browsing mode support per tab.

Private Browsing mode tabs get a dashed underline You can toggle Private Browsing mode on/off via the right-click context menu of a tab You will also see a purple mask on the Tab bar.

more options

選擇的解決方法

You might need to use a custom style rule to modify the appearance of the toolbar area or, if you prefer, just the tabs bar, or maybe just the very top of it.

For example:

To turn the tabs bar background dark purple on a private window in a regular session:

#main-window[privatebrowsingmode="temporary"] #TabsToolbar {
  background-color: #303 !important;
}

or the whole toolbar area:

#main-window[privatebrowsingmode="temporary"] #navigator-toolbox {
  background-color: #303 !important;
}

Screenshot comparison attached. The best colors will vary depending on your lightweight theme.

Custom style rules can be applied to Firefox's interface area using either the Stylish extension or a userChrome.css file. Someone can provide details if you don't find a more convenient solution.

more options

jscher2000 said

You might need to use a custom style rule to modify the appearance of the toolbar area or, if you prefer, just the tabs bar, or maybe just the very top of it. For example: To turn the tabs bar background dark purple on a private window in a regular session:
#main-window[privatebrowsingmode="temporary"] #TabsToolbar {
  background-color: #303 !important;
}

or the whole toolbar area:

#main-window[privatebrowsingmode="temporary"] #navigator-toolbox {
  background-color: #303 !important;
}

Screenshot comparison attached. The best colors will vary depending on your lightweight theme.

Custom style rules can be applied to Firefox's interface area using either the Stylish extension or a userChrome.css file. Someone can provide details if you don't find a more convenient solution.

This works great. I couldn't get the second option to work, but the first worked passably enough.