Does Google chrome support custom MIME types?

Does Google chrome support custom MIME types? Actually, I added our own MIME type in Windows Registry that Chrome should support. But, Chrome cannot read that. I have written one method in JavaScript. In that method m calling Navigator.MimeType["<customMimeType>"] . If script is executed in Firefox it gives right result but for chrome this statement doesn't work. How can I create custom MIME type in Chrome? Is there any other way by which Plugins register their MIME type and Chrome detects that? can anybody please provide good resource to build plugin (not extension) for chrome?


Sorry but to my knowledge there is no compatibility in this current version of google chrome. You could though use a standard MIME instead with the custom MIME.


使用标准的MIME类型将是最好的选择,而不是定制的.Chrome不支持定制的MIME类型。谢谢


Have you defined all type of parameters in registry in windows??

Please refer old post to define custom mime in windows link

If you have missed last line

[HKEY_CLASSES_ROOTMIMEDatabaseContent Typeapplication/atom+xml]
    "Extension"=".atom"

here .atom is your type and application/atom+xml is your definition.

you have not defined you mime type name or definition so not able to judge on that, please define if the above does not help..

链接地址: http://www.djcxy.com/p/10528.html

上一篇: 缺少某些东西或者我只是不理解epoll?

下一篇: Google Chrome支持自定义MIME类型吗?