User agent/device type/retina display detector.