Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.