ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

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

  • 2 პასუხი
  • 5 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 9 ნახვა
  • ბოლოს გამოეხმაურა semmerson

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)

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

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?