Promissa saysThe navigator object exposes device/browser info and APIs like clipboard and share.
navigator holds info (language, onLine, userAgent — avoid UA sniffing) and modern APIs: navigator.clipboard.writeText, navigator.share (native share sheet on mobile), navigator.geolocation, navigator.mediaDevices. Feature-detect before using, since support and permissions vary.
Power-ups you unlock
navigator.language / onLine / userAgent
navigator.clipboard for copy/paste
navigator.share opens the native share sheet
Feature-detect; many APIs need permission
Race Condition Rex attacks — common mistakes
UA sniffing instead of feature detection
Calling share() outside a user gesture
Assuming clipboard works without HTTPS/permission
Boss battleFeature-detect navigator.share and call it inside a click handler.