Previous Up Index Next

Navigator Object


navigator Object

Description

An object that resides below the window in the scripting object model. The navigator object provides information about the browser in use.

Properties

appCodeName, appName, appVersion, userAgent


Properties


appCodeName Property

Description

Returns the code name of the application.

Syntax

navigator.appCodeName

PartDescription
navigator An object expression that evaluates to a navigator object.

Return Value

Returns a string containing the current application code name.

Applies To

Navigator

Properties

appName, appVersion, userAgent


appName Property

Description

Returns the name of the application. Internet Explorer 3.0 currently returns "Microsoft Internet Explorer."

Syntax

navigator.appName

PartDescription
navigator An object expression that evaluates to a navigator object.

Return Value

Returns a string containing the current application name.

Applies To

Navigator

Properties

appCodeName, appVersion, userAgent


appVersion Property

Description

Returns the version of the application.

Syntax

navigator.appVersion

PartDescription
navigator An object expression that evaluates to a navigator object.

Return Value

Returns a string containing the current application version.

Applies To

Navigator

Properties

appCodeName, appName, userAgent


userAgent Property

Description

Returns the user agent of the application. Internet Explorer 3.0 currently returns "Mozilla/2.0 (compatible; MSIE 3.0A; Windows 95)".

Syntax

navigator.userAgent

PartDescription
navigator An object expression that evaluates to a navigator object.

Return Value

Returns a string containing the current application user agent.

Applies To

Navigator

Properties

appCodeName, appName, appVersion

Previous Up Index Next

© 1996 Microsoft Corporation