This is a simple example of the HTML 5 GeoLocation API, using the various functions within navigator.geolocation. It gets your location and then overlays it on an API. If you need to spoof your location (for example to unblock US Netflix, to use a site blocked in your location, or just to protect your privacy), then I highly suggest using a VPN. I have an overview of the best vpn services. I also