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.

Rechercher dans l’assistance

É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

Sites that use javascript code to initiate a download fail in FF but work in IE.

  • 6 réponses
  • 15 ont ce problème
  • 40 vues
  • Dernière réponse par Xircal

more options

All the financial websites I use (TD Ameritrade, SunTrust bank, AmEx, etc.) allow me to download monthly statements in pdf. These used to be direct links to a pdf file, which could either be downloaded or viewed directly in Firefox. Now they're javascripts that probably formulate the pdf file on the fly from records, then download. I get a garbage file on my desktop instead. In IE, the javascript triggers a query to view or download. In Firefox, I believe there is a flash of a window that pops up, then nothing. I've tried disabling AdBlocker and have the sites listed to allow pop-ups, so that's not it.

All the financial websites I use (TD Ameritrade, SunTrust bank, AmEx, etc.) allow me to download monthly statements in pdf. These used to be direct links to a pdf file, which could either be downloaded or viewed directly in Firefox. Now they're javascripts that probably formulate the pdf file on the fly from records, then download. I get a garbage file on my desktop instead. In IE, the javascript triggers a query to view or download. In Firefox, I believe there is a flash of a window that pops up, then nothing. I've tried disabling AdBlocker and have the sites listed to allow pop-ups, so that's not it.

Solution choisie

Try running Firefox in Diagnose Firefox issues using Troubleshoot Mode. If it functions properly in that configuration, then one of your add-ons is the culprit.

See also: https://support.mozilla.com/en-US/questions/819362

Lire cette réponse dans son contexte 👍 3

Toutes les réponses (6)

more options

Update - it turns out that the garbage file downloaded is actually the pdf file, but with an erroneous extension (.do, .aspx, others), so if I replace the extension with .pdf, I get a presentable file. As this is variously bad across multiple sites, it must be an error in either Firefox or Adobe add-on. Other ideas?

more options

Solution choisie

Try running Firefox in Diagnose Firefox issues using Troubleshoot Mode. If it functions properly in that configuration, then one of your add-ons is the culprit.

See also: https://support.mozilla.com/en-US/questions/819362

more options

Bingo. Still not clear why, but on using Safe Mode, I got a dialog box asking how to handle the file. Leaving the checkbox to apply that solution henceforth for that type of file now has it working correctly when running normally. Thank you.

more options

You're welcome.

more options

I have a similar problem. I cannot read or download PDF documents in Firefox 5 but could do so in 4. I use Java 6.0.26

I now have to use IE or Chrome which both work succesfully. Do you have a solution for me?

Thanks.

Modifié le par condonmj

more options

@ condonmj, could you please start a new thread? This one is 2 months old and Firefox has been updated to version 5.0.1 in the meantime.

Click this link which will take you back to the forum list and then click the green "Ask a Question" button on the right: https://support.mozilla.com/en-US/questions

Please include the web address to the site where you get the problem.