795 karma · joined December 4, 2021
edit: I asked Bard about this, and it told me that websites can get the approx. location of their visitors via the Google Geolocation API:
> To use the Google Geolocation API, a website must first obtain a Google Maps API key. Once they have a key, they can add the following code to their website:
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
<script>
function getGeolocation() {
var location = navigator.geolocation.getCurrentPosition();
if (location) {
var lat = location.latitude;
var lng = location.longitude;
// Do something with the location information.
}
}
</script>You guys have two Google accounts? I didn’t know that this was even possible.
If a web page does not have the correct doctype, browsers run it in quirks mode instead of standards mode. If a web developer is fine with their websites running in quirks mode, they are not a good web developer, and you should probably stay away from them.
This is still true. Browsers run HN in quirks mode. Just open the devtools console in Firefox, and it will tell you.
Chrome’s URL bar? When was this?
Wrong. Literally everyone can have an original idea. Is this article parody?
What is that? Do I need it?