Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

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

Prevent websites to use dark theme

  • 1 réponse
  • 0 a ce problème
  • 4 vues
  • Dernière réponse par Terry

more options

Hello,

I know this question is probably somewhere here but I can't find the answer (what I tried below).

So, I have a Debian 10 computer, with Firefox 78.15.0esr. I'm using the Adwaita (dark version) theme on my OS.

The problem is that Firefox uses the dark theme in Its menus (I don't mind) but It transmits to websites this setting and thus, websites supporting dark mode use it (Google, DuckDuckGo for example). I don't like that. I want them to use the light mode but keeping my theme on my OS.

So, I tried to change the value to 0, 1, 2, 3 (I tried each for them) for the setting layout.css.prefers-color-scheme.content-override and put "Adwaita:light" in the widget.content.gtk-theme-override field in about:config. Each time I restarted Firefox. It never works, websites still continue to use the dark theme...

Thanks in advance

Hello, I know this question is probably somewhere here but I can't find the answer (what I tried below). So, I have a '''Debian 10''' computer, with '''Firefox 78.15.0esr'''. I'm using the Adwaita (dark version) theme on my OS. The problem is that Firefox uses the dark theme in Its menus (I don't mind) but It transmits to websites this setting and thus, websites supporting dark mode use it (Google, DuckDuckGo for example). I don't like that. I want them to use the light mode but keeping my theme on my OS. So, I tried to change the value to 0, 1, 2, 3 (I tried each for them) for the setting layout.css.prefers-color-scheme.content-override and put "Adwaita:light" in the widget.content.gtk-theme-override field in about:config. Each time I restarted Firefox. It never works, websites still continue to use the dark theme... Thanks in advance

Toutes les réponses (1)

more options

Look at Web site appearance on the General page of Settings. I haven't been affected but many users are reporting issues.

https://support.mozilla.org/en-US/kb/change-web-appearance-settings-firefox