![]() |
IE Java Applet client user test
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 |
Quote:
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit. |
Quote:
wouldn't this work: http://mapskp.cesr.fr/tools/javaplug...lugin_test.php ? |
I think this kind of comes close:
Code:
if (navigator.javaEnabled()&&navigator.appName == 'Microsoft Internet Explorer'){ |
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. ??? |
Quote:
"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. |
Quote:
smh |
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.
^_^ |
but what about this method:
http://mapskp.cesr.fr/tools/javaplug...lugin_test.php it looks like the solution |
Quote:
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. |
| All times are GMT +1. The time now is 12:56 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.