Prevent blank tab on PDF download in Google Chrome












3















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










share|improve this question



























    3















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










    share|improve this question

























      3












      3








      3








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










      share|improve this question














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







      google-chrome






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 21 '10 at 18:22









      finiteloopfiniteloop

      95321016




      95321016






















          3 Answers
          3






          active

          oldest

          votes


















          4














          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.



          Newer versions of Chrome does support embedded PDF viewing so a lot of this answer is obsolete






          share|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.

            – finiteloop
            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.

            – BinaryMisfit
            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?

            – finiteloop
            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.

            – BinaryMisfit
            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.

            – finiteloop
            Feb 21 '10 at 19:14



















          1














          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 the 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.






          share|improve this answer

































            0














            To open up PDF's in Chrome automatically without it downloading first, you will need to reset the Chrome browser.



            Restart the machine and when the file is being opened, go to the bottom and click the Always open in Adobe Reader option.



            enter image description here



            If the Always open doesn't show up on the bottom, make the window that pop-ups smaller so the bottom shows.



            Open Adobe and then go to Edit > Preference > Internet > uncheck Display in Read mode by Default.



            enter image description here






            share|improve this answer

























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f111673%2fprevent-blank-tab-on-pdf-download-in-google-chrome%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              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.



              Newer versions of Chrome does support embedded PDF viewing so a lot of this answer is obsolete






              share|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.

                – finiteloop
                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.

                – BinaryMisfit
                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?

                – finiteloop
                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.

                – BinaryMisfit
                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.

                – finiteloop
                Feb 21 '10 at 19:14
















              4














              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.



              Newer versions of Chrome does support embedded PDF viewing so a lot of this answer is obsolete






              share|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.

                – finiteloop
                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.

                – BinaryMisfit
                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?

                – finiteloop
                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.

                – BinaryMisfit
                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.

                – finiteloop
                Feb 21 '10 at 19:14














              4












              4








              4







              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.



              Newer versions of Chrome does support embedded PDF viewing so a lot of this answer is obsolete






              share|improve this answer















              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.



              Newer versions of Chrome does support embedded PDF viewing so a lot of this answer is obsolete







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Dec 3 '12 at 6:25

























              answered Feb 21 '10 at 18:44









              BinaryMisfitBinaryMisfit

              18.8k106276




              18.8k106276













              • 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.

                – finiteloop
                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.

                – BinaryMisfit
                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?

                – finiteloop
                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.

                – BinaryMisfit
                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.

                – finiteloop
                Feb 21 '10 at 19:14



















              • 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.

                – finiteloop
                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.

                – BinaryMisfit
                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?

                – finiteloop
                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.

                – BinaryMisfit
                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.

                – finiteloop
                Feb 21 '10 at 19:14

















              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.

              – finiteloop
              Feb 21 '10 at 18:47





              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.

              – finiteloop
              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.

              – BinaryMisfit
              Feb 21 '10 at 18:52





              @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.

              – BinaryMisfit
              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?

              – finiteloop
              Feb 21 '10 at 18:56





              @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?

              – finiteloop
              Feb 21 '10 at 18:56




              1




              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.

              – BinaryMisfit
              Feb 21 '10 at 19:01





              @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.

              – BinaryMisfit
              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.

              – finiteloop
              Feb 21 '10 at 19:14





              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.

              – finiteloop
              Feb 21 '10 at 19:14













              1














              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 the 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.






              share|improve this answer






























                1














                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 the 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.






                share|improve this answer




























                  1












                  1








                  1







                  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 the 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.






                  share|improve this answer















                  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 the 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.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Dec 14 '12 at 18:44









                  ale

                  2,82563449




                  2,82563449










                  answered Aug 18 '10 at 16:53









                  user46658user46658

                  111




                  111























                      0














                      To open up PDF's in Chrome automatically without it downloading first, you will need to reset the Chrome browser.



                      Restart the machine and when the file is being opened, go to the bottom and click the Always open in Adobe Reader option.



                      enter image description here



                      If the Always open doesn't show up on the bottom, make the window that pop-ups smaller so the bottom shows.



                      Open Adobe and then go to Edit > Preference > Internet > uncheck Display in Read mode by Default.



                      enter image description here






                      share|improve this answer






























                        0














                        To open up PDF's in Chrome automatically without it downloading first, you will need to reset the Chrome browser.



                        Restart the machine and when the file is being opened, go to the bottom and click the Always open in Adobe Reader option.



                        enter image description here



                        If the Always open doesn't show up on the bottom, make the window that pop-ups smaller so the bottom shows.



                        Open Adobe and then go to Edit > Preference > Internet > uncheck Display in Read mode by Default.



                        enter image description here






                        share|improve this answer




























                          0












                          0








                          0







                          To open up PDF's in Chrome automatically without it downloading first, you will need to reset the Chrome browser.



                          Restart the machine and when the file is being opened, go to the bottom and click the Always open in Adobe Reader option.



                          enter image description here



                          If the Always open doesn't show up on the bottom, make the window that pop-ups smaller so the bottom shows.



                          Open Adobe and then go to Edit > Preference > Internet > uncheck Display in Read mode by Default.



                          enter image description here






                          share|improve this answer















                          To open up PDF's in Chrome automatically without it downloading first, you will need to reset the Chrome browser.



                          Restart the machine and when the file is being opened, go to the bottom and click the Always open in Adobe Reader option.



                          enter image description here



                          If the Always open doesn't show up on the bottom, make the window that pop-ups smaller so the bottom shows.



                          Open Adobe and then go to Edit > Preference > Internet > uncheck Display in Read mode by Default.



                          enter image description here







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jan 29 at 17:04









                          Worthwelle

                          2,70031325




                          2,70031325










                          answered Jan 29 at 16:41









                          JamesJames

                          1




                          1






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f111673%2fprevent-blank-tab-on-pdf-download-in-google-chrome%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                              Eduardo VII do Reino Unido