rk_designs
New Member
- Messages
- 68
- Reaction score
- 0
- Location
- Vancouver, BC
I'm working on a small slot machine game in vanilla JS for an offshore casino, and the geolocation API is driving me up the wall. I'm in a state where online gambling is basically illegal, so I have to use a VPN just to test my own damn code. But the site still detects the VPN through some JS trickery (probably WebRTC or IP mismatch). So I can't even load the page without it throwing a 403.
I've tried overriding navigator.geolocation.getCurrentPosition with a fake position, but the backend still catches it because they're checking the IP against a database. So client-side spoofing isn't enough. Anyone know a way to make the front-end not leak the real IP? I'm using a decent VPN but apparently they can see through it.
Also, my bank keeps blocking my card when I try to deposit on these sites, so I'm stuck with crypto. But the crypto payment gateway they use has a front-end that's a mess. Buttons don't work on mobile, the QR code is tiny, etc. I could fix it but I don't have access to their code. So I'm just venting.
Anyway, if anyone has a working JS snippet to detect or bypass VPN checks, I'd appreciate it. Or if you know a non-KYC casino that doesn't have such aggressive geoblocking, let me know. I'm tired of jumping through hoops just to lose money.