2014-07-11 ■ * user Agent よく使うのでメモ var _agent = navigator.userAgent.toLowerCase(); ns.isAndroid = false; if( !( _agent.match('iphone') || _agent.match('ipod') || _agent.match('android') ) ){ $('body').addClass('pc'); } else if( _agent.match('android') ){ ns.isAndroid = true; }