TOC PREV NEXT INDEX

domref



window.navigator.userAgent


Returns the user agent string for the current browser.

Syntax

uaString = window.navigator.userAgent
 

Parameters

uaString is a string.

Example

window.navigator.userAgent
 
// returns Mozilla/5.0 (Windows; U; Win98; en-US;    rv:0.9.2) Gecko/20010725 Netscape6/6.1
 

 

Notes

None.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX