Add logic for beef.browser.javaEnabled function

This commit is contained in:
Michael Wetherald
2015-09-13 22:28:51 -07:00
parent 07f61ff5f0
commit 2eae689bf1

View File

@@ -1951,13 +1951,8 @@ beef.browser = {
* @example: if(beef.browser.javaEnabled()) { ... }
*/
javaEnabled: function () {
//Use of deployJava defined in deployJava.js (Oracle java deployment toolkit)
// versionJRE = deployJava.getJREs();
// if(versionJRE != '')
// return true;
// else
return false;
return navigator.javaEnabled();
},