Prevent Chrome from automatically opening files?

I accidentally clicked Always open files of this type on a file I had downloaded and now I can't turn it off. There seems to be no option in the settings page, and files that are automatically opened don't appear in the download bar so there is no way to uncheck that option from there. Apparently, there used to be a button that would reset that setting, but it seems to have been removed as of version 33.

The <chrome root>/User Data/Default/Preferences file is a JSON file containing all Chrome settings. The following data can be found in it:

"download": {
   "extensions_to_open": "jpg",
}

I tried to solve the problem by removing the extension from the setting:

"download": {
   "extensions_to_open": "",
}

However, that didn't work. The setting was reverted to the original value shortly after. The same thing happened when I edited the file with Chrome closed, and with my Google account disconnected.

Is there any way to make Chrome stop opening files automatically?


<chrome root> refers to a path on the file system that varies depending on the opearting system.

  • In Windows

    C:\Users\<username>\AppData\Local\Google\Chrome\
    
  • In OS X

    ~/Library/Application Support/Google/Chrome/
    
  • In Linux

    ~/.config/google-chrome/
    

As pointed out, there really is a button to reset this flag. However, it does not appear in my settings page for some reason.

The button does not appear.

What could possibly be happening?


Solution 1:

You can clear the auto-opening settings in the Downloads section in the Chrome settings:

enter image description here

Solution 2:

Click Settings > Advanced Settings (at the bottom part of the page) > uncheck "Ask where to save each file before downloading" under the Downloads heading.

Solution 3:

If you have selected 'always open in adobe acrobat', you usually don't need to worry about security because Windows/Chrome will detect unsafe files.

However if you want to turn this option off, simply download a large file. I went to this link to download the aberdeen university prospectus

https://www.alphasoftware.com/alphaforum/showthread.php?117967-How-to-download-a-very-large-pdf-file

Click ALT + LINK and this file will start downloading slowly. While the download is going on, you will have to quickly open the 'options' and de-select 'always open'