Web Gadget SDK Web Gadget SDK
[Back to Web Gadget API Reference]
Web.Browser Class
Provides methods to query for the web browser type. For query for specific version information of the browser, use window.navigator.appVersion. See topic on Multi-Browser Support for more details.
isIE Method
Returns whether the web browser in use is Internet Explorer.
Syntax
Web.Browser.isIE();
Parameters
None
Return Value
Boolean value - true if the web browser in use is Internet Explorer; false otherwise.
isMozilla Method
Returns whether the web browser in use is a Mozilla-based browser.
Syntax
Web.Browser.isMozilla();
Parameters
None
Return Value
Boolean value - true if the web browser in use is Mozilla-based; false otherwise.
isOpera Method
Returns whether the web browser in use is Opera.
Syntax
Web.Browser.isOpera();
Parameters
None
Return Value
Boolean value - true if the web browser in use is Opera; false otherwise.