SOFTWARE AND HARDWARE DETECTION
Modern browsers offer a suite of information about the page's execution environment, which includes browser information, operating system, hardware, and system peripherals. This information can be accessed through a collection of APIs that are found on the window.navigator
object. However, the support across browsers for these APIs is far from standardized, and so support should be considered spotty at best.
Browser and Operating System Identification
Although feature detection and user-agent parsing are two ways of identifying the browser that is currently in use, the navigator
and screen
objects also offer information about the software environment in which the page is...