jQuery Platform Returns an array with mobile or desktop platform details Dependencies jQuery 1.5.2+ (https://github.com/jquery/jquery) How to use <script> $(document).ready(function(){ // Returns an array with platform info. var platform = $.platform(); }); </script>