Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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.