Demo
Detect Browser Name, Version, Platform, OS, Mobile or Desktop in JavaScript using jQuery