Hacker News new | ask | show | jobs
by etatester 54 days ago
This is super cool. Particularly for the fact that it just showed my country's operators rather than the usual America First.
2 comments

Same, there was a moment of shock to see a list from HN that started with Vietnam, followed quickly by appreciation. Good job, more like this please.
Same! I stayed on the site to explore instead of just clicking away. Seeing relevant information definitely helps engagement.
Yeah, anybody or op has any idea how to make ip/localization detection on the web? What are the current best standards there?
Cloudflare will pass the country in the request headers. Then your server can pass it to the browser if you need it there.

https://developers.cloudflare.com/fundamentals/reference/htt...