DOM和BOM browser object model : window对象 document object model:window.document对象 包含 跨域 页面和请求的,协议,主机名, 端口不同时,浏览器判定不同源跨域