This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

PDF docs in firefox open a different way every time I launch

  • 2 svar
  • 2 har dette problemet
  • 4 views
  • Siste svar av cor-el

more options

Under "Tools -> Applications" my PDF viewer continually changes its options based on how the last document was opened. I want to lock Firefox down so it only opens PDFs with my PDF viewer/document manager. How do I do that? I don't want it opening in Firefox or saving or anything else. Sometimes it plays so badly that it opens an endless series of blank tabs (Open in Firefox option) .

Win7 x64, FF 40.0.3, Foxit Phantom 5.1.2.035

Under "Tools -> Applications" my PDF viewer continually changes its options based on how the last document was opened. I want to lock Firefox down so it only opens PDFs with my PDF viewer/document manager. How do I do that? I don't want it opening in Firefox or saving or anything else. Sometimes it plays so badly that it opens an endless series of blank tabs (Open in Firefox option) . Win7 x64, FF 40.0.3, Foxit Phantom 5.1.2.035

All Replies (2)

more options

First, it's best not to choose Open in Firefox from the download dialog. Usually Firefox is showing that dialog because it wasn't able to handle the content type. This article describes how to address that issue: Firefox repeatedly opens empty tabs or windows after you click on a link.

Second, websites do not always send the content-type header application/pdf for PDFs, which is what the Portable Document Format (PDF) setting on the Applications panel of the Options page actually matches up with (not the file extension). If the website sends a different content type header, the results can be random...

more options

Note that the built-in PDF Viewer only works with the content type application/pdf and not with others.

When Firefox asks what application to use to handle a file then you should never select Firefox because Firefox wouldn't ask you if it can handle the file.

Try to rename (or delete) the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.

You can use this button to go to the current Firefox profile folder: