Location Services? Detecting your location
I'd like to get a stronger idea of ho开发者_Go百科w websites like http://www.msn.com/ can detect where you are. I know that you can do this by IP, but that can be extremely inaccurate depending on your ISP.
What is the most accurate method of doing this on the web?
The ways you can do this, in descending order of accuracy:
- Geolocation API (requires user to have compatible browser and give explicit permission)
- Profiling data from advertising network.
- IP Geolocation (Free versions tend to be very inaccurate, you can pay for slightly more accurate data)
- User entered data.
精彩评论