IE浏览器 location.href 不跳转 var url = "https://www.cnblogs.com/zing"; location.href = url; window.event.returnValue = false; 可按照上面的方式来写