In Chrome, how do I directly download a PDF from a Google search

5

1

When PDF files are returned by a Google search, sometimes I'd like to just download them, rather than viewing them in the browser.

Google results with a PDF

How on earth do I do this in Chrome?

I can't right-click the link and Save As, because that link isn't really to the PDF.

Note: This is not a duplicate of Download arbitrary file with Google Chrome because the solution given was to simply right-click and Save As, which does not work in this situation.

Rocketmagnet

Posted 2012-09-13T21:41:59.730

Reputation: 193

It's not really a link (anymore), that's why you can't right it and select Save As. – James K – 2012-09-13T22:05:12.953

It is a link, but the URL is actually google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&c... – Rocketmagnet – 2012-09-13T22:07:45.277

I didn't mean the blue link text, I meant the green text used to be a link, but Google changed that some time ago. About the same time that the advanced search switches + and - started bringing up empty searches. – James K – 2012-09-13T22:29:43.017

Stupid Google... – Rocketmagnet – 2012-09-13T22:36:47.747

2Indeed. It's like their motto has changed to "Don't be evil, just be annoying." – James K – 2012-09-13T22:51:23.440

Answers

8

The only way I know to do this for a PDF file would be to disable Chrome's automatic mode of opening PDF's.

I'm using the latest Chrome on OS X:

Chrome Menu -> Settings -> Advanced Settings -> Content Settings -> Disable Individual Plugins -> Disable Chrome's PDF Reader

Or the short way: chrome://plugins

Now when you click the file it should automatically download it.

You can further read about disabling PDF in Browser over here: Stop PDFs from displaying inside Google Chrome

Hope that helps!

Adrian Lungu

Posted 2012-09-13T21:41:59.730

Reputation: 166

Thanks. This is such an annoying lack of a feature. My usual method is to write an HTML file, and put the URL in as a link so that I can open it up and do save as. – Rocketmagnet – 2012-09-13T22:03:09.073

4

EDIT: Actually I misunderstood your question. You can just load the PDF page and the press CTRL+S.

Google is trying to gather more information by first sending you to a google URL that then forwards you to the PDF. That's why the plain-text "link" is no-longer an actual link.


You can select / highlight the text URL, right click on it, the click "go to www.glyn.de/data..."

Google Results

Once the page is loaded, press CTRL+S

James K

Posted 2012-09-13T21:41:59.730

Reputation: 153

This works well. – Jayhello – 2018-06-30T11:44:07.230

No, that does not save the file. Again it tries to open it in the browser. – Rocketmagnet – 2012-09-13T21:48:40.547

Much better! Chrome tries to load the PDF (and as usual Adobe dies for some reason) but I can still save with ctrl+S. – Rocketmagnet – 2012-09-13T22:07:01.393

3

Mr. Justin Pot describes what to do for Chrome and Firefox here: http://www.makeuseof.com/tag/copy-crapfree-urls-googles-search-results/

Summary: Chrome: Install 'Don't track me Google'

Firefox: Install the Firefox addin 'Google/Yandex search link fix'

PS. This issue had caused me to change my home page to search.yahoo.com - I still have the Google search tool however at the top.

With Yahoo, the links are real links, so you can click 'Save Link As' and save your PDF as you used to be able to.

(You also get the old Google cached links which is another benefit)

MikeW

Posted 2012-09-13T21:41:59.730

Reputation: 148

3

There is an extension in Chrome Extension market which directly download pdf instead of opening.

"Direct Pdf Download" Link is :- https://chrome.google.com/webstore/detail/direct-pdf-download/igpfkcnkddfkacjpffopkioandifnkpi

Web Startup

Posted 2012-09-13T21:41:59.730

Reputation: 31

3

Marcus Svensson has made a Chrome extension "Fix Copy Link Address" (https://chrome.google.com/webstore/detail/fix-copy-link-address/aeecoplkhlfpclbiabnfkjlfkbhpbcjd), which does exactly the same as the Google/Yandex search link fix mentioned above. You will get the real URL and not the Google-produced one.

JanHerman

Posted 2012-09-13T21:41:59.730

Reputation: 31

2

Chrome can be told to download PDF files instead of previewing them.

Do this:

  1. Open Settings
  2. Scroll to the bottom and click on "Show advanced settings..." hyperlink
  3. Under "Privacy" section, click on "Content Settings..." button
  4. Scroll down to the bottom and check "Open PDF files in the default PDF viewer application".

These instructions are tested on Google Chrome 56.0.2924.87 for Windows.

It will directly download without showing any preview on Chrome.

user700574

Posted 2012-09-13T21:41:59.730

Reputation: 21

2

When you perform a Google query, the links in the results page do not actually point to the pages you expect. Instead, they point to a Google server which logs which link you click and then redirects you to the actual page. They do this so that they can track the results (i.e., which of the results we found were actually desirable by the user?)

The problem is that they trick users and hide this behavior. When the page loads, it uses JavaScript to print the actual/correct URL to the status bar when you hover the cursor over a link in the results page, but the link still points to page on their servers instead of the page/resource expected. That’s why when you try to save a non-HTML result, you get the wrong thing.

(You can actually see the redirection in action by right-clicking a link, dismissing the context-menu, then hovering over a link. You’ll notice that the correct URL is show before right-clicking, and then the Google URL is shown after. In fact, if you disable JavaScript altogether, the hiding mechanism goes away and you can see that the links are all to Google’s server.)

There is an easy fix however, just install a browser extension to override this tracking and make the links point to the actual pages/files. There are plenty available; just search for Google tracking or something to that effect. Note however that not all will work correctly, so you may have to test a few. My personal recommendation is the googlePrivacy user-script. Not only does it work, but because it’s just a user-script instead of a full-fledge extension, it doesn’t use as much resources.

Now, whenever a Google search returns non-HTML results, you can simply right-click the link and select Save As or hold Alt (or ⌥ (Option) on Macs) and left-click it.

Synetech

Posted 2012-09-13T21:41:59.730

Reputation: 63 242

Alt+left-click doesn't work with Mac trackpads, just opens context menu. – dzh – 2016-05-10T22:16:24.573