Skip to content

Truly independent web browser

270 B
Raw Blame
<script>
  const type = "availability-result";
  navigator.geolocation.getCurrentPosition(
    () => {
      window.parent.postMessage({ type, enabled: true }, "*");
    },
    () => {
      window.parent.postMessage({ type, enabled: false }, "*");
    }
  );
</script>