It simply detects the browser, checking if it is a mobile version and other assorted device information, and then reports it by populating the HTML root element with classes.