navigator.userAgent : navigator « Javascript Objects « JavaScript DHTML

Home
JavaScript DHTML
1.Ajax Layer
2.Data Type
3.Date Time
4.Development
5.Document
6.Dojo toolkit
7.Event
8.Event onMethod
9.Ext JS
10.Form Control
11.GUI Components
12.HTML
13.Javascript Collections
14.Javascript Objects
15.Javascript Properties
16.jQuery
17.Language Basics
18.Mochkit
19.Mootools
20.Node Operation
21.Object Oriented
22.Page Components
23.Rico
24.Scriptaculous
25.Security
26.SmartClient
27.Style Layout
28.Table
29.Utilities
30.Window Browser
31.YUI Library
JavaScript DHTML » Javascript Objects » navigator 
navigator.userAgent
  
<html>
<head>
<title>History</title>
</head>
<body>
<script type="text/javascript">
document.writeln("<h1>navigator object</h1>");

document.writeln("navigator.userAgent: " + navigator.userAgent + "<br />");
document.writeln("navigator.appName: " + navigator.appName + "<br />");
document.writeln("navigator.appCodeName: " + navigator.appCodeName + "<br />");
document.writeln("navigator.appVersion: " + navigator.appVersion + "<br />");
document.writeln("navigator.appMinorVersion: " + navigator.appMinorVersion + "<br />");
document.writeln("navigator.platform: " + navigator.platform + "<br />");
document.writeln("navigator.cookieEnabled: " + navigator.cookieEnabled + "<br />");
document.writeln("navigator.onLine: " + navigator.onLine + "<br />");
document.writeln("navigator.userLanguage: " + navigator.userLanguage + "<br />");
document.writeln("navigator.mimeTypes[1].description: " + navigator.mimeTypes[1].description + "<br />");
document.writeln("navigator.mimeTypes[1].type: " + navigator.mimeTypes[1].type + "<br />");
document.writeln("navigator.plugins[3].description: " + navigator.plugins[3].description + "<br />");
</script>
</body>
</html>

   
    
  
Related examples in the same category
1.Get browser Language
2.Language information from Navigator
3.Get application Name
4.Application Code Name
5.Is onLine
6.Get platform information
7.Get cpu Class
8.Is Java enabled
9.Get applicatoin Version
10.Get application Minor Version (navigator.appMinorVersion)
11.Get system Language from navigator (navigator.systemLanguage)
12.Is navigator taint Enabled (navigator.taintEnabled())
13.Get user Agent from navigator (navigator.userAgent)
14.Get user Language from navigator object (navigator.userLanguage)
15.Get application name from navigator (navigator.appName)
16.List all plugins
17.Get the browser version through navigator.appVersion
18.Use userAgent to get the browser type
19.Open Window based on user defined attributes
20.navigator.mimeTypes[1].description
21.navigator.mimeTypes[1].type
22.navigator.plugins[3].description
23.navigator.appName
24.navigator.appCodeName
25.navigator.appVersion
26.navigator.appMinorVersion
27.navigator.platform
28.navigator.cookieEnabled
29.navigator.onLine
30.navigator.userLanguage
31.Display all values in navigator object
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.