What are Chrome flags?
Key Takeaways
Chrome flags are a way to enable additional debugging tools or try out new experimental features in Chrome, and can be set from the chrome://flags page or the command line.
Full Transcript
[Music] now you might have heard of chrome flags well these are a way to enable additional debugging tools or to try out new or experimental features in chrome for example chrome wanted to allow users to try out picture-in-picture video functionality before rolling it out to everyone so the feature was made available behind a flag for people to try it out and to give feedback the code and design were you know tested and polished based on the feedback and so now you can use picture in picture by default in chrome and it works really well so i'm sam dutton and i work with the chrome team as a developer advocate and in this video i'll show you how to make the most of chrome flags what they're for and how they work just to be clear though before i start most chrome users will never need to use chrome flags and if you do start setting chrome flags you need to be really careful as it says on the chrome flags page by enabling these features you could lose data or compromise your security or privacy and just remember that these flags may stop working or you know be removed without notice if you're an enterprise it admin you should not be using chrome flags in production you might want to take a look at enterprise policies instead but anyway having said all that if you are a web developer or you're just a you know curious nerd and you like trying out new technology then getting to know chrome flags can be really worthwhile so you can set chrome flags from the chrome flags page you find a flag by entering text in the search flags box so for example i want to enable chrome's heads-up display feature for performance metrics so i search for the feature set the value to enabled and re-launch now you can see i've got a heads-up display that shows technical information about web page performance so there are you know a gazillion flags for lots of different types of features some flags affect the way chrome looks or works and some activate new features such as new css features or you know javascript apis that can be used by web developers you'll also notice that there are different flags in different versions of chrome now if you're a web developer you may want to set flags by opening chrome from the command line in a terminal there are a lot more chrome settings you can configure from the command line than the features you can activate or deactivate from the chrome flags page let me show you how that works so here i'm opening a terminal application on a mac if you've never used a terminal it's just an application you can use to tell your computer what to do using text commands you know you know i'm old enough to remember when everything on a computer worked like this but anyway i run the command to open chrome adding the flags i want in this case to always run in incognito mode on every page which is useful for testing chrome without login now that's just one example and there are many many other flags for activating deactivating and configuring less well-known features a couple of things to be aware of here it's possible that flags you set could conflict with each other in particular the defaults for a chrome flags setting might in some cases override your command line configurations so you know if the flags you set running chrome from the command line don't work as expected it's worth checking your chrome flags page also the chrome flags page might not show the flag settings you've used from the command line instead take a look at chrome version so that's chrome flags the chromium.org website explains how to set flags from the command line for android as well as on desktop and my colleague peter has compiled a very long list of chrome flags on this page the last time i checked there are more than 1400 of them and there are actually lots more flags available to configure javascript apis and other features you can find out more about them from api documentation and proposal explainers if you have any questions about chrome flags or you know just if anything's not clear in this video please feel free to contact me via twitter and thanks for watching and be sure to check out the other videos in the chrome concepts series [Applause] [Music] you
Original Description
You can configure Chrome by using Chrome flags. This video explains how.
Chapters:
0:00 - Introduction
0:42 - How do Chrome flags work?
1:42 - Set flags from the chrome://flags page
2:35 - Set flags from the command line
4:10 - Find out more
Resources:
Run Chromium with flags → https://goo.gle/3d0Bb6x
Chromium Command Line Switches → https://goo.gle/3d0Bb6x
More Chrome Concepts videos → https://goo.gle/cc
Subscribe to Google Chrome Developers → https://goo.gle/ChromeDevs
#ChromeConcepts
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Chrome for Developers · Chrome for Developers · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Polymer Performance Patterns (The Polymer Summit 2015)
Chrome for Developers
Polymer Power Tools (The Polymer Summit 2015)
Chrome for Developers
Chrome Dev Summit 2014 – Chrome Case Studies
Chrome for Developers
Web Directions Code 2015 round up
Chrome for Developers
Maintainable Code - HTTP203
Chrome for Developers
iron-ajax… wat?! -- Polycasts #26
Chrome for Developers
The Guardian - Supercharged
Chrome for Developers
ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
Chrome for Developers
#AskPolymer: Rob answers all the questions ever -- Polycasts #27
Chrome for Developers
The Future of JavaScript - HTTP203
Chrome for Developers
Data Binding 101 -- Polycasts #28
Chrome for Developers
The Guardian part 2 - Supercharged
Chrome for Developers
The Future of Web Audio: with Chris Wilson and Chris Lowis
Chrome for Developers
Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome for Developers
Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Chrome for Developers
#AskPolymer: How do you make the show? -- Polycasts #29
Chrome for Developers
Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Chrome for Developers
Binding to Objects -- Polycasts #30
Chrome for Developers
Player FM - Supercharged
Chrome for Developers
Where’s the Designer? #AskPolymer -- Polycasts #31
Chrome for Developers
Jake Beats Wikipedia - HTTP203
Chrome for Developers
Supercharged Observers! -- Polycasts #32
Chrome for Developers
Jai's Web blog - Supercharged
Chrome for Developers
Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Chrome for Developers
What about internationalization? #AskPolymer -- Polycasts #33
Chrome for Developers
Developing for Billions (Chrome Dev Summit 2015)
Chrome for Developers
Google+ Performance Improvement Comparison
Chrome for Developers
Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Chrome for Developers
Progressive Web Apps (Chrome Dev Summit 2015)
Chrome for Developers
Instant Loading with Service Workers (Chrome Dev Summit 2015)
Chrome for Developers
Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Chrome for Developers
Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Chrome for Developers
Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Chrome for Developers
Polymer - State of the Union (Chrome Dev Summit 2015)
Chrome for Developers
Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Chrome for Developers
Introduction to RAIL (Chrome Dev Summit 2015)
Chrome for Developers
DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
Chrome for Developers
RAIL in the real world (Chrome Dev Summit 2015)
Chrome for Developers
#ChromeDevSummit talks are up - W00T! -- Polycast #34
Chrome for Developers
V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
Chrome for Developers
Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Chrome for Developers
Owning your performance: RAIL (Chrome Dev Summit 2015)
Chrome for Developers
HTTP/2 101 (Chrome Dev Summit 2015)
Chrome for Developers
Leadership Panel (Chrome Dev Summit 2015)
Chrome for Developers
Build Processes, Totally Tooling Tips (S2, Ep 5)
Chrome for Developers
Accessibility (Chrome Dev Summit 2015)
Chrome for Developers
Binding to Arrays -- Polycasts #35
Chrome for Developers
HTTP2 - HTTP203
Chrome for Developers
Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome for Developers
Call For Submissions - Supercharged
Chrome for Developers
Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Chrome for Developers
Testing AJAX with Web Component Tester -- Polycasts #37
Chrome for Developers
Slack: Extended Xmas Special - Supercharged
Chrome for Developers
Browser testing with Travis & Sauce Labs -- Polycasts #38
Chrome for Developers
Optimize for production with Vulcanize -- Polycasts #39
Chrome for Developers
Highlights from Chrome Dev Summit 2015
Chrome for Developers
Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome for Developers
Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Chrome for Developers
How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
Chrome for Developers
Colors – DevTools Tonight #0 (Pilot)
Chrome for Developers
Related Reads
Chapters (5)
Introduction
0:42
How do Chrome flags work?
1:42
Set flags from the chrome://flags page
2:35
Set flags from the command line
4:10
Find out more
🎓
Tutor Explanation
DeepCamp AI