Brock Swinson | | Page 114

*/]]>*/]]> -1){htmlTag.className+=’ ie10′;}if(!!navigator.userAgent.match(/Trident.*rv:11./)){htmlTag.className+=’ ie11′;}if(/(iPad|iPhone|iPod)/g.test(navigator.userAgent)){htmlTag.className+=’ td-md-is-ios’;}var user_agent=navigator.userAgent.toLowerCase();if(user_agent.indexOf(“android”)>-1){htmlTag.className+=’ td-md-is-android’;}if(-1!==navigator.userAgent.indexOf(‘Mac OS X’)){htmlTag.className+=’ td-md-is-os-x’;}if(/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())){htmlTag.className+=’ td-md-is-chrome’;}if(-1!==navigator.userAgent.indexOf(‘Firefox’)){htmlTag.className+=’ td-md-is-firefox’;}if(-1!==navigator.userAgent.indexOf(‘Safari’)&&-1===navigator.userAgent.indexOf(‘Chrome’)){htmlTag.className+=’…
View Post