For some image elements in a web page, the file extension is not provided. Here is an example.
http://c.fsdn.com/allura/p/pdfsam/icon
How can I get the image's mimetype by javascript if the file extension is not provided? If possible I am looking for a solution that does not require to get the mimetype detail from Ajax or Network connection. I am looking something like a DOM property:
img.mimeType
I am try to get the detail for Google Chrome.