Files
beef/modules/standard/detect_java/template.js
wade@bindshell.net 03ffb4703d Initial Import
git-svn-id: https://beef.googlecode.com/svn/trunk@2 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2010-01-11 00:54:08 +00:00

17 lines
324 B
JavaScript

function do_main(){
// https://developer.mozilla.org/en/DOM/window.navigator.javaEnabled
// bug in XP SP2
if( window.navigator.javaEnabled() ) {
result = "Java is available in browser";
} else {
result = "Java is NOT available in browser";
}
}
var result = null;
do_main();
return_result(result_id, result);