Why check `'geolocation' in navigator` instead of the browser name?
Because the browser name guarantees nothing about version, platform or granted permissions: two users on the same Chrome build can have geolocation available or not depending on the operating system and configuration; checking the API own presence answers exactly the question that matters, without depending on an external compatibility table that goes stale.
Does WebAssembly work in every current browser?
All current major browsers (Chrome, Firefox, Safari, Edge) support WebAssembly, but testing `typeof WebAssembly !== 'undefined'` is still worth doing to cover older embedded browsers, such as some outdated mobile app WebViews that still circulate in production.
Does private mode disable browser APIs?
It rarely disables them entirely: the more common pattern is reducing quota or behavior, such as zeroing the `localStorage` quota in private browsing on older browsers, instead of removing the whole API; that is why testing only for the object existence is not enough, the actual operation needs to be tested.
Why does clipboard sometimes ask for permission and sometimes not?
Because the browser treats reading from the clipboard, which always needs explicit user permission due to the risk of leaking sensitive data, differently from writing to it in direct response to a user gesture, such as a click, which many browsers allow without an extra prompt since it is an action the user themselves triggered.