摘要: 想在“当前位置”获取子页面的title属性,但是main页面和子页面在不同的端口上,直接获取会出现: “Blocked a frame with origin from accessing a cross-origin frame”跨域问题 于是改用postMessage进行跨域访问; 子页面中: 阅读全文
posted @ 2019-04-16 14:55 748573200000 阅读(6410) 评论(1) 推荐(1)