Show HN: Simple JavaScript VPN detection using timezones
simple-vpn-detector.netlify.com
simple-vpn-detector.netlify.com
The underlying concept - checking user level information and comparing against network information - is an interesting and valuable way to think about it. This is a nice, simple illustration of that idea. Thanks for sharing it.
And yeah, more than likely they've got a blacklist of VPN IP addresses to check against.
uBlock blocked it on my end, and all I see is the "learn how it works" link, and above that is invisible text saying "Browser Timezone" and "IP Timezone".
But then if you only look at the offset, you'll have even worse VPN detection since any VPN exit in the same timezone offset won't be detected. This is not really a good way to detect VPN.
Looked like an interesting idea, but seems like there are many reasons for false positives.
I know that services like Netflix do VPN detection in much fancier ways and had noticed it when traveling abroad. There's no motivation for me to implement it in anything I do.
Thanks again and sorry for wasting your time!
(fellow developer, please do not ban VPNs if you can't guarantee 0 false positive)
Or, better, don't ban VPNs at all.