Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or gets the currently active user agent (UA) string.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
This property is read/write.
![]() |
Syntax
JavaScript |
---|
|
Property values
Type: DOMString
Remarks
The UA string can be written to, but many pages read the UA string on load and require a refresh before the change has effect.