Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Sys.Browser Class

Provides information about the current Web browser.

Namespace: Sys

Inherits: None

var browser = Sys.Browser();



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

© 2015 Microsoft