MDN self-hosted library · e01.org

HTMLGeolocationElement: autolocate property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<geolocation autolocate></geolocation>
js
const geo = document.querySelector("geolocation");
console.log(geo.autolocate); // true