http://ent.qq.com/a/20150601/007047.htm?pgv_ref=aio2015&ptlang=2052#p=1
下边可以看到腾讯所有的评论都是引入这个iframe实现的
iframe frameborder="no" scrolling="no" id="commentIframe" style="width: 100%; **height: 4664px; **overflow: hidden; margin-bottom: 30px; display: block; -webkit-transition: height 0.6s ease; transition: height 0.6s ease;" src="http://www.qq.com/coral/coralBeta3/coralMainDom3.0.htm">iframe
我想问这个iframe的父页面在跨域的情况下是如何获取评论最底部加载更多事件,并将最新的高度赋值给iframe的
同顶级域名可以跨域。
http://wwwcomy.iteye.com/blog/1806724
跨二级域名而已,2个页面都添加
document.domain='qq.com'//都设置为顶级域名都可以互访
如果是跨顶级域名,除非你能控制跨域的页面,要不无法实现。