Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox Sometimes Ignores App Settings for PDFs

  • 7 отговора
  • 1 има този проблем
  • 6 изгледи
  • Последен отговор от ben115

more options

Since recent updates trampled on my app preferences, I have changed the setting for pdfs (about:preferences apps) back to "always ask". This works fine for some pdf links, but just gets ignored other times. For example if I click a file:///url/filename.pdf link, Firefox ignores this setting and opens the pdf in the FF pdf viewer.

Obviously, from there I can click the download icon, which brings up the "always ask" dialog so I can open it in my chosen app, but that is a pain, I use a wiki for accessing pdfs constantly.

FF 93.0 64 bit, Win10

Since recent updates trampled on my app preferences, I have changed the setting for pdfs (about:preferences apps) back to "always ask". This works fine for some pdf links, but just gets ignored other times. For example if I click a file:///url/filename.pdf link, Firefox ignores this setting and opens the pdf in the FF pdf viewer. Obviously, from there I can click the download icon, which brings up the "always ask" dialog so I can open it in my chosen app, but that is a pain, I use a wiki for accessing pdfs constantly. FF 93.0 64 bit, Win10

Избрано решение

I had that problem with local pdf files which was a deliberate change with FF91. I don't know why you would be having the issue with files on websites. You can prevent it by disabling Firefox as a pdf viewer. In a new tab enter about:config, accept the risk and make the following preference true. pdfjs.disabled

Прочетете този отговор в контекста 👍 0

Всички отговори (7)

more options

Firefox is a Web browser. Yes, you can access files from it, but it's not a File browser. See screenshot

Променено на от jonzn4SUSE

more options

Chrome does the same thing. see screenshot

more options

Избрано решение

I had that problem with local pdf files which was a deliberate change with FF91. I don't know why you would be having the issue with files on websites. You can prevent it by disabling Firefox as a pdf viewer. In a new tab enter about:config, accept the risk and make the following preference true. pdfjs.disabled

more options

Perfect, many thanks!

The only downside of this fix is that I now cannot use the FF pdf viewer at all. If I select FF from the "always ask" dialog, I get stuck in a loop, it just repeatedly brings up the "always ask" dialog until I select a different viewer. But I can live without the FF viewer...

If any FF peeps see this, would really appreciate a proper fix

more options

jonzn4SUSE said

Firefox is a Web browser. Yes, you can access files from it, but it's not a File browser. See screenshot

Not sure what your point is. The "Web" doesn't exclude local networks

I'm sure we are not the only company on the planet that uses an internal wiki, with links to files on our internal network. Over the years FF has made this more and more difficult...

more options

It's a deliberate change and it won't be undone: https://bugzilla.mozilla.org/show_bug.cgi?id=1733362

more options

TNorth said

It's a deliberate change and it won't be undone: https://bugzilla.mozilla.org/show_bug.cgi?id=1733362

Thanks, well spotted

So its a bug that they don't appreciate the significance of. As :Gijs says "I have to confess I'm struggling to understand the usecase here for the behaviour you want. "Downloading" a file that is already stored on file:/// is not really a useful thing to do."

Similar to Hartmut's reply on that thread, we use internal wikis for documenting our work (electronic design, hardware and software), and these wikis are littered with references to local pdfs (e.g. datasheets, specs, project plans etc). It is waaaay easier to just click a link, rather than manually navigate our local filing systems to find each pdf.