What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-dom, is-dom-property
NavigatorUserAgentProperty  
The navigator.userAgent property

Values

The navigator.userAgent property returns a string.

This property is read-only.

Usage

Most browsers provide options or extensions that allow you to change the user-agent string your browser sends when it requests resources from a server. Web developers should not rely on the value of the navigator.userAgent property.

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
typeOf(navigator.userAgent) != 'undefined' Y Y Y Y Y Y Y Y

Further reading


Sign in to add a comment