判断浏览器的内核

var str=window.navigator.userAgent.toLowerCase();

原文地址:https://www.cnblogs.com/qfly/p/7661998.html