搜尋 Mozilla 技術支援網站

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

Learn More

Firefox does not recognize many content types

  • 4 回覆
  • 1 有這個問題
  • 186 次檢視
  • 最近回覆由 allcort

more options

Recently the majority of content types have disappeared from the Applications section in the Settings. (See the attached screenshot) Even Word and other MS Office files are not on the list any more. Consequently, when I open a Word file, Firefox asks me where to save it and does not offer to either save it or open it.

I tried editing handlers.json file and added an entry for PDF files. Now upon clicking on a link that leads to a PDF file, Firefox prompts me to open it or save it. However, if I choose to open it, the file gets saved in the Downloads folder, rather than Temp folder like previously. The result is that the Downloads folder gets filled with files that I have opened but did not want to save and keep.

I created a new Firefox profile to see whether the previous list of content types would return. This did not work, and the new profile, too, shows only a few content types.

What could be the problem? Thanks.

Recently the majority of content types have disappeared from the Applications section in the Settings. (See the attached screenshot) Even Word and other MS Office files are not on the list any more. Consequently, when I open a Word file, Firefox asks me where to save it and does not offer to either save it or open it. I tried editing handlers.json file and added an entry for PDF files. Now upon clicking on a link that leads to a PDF file, Firefox prompts me to open it or save it. However, if I choose to open it, the file gets saved in the Downloads folder, rather than Temp folder like previously. The result is that the Downloads folder gets filled with files that I have opened but did not want to save and keep. I created a new Firefox profile to see whether the previous list of content types would return. This did not work, and the new profile, too, shows only a few content types. What could be the problem? Thanks.
附加的畫面擷圖

被選擇的解決方法

The problem was with version 98.0. Several users have reported losing content types. Moreover, files are saved even if you only want to open them. A temporary fix for that problem is outlined in the thread linked here. https://support.mozilla.org/en-US/questions/1370494

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

所有回覆 (4)

more options

Hello, When you click a download link to a file that Firefox cannot handle internally, you may see a dialog asking whether you want to save the file or open it with a specific application, if there is no download action already set for that file type. The Media type, also called the MIME type or Content type, as configured by the web server, will determine what action Firefox will take.

The following article describes how Firefox handles downloads of different types of content, such as saving a file or opening an application installed on your computer, and how you can change that behavior. Manage file types and download actions in Firefox. I hope this helps to solve your problem

more options

選擇的解決方法

The problem was with version 98.0. Several users have reported losing content types. Moreover, files are saved even if you only want to open them. A temporary fix for that problem is outlined in the thread linked here. https://support.mozilla.org/en-US/questions/1370494

由 Terry 於 修改

more options

Hi,

I have the same problem, also with theversion 99, but strangely on another PC that has version 98.02 installed this problem does not happen.

Anyone have any tips to fix the problem?

Thanks

more options

david.biondi said

Hi, I have the same problem, also with theversion 99, but strangely on another PC that has version 98.02 installed this problem does not happen. Anyone have any tips to fix the problem? Thanks

I don't know why your other computer has been spared from this problem. However, the fix is to go to about:config and set the "browser.download.improvements_to_download_panel" preference to "false." Unfortunately, it seems that this option will be removed in the future due to the ill-conceived belief among the developers that the user should not have a say whether a file is downloaded or just opened and discarded.