View PDF files in Firefox

Revision Information
  • Revision id: 31314
  • Created:
  • Creator: Aleksej
  • Comment: not telling NoScript users to disable it completely
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: Verdi
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: Verdi
Revision Source
Revision Content

To display PDF files inside the Firefox browser window, you can use the PDF Viewer extension or a PDF reader plugin. This article covers both methods and how to fix the common issues you might encounter.

Using the PDF Viewer extension

Note: This extension is still in Beta phase. If you are not comfortable with that, you should instead consider using a PDF reader plugin and skip down to this section.

PDF Viewer (aka pdf.js) is a new revolutionary extension using web standard technologies that allows you to display within Firefox almost all PDF files found on the web without a plugin.

PDF JS

As it's not very old, it has the following teething problems.

PDF files open with the PDF reader plugin instead of the extension

Enabling PDF Viewer is not enough so that Firefox uses it as the default PDF viewer. You need to disable every PDF reader plugins:

  1. Click the menu button Fx57menu , click Fx57Addons-icon Add-ons and select Plugins.
  2. Select each PDF reader plugin and click Disable close to it.

Some PDF files don't render well or are blank

PDF Viewer may have some issues to render fonts, colors or the whole document in certain PDF files. Disable it temporarily so that the PDF file opens outside Firefox with your default PDF reader:

  1. Click the menu button Fx57menu , click Fx57Addons-icon Add-ons and select Extensions.
  2. Select PDF Viewer and click Disable close to it.
    • When you're done, click Enable to use it again for other PDF files.

Cannot open any PDF files

Some extensions blocking JavaScript scripts may prevent PDF Viewer from viewing PDF files. You can disable them:

  1. Click the menu button Fx57menu , click Fx57Addons-icon Add-ons and select Extensions.
  2. Select each blocking extension and click Disable close to it.

For more information, see Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems.

Using a PDF reader plugin

If you can't deal with the PDF Viewer problems, you can still use PDF reader plugins like Adobe Reader, Nitro PDF Reader or Sumatra PDFAdobe Reader, MozPlugger, or KParts pluginSchubert|it PDF Browser Plugin on Mac OS X 10.6 and later.

Only the first page is visible (Mac 10.5 and below)

If PDF documents open within Firefox but only the first page is viewable, make sure that the QuickTime plugin isn't set to handle PDF content:

  1. From the Apple menu, choose System Preferences.
  2. From the View menu, choose QuickTime.
  3. Click the Plug-In tab and click MIME settings....
  4. In the list of MIME types, click the triangle next to "Images - Still image files".
  5. If "PDF Image" is checked, click the check box to clear it.
  6. Click OK

If you can't view a PDF in Firefox, continue with the next following instructions.

PDF files are downloaded

Check Firefox settings

  1. Click the menu button New Fx Menu Fx57Menu and choose Options.Preferences.
  2. Select the Applications panel.
  3. Find Adobe Acrobat Document (if you're using Adobe Reader) or PDF files (for other PDF readers) in the list and click on it to select it.
  4. Click on the drop-down arrow in the Action column for the above entry and select Use PDF reader name (in Firefox).
    Opening PDF - Win
    • If Use PDF reader name (in Firefox) is not listed as an Option, see Reset download actions below and then repeat this set of instructions.
  5. Close the about:preferences page. Any changes you've made will automatically be saved.

If you still can't view a PDF in Firefox, continue with the following instructions.

Reset download actions

  1. Open your profile folder:

    Click the menu button Fx57menu , click Help and select Troubleshooting Information.From the Help menu, choose Troubleshooting Information. The Troubleshooting Information tab will open.

    • Under the Application Basics section, click on Open FolderShow in FinderOpen Directory. A window will open that contains your profile folder.Your profile folder will open.
    Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.

  2. Click the menu button New Fx Menu and then click ExitQuit Close 29 .

    Click the Firefox menu Fx57Menu , then click Exit. Click the Firefox menu at the top of the screen, then click Quit Firefox.Click the Firefox menu Fx57Menu , then click Quit.

  3. Delete the mimetypes.rdf file.

Check Application settings

If the PDF reader plugin comes bundled with a reader application, check the application plugin setting if there is some.

  • Adobe Reader:
    1. Open Adobe Reader.
    2. Once in Adobe Reader, click the Edit menu in the menu bar, and then click Preferences... The Preferences window will open.
    3. In the Categories section, click on Internet.
    4. Make sure the first check box, Display PDF in browser, is checked.
    5. Click OK to dismiss the Preferences window, and then close Adobe Reader.

If you still can't view a PDF in Firefox, continue with the next following instructions.

Re-initialize the plugins database

Follow the instructions in the Re-initializing the plugins database section of the Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems article.

This will force Firefox to rebuild its plugin database. If you still can't view a PDF in Firefox, continue with the next following instructions.

Re-install the application

If the PDF reader plugin comes bundled with a reader application and the above troubleshooting methods for Firefox did not work, uninstall and re-install the application.

If you still can't view a PDF in Firefox, continue with the next following instructions.

Further information for Adobe Reader

If none of the above troubleshooting methods worked, see Can't view PDF on the web from Adobe.com for further instructions.