Index u_home.gif Up 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


Index u_home.gif Up Properties




Index u_home.gif Up 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


Index u_home.gif Up 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


Index u_home.gif Up 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


Index u_home.gif Up 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

© 1997 Microsoft Corporation. All rights reserved. Legal Notices.