Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox does not open Acrobat after downloading a file

Although Acrobat is properly installed as an application in Firefox, each time Firefox downloads a PDF file, instead of opening the file, I get a pop up box asking me whether or not to open the file.

The box labeled 'Do this Automatically' is blocked out.

What am I missing???? How do I fix this?????

Although Acrobat is properly installed as an application in Firefox, each time Firefox downloads a PDF file, instead of opening the file, I get a pop up box asking me whether or not to open the file. The box labeled 'Do this Automatically' is blocked out. What am I missing???? How do I fix this?????

Toutes les réponses (5)

This does not solve my problem. Please see the image capture.

Hi Wmbiird, the problem is that the server is sending a non-specific content type. Instead of specifying application/pdf it is sending application/octet-stream which is a generic content type that Firefox won't associate with a standard action, even if you tell it to do so.

(See attached screenshot.)

You might wonder why the site is using a non-specific content type when every webmaster knows how to identify a PDF, and the most likely explanation is that the site wants to force a download dialog, bypassing the behavior of showing a PDF in a tab.

Edit: There's a discussion of this content type here: https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/MIME_types#Important_MIME_types_for_Web_developers

Modifié le par jscher2000 - Support Volunteer

jscher2000:

Thanks for your reply. I read the link and the attachment and the explanation is above my pay grade. Why there is this difference is totally beyond me. As Firefox recognizes the file is a PDF, why should the response be different?

I initiated the download by clicking on a link.

If you're asking why Firefox doesn't just disregard the unhelpful content-type information and base its behavior on the file extension, I don't know the original reasoning, but it has always been that way. In another thread today, the server was sending a .png image file with the content type text/plain, so Firefox suggested opening it in Notepad. Webmasters are supposed to do things right.