ابحث في الدعم

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

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

  • 6 ردود
  • 15 have this problem
  • 40 views
  • آخر ردّ كتبه 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.

الحل المُختار

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

Read this answer in context 👍 3

All Replies (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

الحل المُختار

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.

Modified by 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.