mirror of
https://github.com/daijro/camoufox.git
synced 2026-09-07 16:01:00 +00:00
8 lines
230 B
HTML
8 lines
230 B
HTML
<script>
|
|
window.geolocationPromise = new Promise(resolve => {
|
|
navigator.geolocation.getCurrentPosition(position => {
|
|
resolve({latitude: position.coords.latitude, longitude: position.coords.longitude});
|
|
});
|
|
});
|
|
</script>
|