Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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 download window disppeared after the recent update

  • 10 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 6 views
  • Last reply by jscher2000 - Support Volunteer

Before the most recent update (version 98.0), my default setting for pdf files is to open in Firefox and a pdf website I use prompted a download window when I clicked 'Download'. It has 'popupDownload=true' in the link which I believe did the trick.

After this update, clicking the same button just opens the pdf file instead of showing the download window, ignoring the command in the link.

Can anyone help me out? Thanks in advance.

Before the most recent update (version 98.0), my default setting for pdf files is to open in Firefox and a pdf website I use prompted a download window when I clicked 'Download'. It has 'popupDownload=true' in the link which I believe did the trick. After this update, clicking the same button just opens the pdf file instead of showing the download window, ignoring the command in the link. Can anyone help me out? Thanks in advance.

All Replies (10)

Historically, Firefox always showed the download dialog if the site sent a specific "header" with the download:

Content-Disposition: attachment

In the new download workflow in Firefox 98, Firefox no longer shows the dialog automatically, but only if you change your PDF preference from Open in Firefox to Always Ask, which probably would be inconvenient on other sites.

To save the file to your folder of your choice, now you would use the Download button on the PDF Viewer's toolbar instead:

Is that a viable option for your workflow?

Sorry, that image was incorrect. In Firefox 98 when "Open in Firefox" is my default action, when I click the Download button in the PDF Viewer, I get a Save As dialog:

Thank you for your help. This means Firefox no longer cares about the header anymore right? Is there anything I can do about that?

It's a good question, and it's difficult to think of a solution. In theory an add-on could check incoming downloads for this pattern:

  • Content-Type: application/pdf
  • Content-Disposition: attachment

and change the Content-Type to something else so that Firefox doesn't follow the normal rules for a PDF.

I have an add-on that works the opposite way (it fixes messed up headers) but perhaps it might be possible to build in some special handling. (Not useful for now, but it's called Content-Type Fixer.)

Version 98 screwed up everything about file management

I have users that are now downloading the same file 20 times or more because FF doesn't ask what to do anymore it just blatantly saves to the download folder - When software developers muck with a users settings bad things will happen.

The developers need to learn ask for permissions before you screw me by changing my setting - I didn't want to change to Opera but WTF Mozilla

Another example - I used to be able to look at the contents of a zip file in windows explorer. If I only wanted 2 of the many files listed in the archive I could put a tick mark on both files and then drag them to my mozilla window and the files would get copied there - Well that no longer works. I must export all the files out my archive copy the two want to mozilla then delete everything I just Exported -_ NOT GOOD, LOST PRODUCTIVITY

capatosta மூலமாக திருத்தப்பட்டது

capatosta said

Version 98 screwed up everything about file management I have users that are now download the save file 20 times or more because FF doesn't ask what to do anymore it just blatantly saves to the download folder - When software developers muck with a users settings bad things will happen.

I think this is why the Downloads list is set to open automatically, so users see their download is completed, similar to how other browsers show something along the bottom of the document.

Obviously not everyone likes this method.

jscher2000 said

capatosta said

Version 98 screwed up everything about file management I have users that are now download the save file 20 times or more because FF doesn't ask what to do anymore it just blatantly saves to the download folder - When software developers muck with a users settings bad things will happen.

I think this is why the Downloads list is set to open automatically, so users see their download is completed, similar to how other browsers show something along the bottom of the document.

Obviously not everyone likes this method.

NO its awful Why do devlopers think hey can dictate what works for another individual ?

Hi,

I am a website owner .. and I get messages by users who complain that the page suddenly disappears on PDF download.

So opening the downloaded file in the same tab.. is obviously bad UX !

lauyflow மூலமாக திருத்தப்பட்டது

Evidently opening the pdf in the same tab will be fixed in version 101: https://bugzilla.mozilla.org/show_bug.cgi?id=1756980

Terry மூலமாக திருத்தப்பட்டது

lauyflow said

Hi, I am a website owner .. and I get messages by users who complain that the page suddenly disappears on PDF download. So opening the downloaded file in the same tab.. is obviously bad UX !

For now, unfortunately, I think you need to use a fake Content-Type that doesn't open in the PDF viewer (one site I frequent uses "application/force-download").

Terry said

Evidently opening the pdf in the same tab will be fixed in version 101: https://bugzilla.mozilla.org/show_bug.cgi?id=1756980

Yes, this is true: if the PDF download is triggered by <a download="filename.pdf"> or Content-Disposition: atachment, Firefox will direct it to a new tab. Regular PDF links won't change.