Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I add a new file type to Edit /Preferences / Applications?

  • 2 个回答
  • 44 人有此问题
  • 1 次查看
  • 最后回复者为 ahorn

more options

I am using Firefox 3.6.12 on Linux. When I try to download an .XLSB attachment from Gmail, Firefox tells me that this is a BIN file and my only option is to Download. It does not give me any ability to choose an application.

I would like to associate the extension or MIME type with OpenOffice, which can in fact open this file successfully once downloaded. How do I do this? Edit / Preferences / Applications does not list XLSB or BIN or anything else that seems useful. And there seems no way to add a new filetype.

Clicking Help in that dialog box takes me to http://support.mozilla.com/en-US/kb/Options+window+-+Applications+panel?style_mode=inproduct&as=u which does not give any useful advice on how to add a new filetype (nor does it even say that it is impossible or requires hacking a MIME configuration file or something).

I am using Firefox 3.6.12 on Linux. When I try to download an .XLSB attachment from Gmail, Firefox tells me that this is a BIN file and my only option is to Download. It does not give me any ability to choose an application. I would like to associate the extension or MIME type with OpenOffice, which can in fact open this file successfully once downloaded. How do I do this? Edit / Preferences / Applications does not list XLSB or BIN or anything else that seems useful. And there seems no way to add a new filetype. Clicking Help in that dialog box takes me to http://support.mozilla.com/en-US/kb/Options+window+-+Applications+panel?style_mode=inproduct&as=u which does not give any useful advice on how to add a new filetype (nor does it even say that it is impossible or requires hacking a MIME configuration file or something).

所有回复 (2)

more options

With which MIME type does the server send the BIN files?

See "File handling in Firefox 3 and SeaMonkey 2": http://kb.mozillazine.org/File_types_and_download_actions

more options

The general question is how to get firefox to call a homemade script/program, when it "meets" a special mime-type (i.e. another file with a homemade extension). My firefox 5.0 can not "see" the local scripts on my MAC OSX (Snow leopard), although it is indeed executable (the script appears "grey" in the list). How can you force firefox to accept homemade scripts associated to homemade file-extensions/mime types?