This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 replies
  • 7 have this problem
  • 1 view
  • Last reply by 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 . . .

All Replies (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"

Modified by mbox