TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX