区别原生chrome 和以chrome为内核的360浏览器

 1 function isChrome360() {
 2     if( navigator.userAgent.toLowerCase().indexOf('chrome') > -1 ) {
 3         var desc = navigator.mimeTypes['application/x-shockwave-flash'].description.toLowerCase();
 4         if( desc.indexOf('adobe') > -1 ) {
 5             return true;
 6         }
 7     }
 8     return false;
 9 }
10 alert(isChrome360());
原文地址:https://www.cnblogs.com/yiliweichinasoft/p/3794681.html