...

View Full Version : IE Java Applet client user test



fat
09-24-2012, 03:22 PM
hi

I want to test whether a user with internet explorer browser that visits my site has java installed and enabled.

is there a way to do a test like that in javascript or any other way ?


thanks

Philip M
09-24-2012, 03:24 PM
hi

I want to test whether a user with internet explorer browser that visits my site has java installed and enabled.

is there a way to do a test like that in javascript or any other way ?


thanks

In a word, no.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

fat
09-24-2012, 04:25 PM
In a word, no.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

can you elaborate please ? I just want to show the user a message or warning of some kind that tells the user he has no Java support.

wouldn't this work:
http://mapskp.cesr.fr/tools/javaplugin/java_plugin_test.php ?

xelawho
09-24-2012, 04:59 PM
I think this kind of comes close:


if (navigator.javaEnabled()&&navigator.appName == 'Microsoft Internet Explorer'){
alert("IE java enabled")
}


but navigator sniffing is hugely unreliable - people can make their browser appear to be whatever they like.

WolfShade
09-24-2012, 05:04 PM
Does it have to be specifically IE? You could just use navigator.javaEnabled() for all browsers. I tested an alert for IE, FF, and Chrome, and it worked in all three.

UPDATE: I disabled Java in my IE8 and tested using navigator.javaEnabled() - it still shows as enabled. ???

Philip M
09-24-2012, 05:20 PM
Does it have to be specifically IE? You could just use navigator.javaEnabled() for all browsers. I tested an alert for IE, FF, and Chrome, and it worked in all three.

UPDATE: I disabled Java in my IE8 and tested using navigator.javaEnabled() - it still shows as enabled. ???

http://javatester.org/enabled.html

"In Internet Explorer 8 under Windows 7, it's hopeless. Nothing prevents Java from running"

Perhaps I have misunderstood the question. There is no way that the site owner can become aware of whether the specific user has Java enabled or not.

WolfShade
09-24-2012, 05:56 PM
"In Internet Explorer 8 under Windows 7, it's hopeless. Nothing prevents Java from running" Why does this not surprise me? No wonder all the hackers and script-kiddies target Micro$oft.. they leave themselves open to it.

smh

WolfShade
09-24-2012, 06:41 PM
Apparently, it's the same for Chrome. Either that, or javaEnabled() doesn't work. I disabled the Java plugin in Chrome v20, and the alert still shows.

^_^

fat
09-27-2012, 10:02 AM
but what about this method:
http://mapskp.cesr.fr/tools/javaplugin/java_plugin_test.php

it looks like the solution

Philip M
09-27-2012, 11:51 AM
but what about this method:
http://mapskp.cesr.fr/tools/javaplugin/java_plugin_test.php

it looks like the solution

Well, I have Java enabled in IE9 and received the result

Java Applet failed to load. Is Java enabled in your browser?

Does not seem very reliable.

I stick with my original answer - no. JavaScript has no capability to access the client's operating system or the Windows registry, or alter the default behaviour of the browser.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum