Welcome to Google Chrome Plugins

Source of Plugins, Themes, Add-ons and information for the Google Chrome Web Browser!

Top Tip: Click here to Fix Windows Errors & Optimize Windows Performance

Chrome Command Line Switches

by Chrome Blog on September 15, 2008

Google Chrome has a number of command line switches which change the behavior of Chrome, some of these switches can be turned on/off in the regular settings menu such as “dns-prefetch-disable” however others cannot.

To launch and use the switches, you append the switch name when calling Chrome on launch like:

“…..\Application\chrome.exe” –crash-test

Which would obviously execute the crash test function.

allow-all-activex
always-enable-dev-tools
app
assert-test
automation-channel
channel
crash-test
debug-children
debug-print
disable-dev-tools
disable-hang-monitor
disable-images
disable-java
disable-javascript
disable-logging
disable-metrics
disable-metrics-reporting
disable-plugins
disable-popup-blocking
disable-prompt-on-repost
dns-log-details
dns-prefetch-disable
dom-automation
dump-histograms-on-exit
enable-file-cookies
enable-logging
enable-p13n
enable-watchdog
first-run
gears-in-renderer
gears-plugin-path
geoid
hide-icons
homepage
import
in-process-plugins
javascript-debugger-path
js-flags
lang
log-filter-prefix
log-level
make-default-browser
memory-model
memory-profile
message-loop-histogrammer
message-loop-strategy
new-http
no-events
no-sandbox
omnibox-popup-count
playback-mode
plugin
plugin-launcher
plugin-path
plugin-startup-dialog
process-per-site
process-per-tab
proxy-server
record-mode
remote-shell-port
renderer
renderer-assert-test
renderer-crash-test
renderer-path
renderer-startup-dialog
restore-last-session
safe-plugins
show-icons
silent-dump-on-dcheck
single-process
start-maximized
start-renderers-manually
tab-count-to-load-on-session-restore
test-sandbox
testing-channel
testshell-startup-dialog
trusted-plugins
uninstall
upload-file
use-lf-heap
user-data-dir
wait-for-debugger-children

{ 9 trackbacks }

Duthie Learning Blog » Blog Archive » Tip: Workamajig, Google Chrome, and popups
02.25.09 at 6:25 pm
Jak korzystać z eksperymentalnych funkcji Google Chrome?
09.16.10 at 8:40 am
Chrome Command Line Switches – Chrome Plugins « Whizz Spectrum – 모든 지식
10.30.11 at 9:47 pm
Using Google Chrome for Security Testing » frameloss
11.01.11 at 12:33 pm
Linux für alle » SSD (Solid State Disk) – Addon
03.07.12 at 12:14 pm
Linux für alle » SSD (Solid State Disk)
03.07.12 at 12:15 pm
Little-known browser commands and functions – SuperDicas
06.26.12 at 5:07 pm
[IT}-- Little-known browser commands and functions | Padronel
10.10.12 at 6:39 pm
EricB.ca » Blog Archive » The uncollected Google Chrome commands
10.13.12 at 9:37 pm

{ 44 comments… read them below or add one }

1 wut 10.06.08 at 11:00 am

How to install plugin

2 hitesh 10.17.08 at 9:15 am

new switch ‘–incognito’ in dev release

3 Hi 10.24.08 at 8:53 am

Is there a way to run Chrome from the Start->Run? I tried typing chrome but it doesn’t work.

4 MKS 12.16.08 at 11:31 pm

You can create a shortcut in c:\windows folder for chrome and you all set to run the same from Start->Run.

5 b0fh 01.10.09 at 6:10 pm

May I ask – why are there so many disable switches, BUT NOT ONE FRICKING ONE FOR DISABLING ACTIVEX?!

6 Nishitha Abuthahir 01.25.09 at 1:28 am

how do to disable popup blocking?

7 johny why 02.21.09 at 5:22 pm

i put disable-prompt-on-repost into my quick-launch shortcut. it seemed to work the first time, but now i’m getting that damn “Confirm Form Resubmission”.

why doesn’t this command-line switch work anymore?

8 scout 03.25.09 at 6:15 am

“–allow-all-activex”

How to disallow activex, after I use this command??

9 Fluraks 04.03.09 at 6:04 pm

нда. неплохо …

10 Ike 04.18.09 at 6:12 am

I want to open a site in a new Chrome browser, using a shortcut in my desktop.
Everything I tried now, it always opens the site in the already opened Chrome.

11 Cipupholi 04.22.09 at 6:44 am

emm.. amazing

12 Brian 05.01.09 at 6:32 am

How do you get Chrome to give you a list of all valid parameters? I’m using the dev channel and would like to see what additional ones are available.

13 james 05.10.09 at 5:08 pm

it doesen’t work you fucking prick!

14 james 05.10.09 at 5:08 pm

it doesen’t work you fucking prick!

15 james 05.10.09 at 5:08 pm

it doesen’t work you fucking prick!!

16 james 05.10.09 at 5:09 pm

it doesen’t work you fucking prick!!!

17 james 05.10.09 at 5:09 pm

it doesen’t work you fucking prick!!!!

18 Alex 05.30.09 at 10:58 pm
19 George 08.04.09 at 12:34 pm

All the switches are not listed, because I am using the -url switch and it works, but I can’t find it in any list, such as in base_switches.cc or in chrome_switches.cc.

