User agent: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''User Agent''' string is a string which is visible in the HTTP headers of an HTTP client and in the navigator.userAgent object JavaScript for JS enabled client. == HTTP == ...") |
|||
| Line 15: | Line 15: | ||
* [[UA/override|User Agent Override]] | * [[UA/override|User Agent Override]] | ||
[[Category:Web Compatibility | [[Category:Web Compatibility]] | ||
[[Category:HTTP]] | |||
Revision as of 19:19, 24 September 2013
User Agent string is a string which is visible in the HTTP headers of an HTTP client and in the navigator.userAgent object JavaScript for JS enabled client.
HTTP
For example on Firefox OS devices.
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
Browsers with JavaScript
var ua = navigator.userAgent;