How to find out if a Chrome flag is enabled

Martin Brinkmann
Mar 2, 2016
Google Chrome
|
9

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.

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
Advertisement

Previous Post: «
Next Post: «

Comments

  1. Qwerty said on August 6, 2020 at 11:12 am
    Reply

    None of these methods reveal which command line switches are in effect for a given window. Is it somehow possible without looking in process explorer?

  2. John Chaney said on March 21, 2020 at 3:30 am
    Reply

    +1 for VanguardLH’s comment. Also wondering myself

  3. Josh said on January 28, 2020 at 12:19 am
    Reply

    Very curious about this as we are trying to validate changes related to the new Chrome 80 cookies changes: https://www.chromium.org/updates/same-site
    Since they are running experiment with 50% of users we are not sure if “Default” means the default that Chrome 80 Stable would have, or if it just means that the user has not overridden the default setting which could be enabled or disabled depending on which side of the 50% you were assigned

  4. VanguardLH said on February 2, 2019 at 5:07 am
    Reply

    What about flags that have no command-line switch equivalent? In Chrome 72, I noticed the “Scroll anchor serialization” flag. Didn’t bother to look up when it appeared in which version of Chrome.
    When searching https://peter.sh/experiments/chromium-command-line-switches/, there is no command-line switch for that flag, so no way to tell what Default means for that option (whether the default is enabled or disabled).

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

    thanks. What an oversight by the dev team…

  6. 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/.

  7. 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?

Leave a Reply

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

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.