This old advice may still apply to the current Chromium :
After downloading a PDF successfully and it appears in the bottom bar, click the Down arrow to open up the context menu and make sure "Always open files of this type" is checked.
source
One workaround is to enable "Ask where to save each file before downloading"
in the Preferences "Under the Hood" tab.
It will still show the Save dialog, but just hit Enter to dismiss.
source
In general, this behavior is apparently "by design", as discussed in :
Issue 65895: Can no longer auto-open PDFs because they're considered unsafe.
A proposed solution (#57) in that issue report was :
It was suggested twice to "set the filetype to auto-open". Unfortunately, I could not find a GUI to do this. Looking into the source code, I found the relevant place in the configuration file. As a result, you can get rid of the annoying "pdf can harm your computer" warning by doing:
- Exit chromium
- edit ~/.config/chromium/Default/Preferences
- Locate a section that looks like:
"download": {
"directory_upgrade": true,
"extensions_to_open": "",
"prompt_for_download": false
},
- Change the "extensions_to_open" setting from "" to "pdf". If there are already other extensions, use a colon to separate "pdf" from the existing entries (i.e. "foo:bar:pdf").
- Save the configuration file.
Now chromium should work fine and download pdf files without the "...can harm..." warning.
The instructions are valid for Ubuntu Linux. Other operating systems may store the configuration file in different places.
Unfortunately, I don't have Chrome to test this suggestion, but it seems that
this advice doesn't work for everybody.
1You mean Chromium - Chrome has an inbuilt PDF reader & will display the PDF – Sathyajith Bhat – 2013-01-08T09:49:01.943
Check this out: http://superuser.com/questions/111674/google-chrome-annoying-download-warning
– Petr Abdulin – 2013-02-07T02:26:16.2272@Sathya you will get this in Chrome as well under certain circumstances. – MDMoore313 – 2013-02-12T01:53:33.637