HTML
HTML Basic
HTML Tags
HTML Formatting
HTML Attributes
HTML & Styles
HTML & Scripts
HTML Tables
HTML Lists
HTML Links
HTML Forms
HTML Images
HTML Meta Tags
HTML Layout
HTML Doctypes
HTML CSS
HTML Head
HTML Scripts
HTML Entities
HTML Encoding
HTML5
HTML5 Basic
HTML5 Tags
HTML5 Input Types
HTML5 Video
HTML5 Audio
HTML5 Drag and Drop
HTML5 Canvas
HTML5 SVG
HTML5 Geolocation
CSS
CSS Basic
Applying CSS
CSS Selectors
CSS Colors
CSS Text & Fonts
CSS Borders
CSS Align
CSS Margins & Padding
CSS Grouping & Nesting
CSS Positioning
CSS Floating
CSS Dimension
CSS Display
CSS Pseudo
CSS3
CSS3 Basic
CSS3 Selectors
CSS3 Shadows
CSS3 Gradients
CSS3 Transitions
CSS3 Animations
CSS3 @Font Face
CSS3 Rounded Corners
CSS3 Multi Columns
CSS3 Flexible Box
CSS3 Transform
JavaScript
JS Basic
JS Keywords
JS Statements
JS Variables
JS Operators
JS Functions
JS Objects
JS Guidelines
JS Comparisons
JS If...Else
JS Switch
JS Loop
JS Events
JS Try...Catch
JS Browser Objects
JS Cookies
JS Validation
JS Timer
JS Objects
jQuery
jQuery Core
jQuery Selectors
jQuery Attributes
jQuery Traversing
jQuery Manipulation
jQuery Events
jQuery CSS
jQuery Effects
jQuery Ajax
jQuery Plugins
jQuery Animations
jQuery Utilities
References
HTML References
HTML 5 References
CSS References
CSS3 References
JavaScript References
HTML Code References
Ascii Code References
URL Encode & URL Decode
HTML Encode & HTML Decode
HTML to Text
Home
Javascript
Navigator
navigator (JavaScript 1.0)
Contains information about the current web browser.
Properties & Events
Key
Description
Availability
appcodename
Code name of the browser.
1.0
1.0
1.0
3.0
7.0
appname
Name of the browser.
1.0
1.0
1.0
3.0
7.0
appversion
Platform and version of the web browser.
1.0
1.0
1.0
3.0
7.0
cookieenabled
Whether or not the browser has cookies enabled.
1.0
1.0
1.0
4.0
7.0
language
Default language of the web browser.
1.0
1.0
1.0
??
7.0
mimetypes
Array of MIME type objects supported by the web browser.
1.0
1.0
1.0
??
7.0
platform
Client OS.
1.0
1.0
1.0
4.0
7.0
plugins
Array of plugins installed in the browser.
1.0
1.0
1.0
??
7.0
useragent
Specifies the value the browser uses for the user-agent header in http requests.
1.0
1.0
1.0
3.0
7.0
Result from the Online TryIt-Editor
<!doctype html> <html> <body> <p> This is </p> <div id="d1"> </div> <script type="text/javascript"> txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>"; txt += "<p>Browser Name: " + navigator.appName + "</p>"; txt += "<p>Browser Version: " + navigator.appVersion + "</p>"; txt += "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>"; txt += "<p>Platform: " + navigator.platform + "</p>"; txt += "<p>User-agent header: " + navigator.userAgent + "</p>"; document.getElementById("d1").innerHTML = txt; </script> </body> </html>
1.0
1.0
1.0
3.0
4.0
Examples having uses of: 'navigator'
Newest examples
Most popular examples
Most views examples
4 votes
10k views
HTML5 geoLocation
The HTML5 Geolocation API is used to get the geographical position of a user. NOTE: Since this can compromise user privacy, the position is not available unless the user approves it.
0 votes
1k views
JavaScript Browser Detection
The Navigator object contains information about the visitor's browser.
Useful Information
Contact
Privacy Policy
Copyright 2014 htmlnest.com.
All Rights Reserved.