UAParser.js

Lightweight JavaScript-based user-agent string parser

jQuery Stage

jQuery Stage is a jQuery plugin for detecting information about the stage, the browser’s viewport.