Simple JavaScript code that checks if the browser has the Geolocation API implemented and then uses it to get the current position of the device. this code creates a function which can be called on html using :
http://en.wikipedia.org/wiki/W3C_Geolocation_API
Ярлыки: GeoIP