title: Unable to find Google Chrome browser information when application running in iPad
body: <p>I have written a JavaScript to check which browser my application is executed but when I run my application in iPad it is not finding the chrome browser. Can anyone help me on this? I am trying to run my application in iPad Chrome browser:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var browser;
      var yourVersion;
      var supportedVersion;
      checkBrowser();
  
      function checkBrowser() {
          var chrome = navigator.userAgent.match("Chrome\/([0-9]{2,}\.[0-9]*)");
          var ff = navigator.userAgent.match("Firefox\/([0-9]{2,}\.[0-9]*)");
          var ie = navigator.userAgent.match("MSIE\ ([0-9]{2,}\.[0-9]*)");
  
          if (chrome) {
              browser = "Chrome";
              yourVersion = chrome[1];
              supportedVersion = 35;
              if(chrome[1] &lt; supportedVersion) {
                  $("#browserVersionWarning").show();
              }
          } else if(ff) {
              browser = "Firefox";
              yourVersion = ff[1];
              supportedVersion = 31;
              if (ff[1] &lt; supportedVersion) {
                  $("#browserVersionWarning").show();
              }
          } else if(ie) {
              browser = "IE";
              yourVersion = ie[1];
              supportedVersion = 11;
              if (ie[1] &lt; supportedVersion) {
                  $("#browserVersionWarning").show();
              }
          } else {
              supportedVersion = 31;
              $("#yours").html(" ");
              $("#recommended").html("Firefox " + supportedVersion);
              $("#browserVersionWarning").show();
              return;
          }
  
          $("#yours").html(browser + " " + yourVersion);
          $("#recommended").html(browser + " " + supportedVersion);
      }
   &lt;/script&gt;
  </code></pre>