Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Firefox 3.6.8 not honoring type=<mime-type> in hyperlink

  • 2 个回答
  • 5 人有此问题
  • 9 次查看
  • 最后回复者为 semmerson

more options

When I click on the link

   <a href="foo.udda" type="application/x-udda">foo</a>

Firefox 3.6.8 displays the file's contents as text rather than asking me how to process the file.

How do I associate an application with the mime-type?

I'm running Firefox 3.6.8 Linux i686 (x86_64) with the NoScript 1.10 extension.

When I click on the link <a href="foo.udda" type="application/x-udda">foo</a> Firefox 3.6.8 displays the file's contents as text rather than asking me how to process the file. How do I associate an application with the mime-type? I'm running Firefox 3.6.8 Linux i686 (x86_64) with the NoScript 1.10 extension.

由semmerson于修改

所有回复 (2)

more options

The server needs to send the correct MIME type, you can't specify it that way.

See http://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types

more options

I'm confused and hope you'll humor me. Why can't the mime-type of a link target be specified using the "type" attribute of the link element? Am I misinterpreting the description of that attribute http://www.w3.org/TR/html4/struct/links.html#h-12.2? If not, then do all browsers ignore this attribute?