页面的新开页,window.open的hacker

一、window.open如何进行hack

网上看的办法很多,归根接地还是不能解决掉,只有通过a标签的target属性

$obj.click(function(){
 var newTab=window.open('about:blank');
 $.ajax({
  success:function(data){
   if(data){
    //window.open('http://isv.suningcloud.com/mpisv-web/index');
    newTab.location.href="http://isv.suningcloud.com/mpisv-web/index";
   }
  }
 })
})
原文地址:https://www.cnblogs.com/chengxs/p/8059889.html