User Id :    Password :      New Member   Forgot Password  
Topic: By JavaScript can we get about the browser?
Anamika singh
23 Nov 2010 at 03:14 AM
By JavaScript can we get about the browser?

Re: By JavaScript can we get about the browser?
Gaurav
16 Dec 2010 at 02:21 AM
Yes we can get the information about the browser by JavaScript by following code:
<script type="text/javascript">
document.write("Browser CodeName: " + navigator.appCodeName);
document.write("<br /><br />");
document.write("Browser Name: " + navigator.appName);
document.write("<br /><br />");
document.write("Browser Version: " + navigator.appVersion);
document.write("<br /><br />");
document.write("Cookies Enabled: " + navigator.cookieEnabled);
document.write("<br /><br />");
document.write("Platform: " + navigator.platform);
document.write("<br /><br />");
document.write("User-agent header: " + navigator.userAgent);
</script>

Total Replies: 1
 
Featured Text Ad

Featured Ad