{"json_modified": "2016-10-18T22:36:08.646478", "uuid": "4aedbb47-0155-43e7-a666-711588bf8846", "title": "Browser detection using the user agent", "url": "/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent", "tags": ["Compatibility", "Web Development"], "translations": [{"uuid": "64963e31-8e4d-4a48-bf6c-66709f3d4da1", "title": "Browser detection using the user agent", "url": "/fr/docs/Detection_du_navigateur_en_utilisant_le_user_agent", "tags": [], "summary": "Afficher des pages web ou des services en fonction du navigateur est habituellement une mauvaise id\u00e9e. Le web se doit d'\u00eatre accessible \u00e0 tout le monde, sans prendre en compte le navigateur ou l'appareil que la personne utilise. Il existe diff\u00e9rents fa\u00e7on de d\u00e9velopper votre site web afin de l'am\u00e9liorer progressivement en se basant sur les caract\u00e9ristiques disponibles plut\u00f4t que de cibler des navigateurs sp\u00e9cifiques.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2014-07-07T06:49:16", "review_tags": []}, {"uuid": "ba4021a1-0f12-4936-888a-3d9a564af47d", "title": "\u4f7f\u7528\u7528\u6237\u4ee3\u7406\u5b57\u6bb5\u8fdb\u884c\u6d4f\u89c8\u5668\u68c0\u6d4b", "url": "/zh-CN/docs/Web/HTTP/Browser_detection_using_the_user_agent", "tags": [], "summary": "\u7531\u4e8e\u6d4f\u89c8\u5668\u548c\u76f8\u5173\u6807\u51c6\u5e76\u975e\u5b8c\u7f8e\uff0c\u5728\u67d0\u4e9b\u8fb9\u9645\u60c5\u51b5\u4e0b\uff0c\u6d4f\u89c8\u5668\u68c0\u6d4b\u8fd8\u662f\u9700\u8981\u7684\u3002\u4f7f\u7528\u7528\u6237\u4ee3\u7406\u68c0\u6d4b\u770b\u8d77\u6765\u7b80\u5355\uff0c\u4f46\u5728\u5b9e\u9645\u60c5\u51b5\u4e0b\u60f3\u8981\u505a\u597d\u4e5f\u662f\u4e00\u4e2a\u975e\u5e38\u96be\u7684\u95ee\u9898\u3002\u8fd9\u4efd\u6587\u6863\u5c06\u5c3d\u53ef\u80fd\u5730\u6307\u5bfc\u4f60\u6b63\u786e\u7684\u5904\u7406\u8fd9\u4e2a\u95ee\u9898\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-10-18T22:36:05", "review_tags": []}], "modified": "2016-09-22T01:29:06", "label": "Browser detection using the user agent", "localization_tags": [], "locale": "en-US", "id": 1028, "last_edit": "2016-08-15T13:35:18", "summary": "Serving different Web pages or services to different browsers is usually a bad idea. The Web is meant to be accessible to everyone, regardless of which browser or device they're using. There are ways to develop your web site to progressively enhance itself based on the availability of features rather than by targeting specific browsers.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Considerations_before_using_browser_detection", "title": "Considerations before using browser detection"}, {"id": "Avoiding_user_agent_detection", "title": "Avoiding user agent detection"}, {"id": "Which_part_of_the_user_agent_contains_the_information_you_are_looking_for", "title": "Which part of the user agent contains the information you are looking for"}, {"id": "Browser_Name", "title": "Browser Name"}, {"id": "Browser_version", "title": "Browser version"}, {"id": "Rendering_engine", "title": "Rendering engine"}, {"id": "Rendering_engine_version", "title": "Rendering engine version"}, {"id": "OS", "title": "OS"}, {"id": "Mobile_Tablet_or_Desktop", "title": "Mobile, Tablet or Desktop"}], "slug": "Web/HTTP/Browser_detection_using_the_user_agent", "review_tags": []}