Export (0) Print
Expand All

Sys.Browser Class

Provides information about the current Web browser.

Namespace: Sys

Inherits: None

var browser = Sys.Browser();

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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft