1.判断360极速还是兼容 1.判断360 极速还是兼容if (window.navigator.userAgent.indexOf('compatible') != -1) {alert('360兼容模式');}if(window.navigator.userAgent.indexOf('AppleWebKit') != -1) {alert('360极速模式');}