摘要:
JS window.name 跨域封装 1 function CrossDomainName(target, agent, callback, security) { 2 if (typeof target !== 'string' || typeof agent !== 'string' || typeof callback !== 'function') { 3 throw '参数错误'; 4 } 5 this.state = 0; 6 this.target = target;//目标路径 7 this.agent = ag 阅读全文