title: How to get Client System Details using JavaScript
body: <p>I am trying to get Client System details, I tried getting data  IP Address, Country,State, Location, etc. But still, I need a few more info like... Client System Name, Client OS and Client timestamp. How can I get all these Info using Javascript.</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head&gt;
      &lt;title&gt;Get User Details IP Address, city, country, state, latitude, longitude &lt;/title&gt;
      &lt;script src="http://code.jquery.com/jquery-1.8.2.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          var strip, strcountry, strcity, strregion, strlatitude, strlongitude, strtimezone
  
          function GetUserInfo(data) {
              alert(data.hostname);
              strip = data.host;
              strcountry = data.countryName;
              strcity = data.city;
              strregion = data.region;
              strlatitude = data.latitude;
              strlongitude = data.longitude;
              strtimezone = data.timezone;
          }
          $(function() {
              BindUserInfo();
          })
  
          function BindUserInfo() {
              document.getElementById('lblIP').value = strip;
              document.getElementById('lblCountry').value = strcountry;
              document.getElementById('lblCity').value = strcity;
              document.getElementById('lblregion').value = strregion;
              document.getElementById('lbllatitude').value = strlatitude;
              document.getElementById('lbllongitude').value = strlongitude;
              document.getElementById('lbltimezone').value = strtimezone;
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" src="http://smart-ip.net/geoip-json?callback=GetUserInfo"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;input type="text" id="lblIP" value="" /&gt;
                      &lt;input type="text" id="lblCountry" value="" /&gt;
                      &lt;input type="text" id="lblCity" value="" /&gt;
                      &lt;input type="text" id="lblregion" value="" /&gt;
                      &lt;input type="text" id="lbllatitude" value="" /&gt;
                      &lt;input type="text" id="lbllongitude" value="" /&gt;
                      &lt;input type="text" id="lbltimezone" value="" /&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>