Geolocation API and Leaflet JS Plotting user location on a map.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.