Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Disable Lightweight Theme for Private Browsing

  • 4 réponses
  • 5 ont ce problème
  • 33 vues
  • Dernière réponse par 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?

Solution choisie

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.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (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

Solution choisie

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.