搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Windows 10 settings doesn't list firefox as default for pdf files.

  • 3 回覆
  • 1 有這個問題
  • 35 次檢視
  • 最近回覆由 Trinilad

more options

Firefox (fully up to date, v 66.0.5) will not open pdf files using its default reader on either of my 2 desktop PCs (one with W10 Home, other with W10 Pro). I have tried all suggestions I've come across, including setting 'Portable Document Format (PDF)' to 'Preview in Firefox', and, in about:config, I've confirmed that pdfjs.disabled is set to 'false'. Perhaps the best clue, not discussed in any help articles I've viewed so far, is that Windows 10 Settings > 'Choose default applications by files type' lists only Google Chrome (my previous default browser) and Microsoft Edge - no sign of Firefox! if I set the pdf file default to Chrome, then its coloured circular logo appears to the left hand side of all pdf files listed in any folder I've viewed so far in either PC and pdf files are displayed in Chrome; likewise with Edge, its logo appears instead and it opens and displays pdf files. Thank you

Firefox (fully up to date, v 66.0.5) will not open pdf files using its default reader on either of my 2 desktop PCs (one with W10 Home, other with W10 Pro). I have tried all suggestions I've come across, including setting 'Portable Document Format (PDF)' to 'Preview in Firefox', and, in about:config, I've confirmed that pdfjs.disabled is set to 'false'. Perhaps the best clue, not discussed in any help articles I've viewed so far, is that Windows 10 Settings > 'Choose default applications by files type' lists only Google Chrome (my previous default browser) and Microsoft Edge - no sign of Firefox! if I set the pdf file default to Chrome, then its coloured circular logo appears to the left hand side of all pdf files listed in any folder I've viewed so far in either PC and pdf files are displayed in Chrome; likewise with Edge, its logo appears instead and it opens and displays pdf files. Thank you

被選擇的解決方法

Right click on any pdf file Select Properties Where it says Opens With: click Change In the dialog window look for Firefox

If it isn't there - Scroll to the bottom and select More Apps If it isn't in that list Scroll to the bottom and select Look for another app on this PC In the Open With... window double-click Mozilla Firefox Select Firefox and click Open at the bottom

This will set ALL of your pdf files to open with Firefox.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

Right click on any pdf file Select Properties Where it says Opens With: click Change In the dialog window look for Firefox

If it isn't there - Scroll to the bottom and select More Apps If it isn't in that list Scroll to the bottom and select Look for another app on this PC In the Open With... window double-click Mozilla Firefox Select Firefox and click Open at the bottom

This will set ALL of your pdf files to open with Firefox.

more options

Hi Trinilad, I don't know if it's normal for Firefox to appear in Windows 10's list of programs that open PDFs. I think we should focus for now on the internal settings issue.

So Firefox is already set to "Preview in Firefox" and it doesn't work for any PDFs anywhere? Or does it work for some and not for others?

If it doesn't work for any PDFs from anywhere, the problem could be corruption in the settings file that stores download handling preferences. You can rename the file and have Firefox rebuild it. Here's how:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in File Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > Exit
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then rename handlers.json to something like handlersOLD.json. If you see a file named mimeTypes.rdf, rename that one to mimeTypesOLD.rdf.

Start Firefox back up again. Any improvement?

more options

Wow, many thanks to 'My_Cheese_Is Slippin. Your solution worked for me on both my Windows 10 PCs. Incidentally, Firefox is now listed in the 'Choose an application' window in W10's Settings on both PCs and all the pdf files in all folders I've checked so far now have the Firefox icon displayed to the left of the file names. Thank again for your prompt and effective reply.