搜尋 Mozilla 技術支援網站

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

Learn More

MimeTypes.rdf missing

  • 3 回覆
  • 0 有這個問題
  • 最近回覆由 cor-el

more options

Hi,

I'm using FF on Fedora 39.

However Firefox does not remember any file associations. The MimeTypes.rdf file in the profile is missing and is also not created on restarting the browser.

In the options I've now set the configuration to "Ask whether to open or save files". Now I see a popup when clicking on a file however there is no checkbox with "remember this file associations" (or something similiar).

Hi, I'm using FF on Fedora 39. However Firefox does not remember any file associations. The MimeTypes.rdf file in the profile is missing and is also not created on restarting the browser. In the options I've now set the configuration to "Ask whether to open or save files". Now I see a popup when clicking on a file however there is no checkbox with "remember this file associations" (or something similiar).

被選擇的解決方法

Firefox would normally be able to handle JPG files internally (image/jpeg) and display them in a tab. You can only set an action if the file is send with a valid image content type, if the file is send with a generic content type like "application/octet-stream" or "content-disposition:attachment" then you won't be able to set an action. You should be able to check the HTTP response headers in the Network Monitor.

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

所有回覆 (3)

more options

Firefox stopped using MimeTypes.rdf years ago, current releases use handlers.json.

有幫助嗎?

more options

Ok, thanks. However I cannot make Firefox remember the association for file types, e.g. jpeg. There is simply no checkbox (see attached image)

有幫助嗎?

more options

選擇的解決方法

Firefox would normally be able to handle JPG files internally (image/jpeg) and display them in a tab. You can only set an action if the file is send with a valid image content type, if the file is send with a generic content type like "application/octet-stream" or "content-disposition:attachment" then you won't be able to set an action. You should be able to check the HTTP response headers in the Network Monitor.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題