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. ???
__________________ ^_^
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
Last edited by WolfShade; 09-24-2012 at 04:12 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. ???
"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
__________________ ^_^
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
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.
^_^
__________________ ^_^
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
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.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.