DEV Community

Discussion on: How to get a user's location with JavaScript

Collapse
 
slotix profile image
Dmitry Narizhnyhkh

Great work!

A drawback requiring permission to share visitors' locations with your site. In case of negative response you have no way to get the user's location.
Please check out my article I've published recently "How to detect the location of your website's users with Javascript for free?"