搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 6 个回答
  • 15 人有此问题
  • 40 次查看
  • 最后回复者为 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

定位到答案原位置 👍 3

所有回复 (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.

由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.