Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个网页可以让用户访问多个搜索引擎,接下来我唯一想做的就是启用位置感知搜索:如果有人从英国搜索,我希望它是 British Uk 而不是例如希腊语。有什么方法可以检测用户使用 Javascript 时所在的国家/地区?
地理位置 API:
http://html5doctor.com/finding-your-position-with-geolocation/