How to enforce dark mode on sites in Microsoft Edge - gHacks Tech News

ADVERTISEMENT

How to enforce dark mode on sites in Microsoft Edge

Microsoft implemented a new experimental flag to the most recent version of the Chromium version of  Microsoft Edge that users may set to enforce dark mode on visited sites.

The web browser honors the dark mode setting of the Windows 10 operating system already but that changes the interface of Microsoft Edge only. Websites may still display in light colors.

The latest Canary version of Microsoft Edge includes an option to enforce a dark mode so that sites, most of them at the very least, are displayed in darker colors automatically. Google launched the option earlier this year in Chrome.

Tip: if you run Android 10, you may also enforce dark mode in many apps that don't support it officially.

The following screenshot shows how that may look like on sites. Note that Edge's interface depends on the dark mode setting of the operating system and not the experimental flag that Microsoft added to the browser.

To switch to Dark Mode on Windows 10, go to Settings > Personalization > Colors and switch from Light to Dark there.

edge force dark

Here is what you need to do to enable it:

  1. The feature is only available in Edge Canary at the time of writing (version 80.0.317.1). It will, likely, become available in Edge Beta and Stable at one point in time.
  2. Load edge://flags in the browser's address bar.
  3. Search for dark; this should return the flag Force Dark Mode for Web Contents.
  4. Set the flag to Enabled. Note that Enabled sets the feature to the default. You may pick any of the other dark mode algorithms provided to test which one works best for you.
  5. Restart the Microsoft Edge web browser.

The change should be visible immediately on sites you visit. I tested the feature on a number of sites including Ghacks, YouTube, eBay, Facebook and Wikipedia, and it worked fine on all of these sites.

edge enforce dark mode

Some page elements may still show up in light colors. The ads you see on the screenshot above still use white colors and so does the Ghacks logo.

Closing Words

The feature works as advertised in the latest Microsoft Edge Canary version. It needs to be noted that the feature is experimental and that it may be removed from Edge before it ever lands in the Stable version of the browser (which has not been released yet officially).

The setting gives Edge users who prefer dark themes an option to get rid of the majority of light themed sites by turning them into darker themed sites automatically.

Now You: Light or dark, what is your preference and why? (via Deskmodder)

Summary
How to enforce dark mode on sites in Microsoft Edge
Article Name
How to enforce dark mode on sites in Microsoft Edge
Description
Microsoft implemented a new experimental flag to the most recent version of the Chromium version of  Microsoft Edge that users may set to enforce dark mode on visited sites.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Previous Post: «
Next Post: »

Comments

  1. Anonymous said on October 31, 2019 at 1:59 pm
    Reply

    ”Light or dark, what is your preference and why?”

    Firefox about:config entrie browser.in-content.dark-mode has not impact web sites view. Some browsers render dark theme and others not. In operating system level (macOS) I use dark theme. If I enable it on browser, then it brakes Noia theme. In example urlbar text is invisible, and again: some browsers have another view (Mozilla based, different versions and settings).

  2. pat said on October 31, 2019 at 4:42 pm
    Reply

    Available in the last Brave and Vivaldi also, but not Opera…

    1. Shadess said on November 1, 2019 at 2:38 pm
      Reply

      Don’t do this on the latest Vivaldi! The browser won’t start with it.

      Fix for it:
      https://forum.vivaldi.net/topic/41774/vivaldi-launching-issue-just-after-the-newest-update

  3. Anonymous said on October 31, 2019 at 5:47 pm
    Reply

    Why ghacks doesn’t have a dark theme? It hurts my eyes at night reading site.

    1. David said on November 3, 2019 at 10:49 am
      Reply

      Because you have to enable the night mode on your PC/phone/tablet

  4. anonymous said on November 1, 2019 at 5:50 pm
    Reply

    Does Ubuntu have a dark mode?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.