I don’t think geofencing is possible in a browser app, especially not when the browser is not even open.