type using JavaScript

I have a question about mime-types. I found found information how to add custom tags to html document using document.registerElement function. Is there a similar way to register own mime-types? I know how to do it using native language plugins for web browser but I'm interested only in potential JavaScript solution.

For example I would like to DOM element

<object type="my_own_mime_type"/>
链接地址: http://www.djcxy.com/p/61334.html

上一篇: 选择vs轮询vs epoll

下一篇: 键入使用JavaScript