Iframe跨域错误Permission denied for to get property
?
Iframe跨域错误:
Permission denied for [site1] to get property Location.href from [site 2]Permission denied for <site1> to get property Window.document from <site2>.
?
实际的问题是:从iframe里控制上层的窗口(window和domcument)是不安全的,跨域即会被限制访问。
?
这里也是同样的问题:
http://stackoverflow.com/questions/1292257/suppressing-permission-denied-errors-in-javascript
?
另外可以参考:javascript跨域共享的内容
http://hi.baidu.com/superlinyzu/blog/item/867ea6f0cecbcad07831aa27.html
?
O
O
O
--
0
0
0
0
0
?