logoalt Hacker News

tschwimmeryesterday at 10:12 PM1 replyview on HN

Does anyone know how he is implementing country detection? I'm certain it's not GeoIP since my current IP address (and physical location) is different than the country it's showing me from.


Replies

ivanjermakovyesterday at 10:25 PM

IP location, browser's locale, or combination of both: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...