How to undo "exclude from dark mode"?
-
andresadasdasa last edited by 6 Mar 2022, 19:23
Hi! There is an option "exclude from dark mode" but how can I go back to dark mode for already exluded sites? In opera://settings/content I can;t see anything related.
Thanks.
-
leocg Moderator Volunteer last edited by 6 Mar 2022, 23:11
@andresadasdasa Can't you do it by right clicking on the page?
-
andresadasdasa last edited by andresadasdasa 7 Mar 2022, 05:18 7 Mar 2022, 05:13
@leocg No, I can't. Selecting again this option from right click menu does nothing.
Opera Version: 84.0.4316.21 Linux x86_64
-
andresadasdasa last edited by 16 Mar 2022, 16:18
@leocg
Maybe this thread should be moved to feature request if there is no such option? -
-
burnout426 Volunteer last edited by 17 Mar 2022, 13:03
You can goto the hidden page at the URL
opera://settings/content/forceDarkMode
to see the override lists. -
andresadasdasa last edited by andresadasdasa 17 Mar 2022, 16:46 17 Mar 2022, 16:43
@burnout426 said in How to undo "exclude from dark mode"?:
opera://settings/content/forceDarkMode
I tried this but it is empty:
Force dark pages
Customized behaviors
Sites listed below follow a custom setting instead of the defaultDisable: No sites added
Enable: No sites added
I've added to "enable" excluded site but nothing changed, it is still in white mode.
-
andresadasdasa last edited by 14 Apr 2022, 16:38
@moderators What about moving it to feautre request if there is still no answer for this ?
-
burnout426 Volunteer last edited by burnout426 24 Apr 2022, 07:10 24 Apr 2022, 07:08
Goto the URL
opera://about
, take note of the "profile" path, and close Opera.In the profile folder, edit the "Preferences" file with a JSON viewer (JSONedit in tree mode for Windows or Geany for Linux maybe). Under root/profile/content_settings/force_dark_mode, make sure there are no entries for any sites. An easy way to do that is to just delete the whole force_dark_mode node. Then, save your changes.
The force_dark_mode list should just reflect what's at the URL
opera://settings/content/forceDarkMode
, but mabye there's an entry stuck in the preferences file.As for the global "force dark pages" setting in Opera, you can find that as force_dark_mode_enabled under root/webkit/webprefs. You can just delete the force_dark_mode_enabled node if present.
In short, if you delete both the force_dark_mode and force_dark_mode_enabled nodes, that should reset the dark mode settings back totally to default as if you the user had a new profile and hadn't messed with them yet. If doing this doesn't fix things, it's likely the cause of your issue is something else (like an extension or profile corruption somewhere else).
If you use Opera Sync, log out of sync before you shut down Opera and edit the Preferences file and test things like that first before logging back into sync. If things work fine and then the issue comes back when you log back into Opera Sync, you'll know your sync data is messed up and you'll have to reset it.
-
leocg Moderator Volunteer last edited by 24 Apr 2022, 08:17
Here If I right click on the page, there is an option to enable Force Dark Pages on it again.
-
burnout426 Volunteer last edited by 25 Apr 2022, 05:28
@leocg Same here and it's always worked fine for me.
-
andresadasdasa last edited by 26 Apr 2022, 17:06
Hi!
@burnout426 said in How to undo "exclude from dark mode"?:
Goto the URL
opera://about
, take note of the "profile" path, and close Opera.In the profile folder, edit the "Preferences" file with a JSON viewer (JSONedit in tree mode for Windows or Geany for Linux maybe). Under root/profile/content_settings/force_dark_mode, make sure there are no entries for any sites. An easy way to do that is to just delete the whole force_dark_mode node. Then, save your changes.
Nothing there.
The force_dark_mode list should just reflect what's at the URL
opera://settings/content/forceDarkMode
, but mabye there's an entry stuck in the preferences file.There was one site, deleted, nothing changed.
If you use Opera Sync, log out of sync before you shut down
No Opera sync.
Thx in advance for your help.
a.
-
andresadasdasa last edited by 26 Apr 2022, 17:11
@leocg
Linux? Only exclude is visible option what is not logical after excluded that site. -
burnout426 Volunteer last edited by 27 Apr 2022, 04:32
Weird that the preferences file and opera://settings/content/forceDarkMode were different.
Does the site in question render in dark mode in a private window?
-
andresadasdasa last edited by 28 May 2022, 07:36
Hi!
Apologise for late answer.
Above my opera preferences about dark mode.
About site in question, no, it is not render in private window.
a.
-
burnout426 Volunteer last edited by 31 May 2022, 04:46
@andresadasdasa Does everything work fine in a test standalone installation?
-