JavaScript » Navigator » userAgent

Syntax:
navigator.userAgent

This property contains a string representing the value of the user-agent header sent by the client to the server in the http protocol. This information consists of the code name and the version of the browser, and is used by the server to identify the client.