Today I have implemented MaxMind provided solution for geo detection. In order to have this functionality make sure you have copied
https://github.com/remdex/livehelperchat/tree/master/lhc_web/var/external this folder to your instance. There is two options there
Country base detection database file is already included but for city you would have to download ir and extract to var /var/external/geoip folder.
This geo detectio method does not require any remote connections.
Developing application takes a lot of time. You can support application by donating. There is no company behind this application and it takes away my free time. Every donation matters and does not matter how small it is!