How to find out if a Chrome flag is enabled - gHacks Tech News

How to find out if a Chrome flag is enabled

Google Chrome's chrome://flags page may not be as powerful as Mozilla Firefox's about:config page, but it provides users of the web browser with access to experimental features and options that they can control from that page.

Chrome users can enable these features on the page to test new functionality before it lands in the browser, or is pulled from it again by Google.

Recent examples of the capabilities that the chrome://flags page provides users with include enabling material design pages, or enabling audio-muting way before the feature landed in Chrome.

Which flag is enabled, which is not?

When you open chrome:// flags in the browser you will notice that Google uses different mechanics to configure the state of these preferences in the browser.

chrome flags

Most list an "enable" or "disable" link that you can click on to either enable or disable the feature. This is a good indicator of whether the experiment is enabled or not.

If you see "enable", it is disabled at the time, and if you see "disable", it is enabled.

The main issue however are experiments that use menus instead of links to change their state, as there is no indication whether a feature is enabled or not if a menu is used.

enabled or disabled

The screenshot above highlights why this is a problem. The Overlay Scrollbars experiment lists its state as "default", but does not reveal whether that means that it is enabled or not.

I first thought that the background color of the lines indicate whether it is turned on or not, but that is not the case as it simply reveals if the state of the feature has been changed by the user.

White indicates a state change by the user (a different state than the default), while the light grayish color default states.

Chrome itself does not provide the information. The closest that it comes to revealing whether preferences are enabled or not is on chrome://local-state/. There you find a list of experiments that are enabled or disabled, but only if they have been modified by the user.

enabled labs experiments

While this may help you here and there, it is not helpful when it comes to determining whether a feature is enabled or not that shows a menu and not a link on the flags page.

There is one option that you have that you may find useful in this regard. If you reference the experimental flag with the Chromium command line switches page, you will come up with an answer..

Lets take the overlay scrollbar flag as an example. Open the Command Line Switches page, hit F3 on the keyboard and search for overlay-scrollbar.

command line switches

The flag --enable-overlay-scrollbar indicates that it will enable the feature if you run Chrome with the switch. This means that the feature is not enabled by default in the browser.

So, check whether the flag or description indicates that the feature is enabled or disabled when Chrome is run with the command line switch, and you got your answer.

This is obviously far from ideal, and it would be really nice if Google would add indicators to the chrome:flags page directly to indicate whether a feature is enabled or not.

Now You: Have you enabled flags in Chrome?

Summary
How to find out if a Chrome flag is enabled
Article Name
How to find out if a Chrome flag is enabled
Description
Find out whether experimental features on chrome://flags are enabled or not in your version of the Google Chrome web browser.
Author
Publisher
Ghacks Technology News
Logo

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Jacob said on March 3, 2016 at 4:50 pm
    Reply

    Not too sure if that works, search for “disable-overlay-scrollbar”. So, if you can disable it, is it on by default?

  2. iron2000 said on March 4, 2016 at 12:11 pm
    Reply

    What about the “command line” part of chrome://version?

    1. Martin Brinkmann said on March 4, 2016 at 12:26 pm
      Reply

      It shows only what you have changed, right? What it won’t show you is if a flag is enabled if you have not modified it, and if it shows a value of “default” on the flags page.

      1. iron2000 said on March 4, 2016 at 12:49 pm
        Reply

        Yes, you’re right.

        It only show that same info as chrome://local-state/.

  3. merv said on December 3, 2017 at 8:54 am
    Reply

    thanks. What an oversight by the dev team…

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.