The reason I ask is that perhaps there are other, useful switches that don’t appear in these lists.

20 Dave 08.12.09 at 7:43 pm

Why can’t Google chrome have you download the “COMPLETE” package rather than an “update here than update there; switch on or off? I want a simple “Check of updates” switch with No funny buttons! I’m funny that way. Maybe Microsoft or Firefox might get it right first! I hope the “uninstalls” better! I will seek my older versions!

21 Not Applicable 08.15.09 at 11:17 am

So I’m supposed to put the Documents and Settings\Local Settings\Application Data\Google\Chrome\Application in my PATH to run Chrome from command?

22 Michael 08.27.09 at 10:03 am

If you leave your current Chrome instance running and start a new instance with a command line, some of them just not working.
I found you must CLOSE all chrome instance and restart it for some switch to work.

23 Asad 10.25.09 at 6:02 pm

Is there a full-screen switch as yet?
Would be really useful in app shortcuts

24 Evgeny Goldin 01.27.10 at 10:22 am

I agree – “full-screen” command line option would be really useful!

25 Kevin 01.31.10 at 1:42 am

Questions about shortcuts and/or shortcut(s) to Chrome (or other) from “Run” command: To run ANYTHING from the “Run” command, simply create a shortcut to desired program (place it wherever for the time being), modify as desired, then place the shortcut (*.lnk) file in user home directory (type %homepath% in the run command). example: move a shortcut from your desktop to your home path and then open it by typing its name into the run command.

26 JoeO 02.11.10 at 2:35 pm

You can start in kiosk mode, which is similar to full screen mode except you can never leave it without restarting the browser. Just use –kiosk.

27 Cesar 06.24.10 at 5:01 pm

Is there a way to cancell the Kiosk mode? I’m using it via ssh connection, and it start in kiosk mode – and that’s not wha I want.

28 evgen adam 08.16.10 at 1:03 pm

Thank for this great post

29 BerlinerOptimist 08.31.10 at 2:50 am

@james: bored?

30 Fernando 09.09.10 at 9:52 am

Really thanks JoeO and Cesar for the kiosk mode, it save me the day!

31 Sticks 01.21.11 at 4:22 pm

@ kevin: you might know this now but this is the code
-start-maximized

32 John 02.24.11 at 5:43 pm

how do you do all the command line crap? i am trying to enable geolocation

33 Bruce 04.15.11 at 9:13 am

Is there a startup switch for:
(1) Disable ‘Non Full Screen mode’ (i.e. Full screen mode only).
(2) Disable/Remove Tool bars.
These would be great for running applications.

Google, Please deploy these switches.

34 Jonny 04.15.11 at 4:52 pm

@Bruce: that’s exactly what I’m looking for…
I’m using –kiosk, was wandering if theres an alternative

35 mspd 04.19.11 at 6:51 pm

does Chrome\Application\chrome.exe -–single-process? ever work. There are multiple processes created. Has the option been removed or am I missing something here. It is on Win7 64 bit.

36 Steven 07.08.11 at 4:59 pm

“C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe” -start-maximized -app=”http://www.reddit.com”

This is how to use the -app setting on a Windows XP machine.

37 yuga 07.13.11 at 3:37 pm

Your weblog is great,keep it.

38 gunjan 11.15.11 at 4:03 am

chrome –single-process never works on any os, can anybody tell me the alternative option for this.. how do i make single process of chrome on windows.

39 ViperGeek 02.16.12 at 11:18 am

Another useful command-line switch is:

–purge-memory-button

See http://downloadsquad.switched.com/2010/03/31/reduce-save-conserve-memory-google-chrome/ for more info.

40 Someone 04.20.12 at 12:15 pm

Here are some commands to incorporate in a batch. It finds where chrome is installed and then opens a webpage without stopping the batch:

if exist “%homedrive%\Program Files\Google\Chrome\Application\chrome.exe” set _chromepath=”C:\Program Files\Google\Chrome\Application\chrome.exe”
if exist “%homedrive%\Program Files (x86)\Google\Chrome\Application\chrome.exe” set _chromepath=”C:\Program Files\Google\Chrome\Application\chrome.exe”
if exist “%localappdata%\Google\Chrome\Application\chrome.exe” set _chromepath=%localappdata%\Google\Chrome\Application\chrome.exe
start %_chromepath% http://somewebsite.com

41 Bee 09.09.12 at 5:35 am

i think i have found a simple solution click on your start menu right click on chrome, then click on internet properties, click on contents and click on settings, tick every box that is in there especially the feeds box and the form box, try this it helped me with the problem

42 Ramon Falcasantos 10.25.12 at 10:14 pm

Thank you for having GOOGLE

43 humbadalgaye 07.20.13 at 8:10 am

It’s in point of fact a nice and useful piece of information. I’m glad that you shared this useful information with us.
Please keep us up to date like this. Thanks for sharing.

44 fred 09.26.13 at 1:59 pm

Hello guys
I am trying to figure out a run command to open chrome with a specific user. I have four google accounts that I need to access, and would find it useful to have a run command.

What doesnt work is
“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –profile-directory=”Profile 1″

Id appreciate the help. Thanks,
Fred.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*

Buzzify Networks

Google Chrome and Google™ is a Trademark of Google Inc - Google Chrome. - Sitemap - Privacy Policy - SEO Enhanced
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Coming Soon Chrome Themes and Chrome Extensions