Udostępnij za pośrednictwem


Sys.Browser Class

Provides information about the current Web browser.

Namespace: Sys

Inherits: None

var browser = Sys.Browser();

Members

Name

Description

Sys.Browser.agent Field

Gets an object that represents the user agent of the browser.

Sys.Browser.documentMode Field

Gets a value that indicates the document compatibility mode of the browser.

Sys.Browser.hasDebuggerStatement Field

Gets a value that indicates whether the browser supports debug statements.

Sys.Browser.name Field

Gets the name of the browser.

Sys.Browser.version Field

Gets the version number of the browser.

Remarks

The Sys.Browser object determines which browser is being used and provides some information about it. You can use this object to help customize your code to the unique requirements or capabilities of the browser.

See Also

Other Resources

Language Reference