request.agent (Property)

A string containing the user agent details.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:String primitive
JavaScript syntax:NESrequest.agent

This property contains the name and version of the client software making the request. This is a means of building client user agent dependent responses that deliver pages that are tailored to the particular browser being used.

You might use this to respond with a Netscape Navigator version of a page that behaves differently to the page you return to a user who requested the page from an MSIE browser.