Mime types registration problem

Robin Rosenberg robin.rosenberg at dewire.com
Fri Mar 14 23:15:46 GMT 2003


fredagen den 14 mars 2003 21.09 skrev David Faure:
> On Friday 14 March 2003 19:03, Robin Rosenberg wrote:
> > I have a problem with mime-types in javascript. Why doesn't konqueror
> > list some mime types in navigator.mimeTypes
> >
> > This is the content of the .desktop file. Konqueror finds and can use the
> > mime type just fine, but it does not show up javascript.
> >
> > On the system (Mandrake 9.0 plus KDE 3.1 from cooker) there about two
> > hundred mime-types, but the navigator.mimeTypes only contains 81 entries.
> > Running as another user (su) I get no types. and on a Mandrake 9.0 I get
> > 183 types.
>
> Only the mimetypes for which there is a NS plugin are listed.
> This doesn't include the Java mimetypes, since Java isn't handled as a NS
> plugin by Konqueror, but directly using a JVM.

So, should Webstart be handled by Konqueror directly? 

> > The reason I'm asking is that Sun's example code for Java Webstart uses
> > JavaScript to see if WebStart is installed and it does this by checking
> > the navigator.mimeTypes array.
>
> Hmmm... this assumes a java plugin, which is wrong IMHO.

Ok, so I could register plugger.so to do the work then?

-- robin





More information about the kfm-devel mailing list