Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 598
Kiran Thokal Avatar asked Mar 06 '12 10:03

Kiran Thokal


2 Answers

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.

like image 187
user1233418 Avatar answered Oct 04 '22 15:10

user1233418


Using the standard MIME Type would be the best option rather than the customized one.Chrome does not support the customized MIME types.Thanks

like image 31
imran001 Avatar answered Oct 04 '22 15:10

imran001