xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@apache.org>
Subject FW: Unable to load the Batik demos in Mozilla 1.0
Date Mon, 17 Jun 2002 11:11:12 GMT
FYI, not acked...

    Pier

------ Forwarded Message
> From: Mark Pierce <makis@genasys.es>
> Organization: Genasys II Spain
> Date: Mon, 17 Jun 2002 12:50:10 +0200
> To: webmaster@xml.apache.org
> Subject: Unable to load the Batik demos in Mozilla 1.0
> 
> Dear Sirs,
> 
> I am unable to load the Batik demos from
> <http://xml.apache.org/batik/batikDemo.html> in neither Mozilla 1.0 nor
> Konqueror 3.01, due to the following JavaScript code snippet:
> 
> if (navigator.mimeTypes && navigator.mimeTypes.length) {
>     x = navigator.mimeTypes['application/x-java-jnlp-file'];
>     if (x) javawsInstalled = 1;
>   } else {
>     isIE = "true";
>   }
> 
> Since this snippet only works on the now defunct Netscape 4 and on MSIE, its
> use on an Apache website seems rather inappropriate. At the very least, you
> could offer a JavaScript-less access, as Sun does on the Java Web Start page.
> 
> Other than the above. Your site is attractive, well organized and extremely
> useful.
> 
> Thanks,
> 
> Mark Pierce
> Genasys II Spain
> 
> ___________________________________________________________
> from: 
> 
<file:///homedir/makis/.kde3/share/apps/kfmexec/tmp/14855.0.jwsfaq.html#detect>
>
> 
> Q: Why doesn't Sun's Javascript Web Start detection script work for my
> household browser?
> 
> Sun's Javascript Web Start detection script works only with Netscape 4.x and
> Internet Explorer. If you use Netscape 6.x, Mozilla, Opera or other browsers,
> Sun's Web Start detection script fails because Netscape 6.x, Opera and
> Mozilla, for example, implement navigator.mimeTypes different than Netscape
> 4.x.
> 
> In conclusion, don't include Sun's Javascript Web Start detection script into
> your HTML page unless you work for Microsoft, instead point directly to the
> jnlp file. Using Sun's Javascript Web Start detection script not only blocks
> all browsers other than Internet Explorer but also hinders HTML parsers to
> retrieve the embedded jnlp links, in case you want to use the HTML page as
> Web Start's default app page, for example.
> 
> -- 
> 
> pgpID: 7E2BC775 @ http://www.keyserver.net/en/
> Fingerprint: 6306 FC31 CE39 5CD4 5B83  2434 01C7 9C27 7E2B C775
> 

------ End of Forwarded Message


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message