Detecting Google Chrome js function
/** * Checking is Chrome browser * @return {Boolean} */ function isChrome() { return (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) ? true : false; }