Home > News content

Google Chrome testing new features: Force any website to enter Diablo mode

via:开源中国     time:2019/8/13 20:00:32     readed:143

When this feature is enabled, Chrome lets users choose various settings to determine how the browser enforces dark mode themes on the site.

The various settings are as follows:

  • Enabled

  • Enabled with simple HSL-based inversion (using simple HSL-based inversion)

  • Enabled with simple CIELAB-based inversion (using simple CIELAB-based inversion)

  • Enabled with selective image inversion (selective image inversion)

  • Enabled with selective inversion of non-image elements (selective inversion of non-image elements)

  • Enabled with selective inversion of everything

The HSL and CIELAB settings use different algorithms to display colors, which on some sites don't look too good and the color is slightly bad. Test results show that the effect of selectively inverting non-image elements looks the best.

If you want Chrome 78 to force Diablo mode on the websites you visit, you need to enable this new feature by following these steps:

  1. Download and installChrome Canaryversion

  2. Go to chrome://flags

  3. Search for enable-force-dark (force mode is enabled) and an experiment tag titled "Force Dark Mode for Web Contents" will appear

  4. Enable settings as needed, then restart Chrome

To disable this feature, follow the same steps as above.

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments