How to disable the internal pdf reader in Firefox and Chrome - gHacks Tech News

How to disable the internal pdf reader in Firefox and Chrome

Mozilla Firefox and Google Chrome ship with built-in pdf reader applications that will display documents in the browser when you click on them.

While some may like that as it may be convenient for them, others may prefer to use a different program for that or download the files directly to their computer system to load it in a desktop program instead or have it there for safekeeping.

It is possible to download pdf documents directly in both browsers or configure the browsers to use third-party plugins to handle pdfs.

Just right-click on the file link and select the save option here, but if you want that to be triggered on a left-click as well, you need to modify how pdf files are handled by the browser.

How to disable Chrome's pdf reader

Chrome pdf viewer

It is pretty simply to disable Google Chrome's native pdf reader.

  1. Type chrome://plugins in the browser's address bar and hit the enter key on your keyboard afterwards.
  2. This displays all third-party and native plugins currently installed in the browser as well as their state.
  3. Locate Chrome PDF Viewer and click on the disable link to turn it off.

When you click on a pdf document afterwards, it will automatically be downloaded instead of displayed.

Note: If you have installed another plugin or extension that acts as a reader for pdf documents, then it will be used.

Additional information

  1. Disable Google Chrome's Native PDF Viewer, Flash Plugin
  2. Google Chrome gets native PDF plugin

Turn off PDF reader in Firefox

Firefox users have multiple options in this regard. The first uses the browser's applications menu to set a different action for pdf file types.

pdf-in-firefox

  1. Tap on the Alt-key on your keyboard and select Tools > Options from the menu bar that opens up.
  2. Switch to Applications and filter by pdf using the search at the top.
  3. There are three main actions available: always ask displays a prompt that provides you with options to select the action for every pdf document you click on in Firefox.  Save file will automatically download the pdf file to the system, while Use application will use the selected program to display the document instead.

To disable the internal pdf reader, select always ask or save file. If you want to use another pdf reader, select the program instead.

There is a second option available, and it involves editing Firefox's advanced configuration.

pdfjs-disabled

  1. Type about:config in the Firefox address bar and hit enter.
  2. Confirm you will be careful if the warning prompt appears.
  3. Search for pdfjs.disabled using the form at the top.
  4. The default value of the preference is set to false, which means that the pdf reader is enabled.
  5. Double-click on the name to set it to true. This disables the reader.

Additional information

  1. Disable the display of PDF files in Firefox
  2. How to change the internal PDF viewer in Firefox
  3. Fix PDF document display issues in browsers
Summary
How to disable pdf viewers in Chrome and Firefox
Article Name
How to disable pdf viewers in Chrome and Firefox
Description
Walks you through the steps of disabling the internal pdf reader in the Chrome and Firefox web browser.
Author

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. David said on April 22, 2014 at 12:16 pm
    Reply

    SumatraPDF works really well as a browser plugin, although i read (twice) that the devs are discontinuing that feature.

  2. Oxa said on April 22, 2014 at 2:51 pm
    Reply

    I use PDF X-Change as my viewer. I’ve noticed ever since FF version 24 that there’s been a terrible pause in opening and closing pdfs. I suspect the problem lies with FF, given their track record.

  3. TheAslan said on April 22, 2014 at 4:50 pm
    Reply

    Chromium has also flag called Enable out of process PDF, but I have no idea what it does. Seems like it does nothing. Can you enlighten us Martin.

    1. Martin Brinkmann said on April 22, 2014 at 5:01 pm
      Reply

      It is running Chrome’s pdf reader in its own process when enabled.

      1. TheAslan said on April 22, 2014 at 5:05 pm
        Reply

        When I enable it I don’t see any difference, Chromium does not have built in pdf reader. And this flag does not enable any other pdf reader either. I have tested this several times.

      2. Martin Brinkmann said on April 22, 2014 at 5:29 pm
        Reply

        I only tested it in Chrome, and here it works. I suppose it is not working in Chromium because it does not ship with Google’s internal pdf viewer.

  4. Blue said on April 22, 2014 at 7:17 pm
    Reply

    When I ran Ubuntu v12.04 a few months back and downloaded Chromium for it – it handled PDF documents as Chrome did. What version of Chromium are you using?

    1. TheAslan said on April 22, 2014 at 9:50 pm
      Reply

      Version 36.0.1949.0 (264922) (trunk version).

  5. Niks said on April 23, 2014 at 6:36 am
    Reply

    Do you use Firefox Nightly as your default browser for surfing ? Almost all of your Firefox posts have Nightly screenshots .

    1. Martin Brinkmann said on April 23, 2014 at 7:26 am
      Reply

      Yes I do.

      1. Niks said on April 23, 2014 at 8:07 am
        Reply

        Not worried about security bugs ? Passwords and all that shit ??

      2. Martin Brinkmann said on April 23, 2014 at 8:10 am
        Reply

        Not really. Security patches get implemented in Nightly first.

  6. bharath said on April 26, 2014 at 7:27 pm
    Reply

    May be it is useful for hard core developers to test the browsers.

Leave a Reply