windows.open丢失referer

function gotoUrl(url){ 
  if(window.VBArray){ 
    var gotoLink = document.createElement('a'); 
    gotoLink .href = url; 
    document.body.appendChild(gotoLink); 
    gotoLink .click(); 
  }else{ 
    window.location.href = url; 
  }   

原文地址:https://www.cnblogs.com/pangtt/p/9017861.html