userAgent
Collapse the table of content
Expand the table of content

userAgent property

Returns the user agent string of the browser.

This property is read-only.

Syntax

JavaScript
ptr = object.userAgent

 

Property values

Type: DOMString

User agent string for the browser.

See also

WorkerNavigator

 

 

Show:
© 2016 Microsoft