搜索 | 用户支持

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

详细了解

How can I get firefox 4 to stop prompting for handling of a file type? I have already set "always automatically do this" and checked application preferences. Any other things to try?

  • 6 个回答
  • 7 人有此问题
  • 1 次查看
  • 最后回复者为 mbox

more options

I am using FF4 to download some .nzb files. I just want it to open the appropriate application when I click to download the .nzb file. Instead, I get prompted each time. this wasn't a problem on beta FF4. I also verified my application settings. Also, not a problem in Chrome or IE . . .

I am using FF4 to download some .nzb files. I just want it to open the appropriate application when I click to download the .nzb file. Instead, I get prompted each time. this wasn't a problem on beta FF4. I also verified my application settings. Also, not a problem in Chrome or IE . . .

所有回复 (6)

more options

The application to handle isn't determined by the file extension, it's determined by the server content-type header. If your server is always sending application/octet-stream then by DEFINITION that means that it's an unknown filetype and that Firefox should prompt you.

Most other browsers don't respect this part of the spec but that's what they're supposed to do.

You can read more about it here

more options

Firefox's automatically opening file behavior depends on the site sending the correct mime type with the file. We don't/should not trust the file extension.

more options

Well, the content-type headers don't appear wrong:

Content-Type:application/x-nzb

FYI, it was chunked encoded, other than that, the transaction looked fine.

Any other ideas?

more options

Attachment headers also cause this.

more options

Yep, showing as attachment:

Content-Disposition:attachment; filename="Jamies Dream School S01E01 WS PDTV XviD FTP.nzb"

Any way to work-around this issue, perhaps by site?

more options

I finally found a solution to this problem. Simply install the InlineDisposition extension: https://addons.mozilla.org/en-US/firefox/addon/inlinedisposition/

Sites like Binsearch will now load nzb files into Newsbin (or any other usenet reader) automatically without the user getting the "What should Firefox do with this file?" prompt every time after you've already checked "Do this automatically for files like this from now on"

由mbox于修改