Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 6 respostas
  • 15 têm este problema
  • 40 visualizações
  • Última resposta por 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.

Solução escolhida

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

Ler esta resposta no contexto 👍 3

Todas as respostas (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

Solução escolhida

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.

Modificado por condonmj a

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.