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











{ 1 trackback }
{ 26 comments… read them below or add one }
How to install plugin
new switch ‘–incognito’ in dev release
Is there a way to run Chrome from the Start->Run? I tried typing chrome but it doesn’t work.
You can create a shortcut in c:\windows folder for chrome and you all set to run the same from Start->Run.
May I ask – why are there so many disable switches, BUT NOT ONE FRICKING ONE FOR DISABLING ACTIVEX?!
how do to disable popup blocking?
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?
“–allow-all-activex”
How to disallow activex, after I use this command??
нда. неплохо …
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.
emm.. amazing
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.
it doesen’t work you fucking prick!
it doesen’t work you fucking prick!
it doesen’t work you fucking prick!!
it doesen’t work you fucking prick!!!
it doesen’t work you fucking prick!!!!
Full list : http://src.chromium.org/svn/trunk/src/chrome/common/chrome_switches.cc
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.
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!
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?
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.
Is there a full-screen switch as yet?
Would be really useful in app shortcuts
I agree – “full-screen” command line option would be really useful!
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.
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.
Leave a Comment