Haxe API Documentation
Back | Index
extern class js.html.Navigator
Available in js
Returns a reference to the navigator object, which can be queried for information about the application running the script.

Documentation for this class was provided by MDN.
var appCodeName(default,null) : String
Returns the internal "code" name of the current browser. Do not rely on this property to return the correct value.
var appName(default,null) : String
Returns the official name of the browser. Do not rely on this property to return the correct value.
var appVersion(default,null) : String
Returns the version of the browser as a string. Do not rely on this property to return the correct value.
var battery(default,null) : BatteryManager
var cookieEnabled(default,null) : Bool
Returns a boolean indicating whether cookies are enabled in the browser or not.
var geolocation(default,null) : Geolocation
var language(default,null) : String
Returns a string representing the language version of the browser.
var mimeTypes(default,null) : DOMMimeTypeArray
Returns a list of the MIME types supported by the browser.
var onLine(default,null) : Bool
Returns a boolean indicating whether the browser is working online.
var platform(default,null) : String
Returns a string representing the platform of the browser.
var plugins(default,null) : DOMPluginArray
Returns an array of the plugins installed in the browser.
var product(default,null) : String
Returns the product name of the current browser. (e.g. "Gecko")
var productSub(default,null) : String
Returns the build number of the current browser (e.g. "20060909")
var userAgent(default,null) : String
Returns the user agent string for the current browser.
var vendor(default,null) : String
Returns the vendor name of the current browser (e.g. "Netscape6")
var vendorSub(default,null) : String
Returns the vendor version number (e.g. "6.1")
function getGamepads() : GamepadList
function getStorageUpdates() : Void
function getUserMedia(options : Dynamic, successCallback : js.html.rtc.NavigatorUserMediaSuccessCallback, ?errorCallback : js.html.rtc.NavigatorUserMediaErrorCallback) : Void
function javaEnabled() : Bool
Back | Index