Whenever I download a .dmg, .exe file, etc. Google Chrome assumes I don't know what I am doing and asks me if I understand the risks and warns me that the file may be harmful to my computer. I get the idea, but I want these prompts to stop. How do I do this?
This issue has been brought up a few times, and the answer unfortunately seems to be no. If you know your way around source code, the Chromium project may be of interest. You can hack away at the code and remove the warning.
There is a workaround on Ubuntu for people that are really fed up with this problem by now and do not want to recompile the source code on the other hand. The reasoning is quite simple. Perhaps we do not want Chrome to decide which files to automatically open, but we are better able to do it ourselves.
So, just as Uniblab suggests, tell Chrome to download the file, not open the file. This only means pressing Enter once. Use for example
Then (on Linux) have a script in the background that is notified through
This will automatically open a file if it has MIME type
I think this might actually be the proper way to do stuff. It should be the task of a dedicated program (much more complicated then this script) that is allowed to start applications on your computer. Perhaps to allow Chrome to do that is actually a potential security breach.
Of course on Windows you will need to find another tool. On MacOS, you might want to use
What I do is tell chrome to ask me where I want each file to go. I dont get a warning, but I "will" get the file/save dialog. Just go to customize and control - settings - Advanced settings - Tick "Ask where to save each file before downloading" and tell it where your default download folder is.
I have created a large default folder (C:/Temp/Downloads)with other specialized folders within it.You can use.../documents/download or anywhere you choose. Videos go to the video folder (C:/temp/downloads/videos), utilities go to the utilities folder C:/temp/downloads/utilities),texts got to the text folder and programs stay in the download folder. I have made other types also. If it is set up this way, its a simple thing to determine where a download will go and as a plus it wont tell you that a file has the possibility of being a danger to all life on earth......... lol.
I use this method to pre-sort my downloads so it is easier to find the songs from the videos from the programs from the pictures from the etc. Works for me, especially after a night finding all types of stuff that I want to try or see. Works well to create a special you-tube folder too.
Hope this helps.
There IS a way to stop Chrome (or Chromium) from showing this annoying prompt. You have to exit browser, locate Preferences file of your Chrome profile (~/.config/chromium/Default/Preferences in Linux), find 'download' section that looks like:
Originally found at askubuntu.com, posted by Rinzwind
The solution without turning off security settings is to to go to Under the Hood, in the Download section, click box next to "Ask where to save each file before downloading".
For those of you who don't know where your normal Download folder is or you are like me that you want a folder on your desktop for easy maintenance, create a new folder on Desktop, and I bet you can't guess what I named it, Download.
Then go to a site and do a search for something that has a PDF document or other downloadable file. Download it. The first time you download this type of file, the normal box pops up at bottom of your browser asking to keep or discard, select keep.
After the file is downloaded and the icon appears for that type of file, click on the little arrow to the right and click on it and in the little menu box select always open this type of file.
Go to Options / Under the hood / Privacy and uncheck "Enable phishing and malware protection".
And voilà, no warnings anymore.
protected by allquixotic Jan 27 '14 at 19:47
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?