GetUserAgent Function

Class

BrowserWindow.

Action

Returns the browser version for a browser window.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

sText = GetUserAgent()
Variable Description
sText The browser version of the browser window. STRING.

Example

function IsInternetExplorer7(WINDOW browserWindow)
return StrPos("MSIE 7", browserWindow.GetUserAgent())