Google Loader and ClientLocation object for IP-based geolocation
Google Loader is a convinient way of loading other libraries and APIs.
And, if you know, where to look for you can even find nice examples of now undocumented
ClientLocation object, which can give you location of your visitor — less accurate than GPS (
navigator.geolocation object), but based on IP address and therefore not requiring user agreement on using this feature.