var version = 9, notSupportList = [{ name: "ie", version: version }], notSupportListFromName = ["/msie|trident/", "qqbrowserlite"], browserData = { reverse: true }, dogSrc = 1; browserData.notSupportList = notSupportList; if (!BrowserChecked(browserData).isSupport) { var xhr = new XMLHttpRequest(); xhr.open('GET', '/ajax/log_h.jsp?cmd=dog&dogId=200696&dogSrc=' + dogSrc, true); xhr.onreadystatechange = function () { // xhr.readyState == 4说明请求已完成 }; xhr.send(); window.location.href = "/lvBrowser.jsp?url=" + encodeURIComponent(location.href) + "&v=" + version; }