Geolocation Element

The browser, not this page's JavaScript, owns the button and the permission prompt: your click on it is the permission signal. This needs a few lines of JS to read the result back out (CSS can't), and it needs a secure context, this will only work served over https:// or http://localhost, never opened as a local file:// page.

Checking for <geolocation> support…