JavaScript does offer navigator object that helps in retrieving information about the browser a user is currently working on. Getting location of user (or browser) is a tricky task as there is no JS property for navigator object in this regard. With the advent of HTML5 and most importantly the Geolocation API this has become a possibility. Geolocation API defines a few new properties that can identify the exact location coordinates – both longitude and latitude of a browser/user. Here is the JS Code to … Continue reading








