{"componentChunkName":"component---src-templates-term-jsx","path":"/responsive-design-glossary/user-agent/","result":{"data":{"mdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nconst _frontmatter = {\n  \"title\": \"User agent\",\n  \"plural\": false,\n  \"determiner\": true\n};\nconst layoutProps = {\n  _frontmatter\n};\nconst MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  let {\n    components\n  } = _ref,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, `A User Agent refers to a browser or other application that can view or access web pages. (these apps are 'agents' that visit the site on a user's behalf). In the early days of the web, the only reliable way to detect which feature were supported by a browser was \"user agent sniffing\", or reading out the user agent string. Nowadays, we can use feature detection in both JavaScript and CSS instead. Because of this user agent sniffing, these strings contain many bits of text that mimic other, older browsers, to make sure the sites using this user agent sniffing continue to work properly.`));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"A User Agent refers to a browser or other application that can view or access web pages. (these apps are 'agents' that…","frontmatter":{"title":"User agent","plural":false,"determiner":true},"fields":{"slug":"/responsive-design-glossary/user-agent/","ogFileName":"user-agent"}}},"pageContext":{"slug":"/responsive-design-glossary/user-agent/"}},"staticQueryHashes":["4164364741","425175329"]}