Jump to content

A list of useful Google Chrome command line switches


emerglines

Recommended Posts

Chrome supports hundreds of different command line switches that may add features to the browser, change how features work, or remove features from it.

Some switches are only useful to developers, as they enable them to test certain features in Chrome, while others have practical uses that users of the web browser will appreciate as well.

The following list highlights important Chrome command line switches for users of the browser.

Before that, I'd like to walk you through the configuration process that explains how you can add one or multiple command line switches to the Chrome browser.

Note: The guide explains how this is done on Windows only.

Adding command line switches to Chrome


chrome-command-line-switches.jpg

You have two main options to do so. First, you can open the Windows command line, change the directory to the Chrome directory, and run commands using chrome.exe followed by the commands that you want to run. An example would be the following command executed in the Chrome application directory on the system.

chrome.exe --reset-variation-state

The easiest way to do so is the following way:

  • Tap on the Windows-key, type cmd and hit enter.
  • Use CD to change the directory to your Chrome profile directory.
  • If you are running Windows XP, it is %USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application
  • If you are running Windows Vista or newer, it is %LOCALAPPDATA%\Google\Chrome\Application
  • Type chrome.exe followed by the space-key, and then the command line switches you want to run. Note that they always begin with two dashes.

This is great for testing purposes, but if you like a certain command and want to run it at all times, you may want to make those changes permanent so that they are automatically used whenever you load Chrome.

If you are starting Google Chrome from a shortcut, placed on the desktop, taskbar or start menu, then you can easily add command line switches to it. Just right-click the shortcut, locate Google Chrome there, right-click on it and select Properties.

The Shortcut tab should open up automatically. It displays the load path of the browser in the target field. At the end of the field, after the closing ", add a space, and then the command line switches you want to use.

Add another space between each command line switch if you want to use multiple ones.

For a full list of switches, consult this page.


Source

Link to comment
Share on other sites


  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • emerglines

    3

  • el_espaniol

    2

Popular Days

Top Posters In This Topic

...\chrome.exe" --disable-java --disable-metrics --enable-internal-flash --disable-logging --disable-new-menu-style

...rocks... :yes:

Link to comment
Share on other sites


...\chrome.exe" --disable-java --disable-metrics --enable-internal-flash --disable-logging --disable-new-menu-style

...rocks... :yes:

Will run faster add --no-sandbox --ignore-certificate-errors

and see how you can rock :)

Link to comment
Share on other sites


Thanks mate, added...!!!

By the way sandbox is important for your security, use that option just to browse well known websites.

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...