up vote 1 down vote favorite
share [g+] share [fb]

Sometimes when I download a PDF, Chrome will open a new blank tab, how do I prevent this?

link|improve this question

60% accept rate
feedback

3 Answers

The only way to stop the blank page is to use Right Click and Save Link As.

Since Chrome does not natively support an embedded PDF reader it assumes the PDF link is trying to open another page. It then let's the file system take over allowing your PDF reader to open the actual file. It doesn't have any facility to close the new tab that opened as it assumes it is being used for displaying the file.

However there is good news. You can use the Docs Preview Extension to preview all these documents in Chrome and it will stop this behaviour since the files will open in Chrome.

link|improve this answer
I don't want the file to open in chrome. That is the polar opposite of what I am asking. The issue is that, a blank page opens on downloading a PDF. I want the file to be downloaded, minus the blank tab I have to close. – segfault Feb 21 '10 at 18:47
@segvault. Updated my answer with a more detailed explanation. The short version however is you can't because of the way chrome handles the link. It doesn't know what it's opening. – Diago Feb 21 '10 at 18:52
@Diago so do you know of an extension that may be able to figure this out? Or some feature request submitted to Chrome for this functionality? – segfault Feb 21 '10 at 18:56
1  
@segvault. No to both. I doubt it is considered a bug as the browser is doing what it's meant to. I have experienced the same using IE and Firefox in the past unless I have a PDF reader installed. I can remember it being a problem when we were developing a website that produced PDF's. We ended up sending the PDF as a binary stream and not a link which forces the browser to open the PDF Viewer or prompt the user to download. – Diago Feb 21 '10 at 19:01
I mean, I know its not a bug. But I can't think of a case where such activity is desirable. Who would prefer there being a blank page to not being a blank page? I am able to avoid that from occurring in Firefox by changing a preference in the Download Statusbar add-on. – segfault Feb 21 '10 at 19:14
show 4 more comments
feedback

This happens for any download, not just PDFs though. Download a Word doc, excel spreadsheet, installer image, etc. -- they all open a new blank tab and start the download in the download ribbon at the bottom of the window. Why is the blank tab there? The browser, in this case, clearly knows that it's a download: it starts the download in the download bar and you can monitor its progress there. So it shouldn't put up a separate tab -- what's the point of that tab? [[Sorry -- this should have been a comment not an answer!]]

link|improve this answer
feedback

okay, i got it to do this finally.

  1. go to about:plugins and disable the Adobe Acrobat Adobe PDF Plug-In For Firefox and Netscape

  2. Open adobe acrobat and go to edit --> preferences --> internet and uncheck display PDF in browser

(steps 1 and 2 might be redundant, but this is what i did and it worked.)

  1. Click on a pdf link. Depending on your settings, you will either get a popup asking where to save pdf, or the pdf will save automatically to your specified directory. If you want all pdfs to auto-open, click the little arrow to the right of a pdf download, and select Always open this type of file.

Hope that helps.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.