Hacker News new | ask | show | jobs
by rms_returns 3787 days ago
> navigator.geolocation.getCurrentPosition(function(pos){console.log(pos)})

Hail Firefox! It asks me for a permission, even when I paste that code in the console and try to execute it.