I need this when running automated Selenium (Geb) tests. Right now Chrome always pops up a dialog box asking me what to do. I just want it to do nothing instead. Is there such a switch?
Normally if you visit a page and attempt to launch a hyperlink that requires an external protocol handler, the dialog Chrome shows that asks you what to do should also have a checkbox to make it remember your choice.
If you don't see a checkbox or it doesn't work for you, you can try the following after closing all instances of Chrome. Under English language Windows XP edit the file
in a text editor. Under English Vista+ the path to the file is
Now search for a line that says
If you use some other OS which you failed to specify, search for the file and edit as mentioned above, then open the browser and see if it worked.