NavigatorID

@native @JSType
trait NavigatorID extends Object

The NavigatorID interface contains methods and properties related to the identity of the browser.

There is no object of type NavigatorID, but other interfaces, like Navigator or WorkerNavigator, implement it.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def appName: String

Returns the name of the browser. The HTML5 specification also allows any browser to return "Netscape" here, for compatibility reasons.

Returns the name of the browser. The HTML5 specification also allows any browser to return "Netscape" here, for compatibility reasons.

def appVersion: String

Returns the version of the browser as a string. It may be either a plain version number, like "5.0", or a version number followed by more detailed information. The HTML5 specification also allows any browser to return "4.0" here, for compatibility reasons.

Returns the version of the browser as a string. It may be either a plain version number, like "5.0", or a version number followed by more detailed information. The HTML5 specification also allows any browser to return "4.0" here, for compatibility reasons.

def platform: String

Returns a string representing the platform of the browser.

Returns a string representing the platform of the browser.

def userAgent: String

Returns the user agent string for the current browser.

Returns the user agent string for the current browser.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object