Show HN: Simple JavaScript VPN detection using timezones
simple-vpn-detector.netlify.com
Show HN: Simple JavaScript VPN detection using timezones
1–10 of 25 posts
Re: Show HN: Simple JavaScript VPN detection using timezones
#2Seems to give false positive on Windows 10 as in my Date setting on OS level time zone is selected as something like Helsinki, Sofia, Kyiv, Tallinn, etc. (UTC+02:00) so both Firefox and Chrome reports it as "Europe/Kiev". While I am in a different country so IP address obviously reports differently. I wonder if it was thought about timezones where a lot of small countries can be in the same one.
Re: Show HN: Simple JavaScript VPN detection using timezones
#3This doesn't work, I'm on holiday and it thinks I'm using a VPN.
Re: Show HN: Simple JavaScript VPN detection using timezones
#4Got a false positive in Taiwan because your IP lookup service provider (https://ipapi.co/json) returned no timezone.
Re: Show HN: Simple JavaScript VPN detection using timezones
#5Another false positive here. Geoip is correct, but timezone is not. (Belgrade instead of Ljubljana).
Re: Show HN: Simple JavaScript VPN detection using timezones
#6Another false positive. Really simple one. Browser timezone Asia/Calcutta and IP timezone Asia/Kolkata ...
The city changed its name a very long time ago and both the names refer to the same city.
Looked like an interesting idea, but seems like there are many reasons for false positives.
Re: Show HN: Simple JavaScript VPN detection using timezones
#7Same here (Tenerife Spain), false positive
(fellow developer, please do not ban VPNs if you can't guarantee 0 false positive)
Re: Show HN: Simple JavaScript VPN detection using timezones
#8False positive, I’m in Copenhagen, but my browser reports Oslo.
Re: Show HN: Simple JavaScript VPN detection using timezones
#9False negative when the VPN exit is in the same country. This doesn't detect you're using a VPN.
Re: Show HN: Simple JavaScript VPN detection using timezones
#10It's a clever thinking, but only for vpns in other countries, the solution would probably fit netflix and other streaming services.