<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Surprisedblog</author_name>
  <author_url>https://blog.hatena.ne.jp/Surprisedblog/</author_url>
  <blog_title>IT the Best</blog_title>
  <blog_url>https://www.it-the-best.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>navigator</anon>
    <anon>userAgent</anon>
    <anon>JavaScript-navigator</anon>
    <anon>JavaScript-navigator-userAgent</anon>
  </categories>
  <description>navigator.userAgent 使用方法 効果 navigator.userAgent navigatorオブジェクトのuserAgentプロパティを使ってデバイスの判断をします。 userAgent userAgentでは、ブラウザのユーザエージェント情報を取得することができます。 ユーザエージェント情報には、OS、ブラウザそしてデバイス情報があります。 userAgent情報(あなたのユーザエージェント情報) 使用方法 userAgentに含まれるデバイス情報をもとに、デバイス別に処理を実行するようにします。 var ua=navigator.userAgent if (ua.ma…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.it-the-best.com%2Fentry%2Fjavascript_navigator_useragent&quot; title=&quot;【JavaScript】超簡単！スマホかPCの判断のしかた | navigator.userAgent - IT the Best&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/S/Surprisedblog/20190608/20190608171727.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-08 12:46:22</published>
  <title>【JavaScript】超簡単！スマホかPCの判断のしかた | navigator.userAgent</title>
  <type>rich</type>
  <url>https://www.it-the-best.com/entry/javascript_navigator_useragent</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
