Write a JavaScript Program that identifies a running browser

Program:
<!DOCTYPE html>
<html>
    <script>
        document.writeln("<pre>");

        document.writeln("<br> Cookie Enabled:"+navigator.cookieEnabled);
        document.writeln("<br> AppName:"+ navigator.appName);
        document.writeln("<br> AppCodeName:"+navigator.appCodeName);
        document.writeln("<br> Product:"+navigator.product);
        document.writeln("<br> AppVersion:"+navigator.appVersion);
        document.writeln("<br> UserAgent:"+navigator.userAgent);
        document.writeln("<br> Platform:"+navigator.platform);
        document.writeln("<br> Language:"+navigator.language);
        document.writeln("<br> Is Online:"+navigator.onLine);   
        document.writeln("<br> Is JavaEnable:"+navigator.javaEnabled());
        
        document.writeln("</pre>");    
    </script>

</html>



Output:


Previous
Next Post »