Is there an easy way to determine which hemisphere a user is in?

前端 未结 2 1379
醉梦人生
醉梦人生 2020-12-19 10:16

I\'m working on a project which includes seasonal content, and we\'re thinking of determining the user\'s location to work out what season it is for them. The obvious way of

2条回答
  •  无人及你
    2020-12-19 10:35

    You could use the navigator.geolocation method to avoid any sort of IP service.

提交回复
热议问题