AS3 发表于 2013-1-29 09:04:40

chrome中页面有跨域iframe出现Adobe Flash Player安全性设置窗口

http://bbs.9ria.com/viewthread.php?tid=85933&extra=page%3D1%26amp%3Borderby%3Ddateline%26amp%3Bfilter%3D2592000
 
 

<span style="border-collapse: collapse; color: #444444; font-family: Verdana, Helvetica, Arial, sans-serif;">
本帖最后由 bcpxqz 于 2011-6-16 17:38 编辑

a.html和b.html不同域,a.html用iframe嵌入b.html,在chrome中有时候会出现Adobe Flash Player安全性设置窗口(图1),在console面板中可以看到,四条"Unsafe JavaScript attempt to access frame with URL"错误,但如果你看图2,就会发现,<div style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 5px; padding-left: 10px; line-height: normal; width: 586px; background-color: #f7f7f7; background-position: 0px 0px; border: 1px solid #cccccc;" class="blockcode"><div style="line-height: normal; padding: 0px; margin: 0px;">
[*]"Unsafe JavaScript attempt to 
[*]access frame with URL http://a.com/adtest/39iframe/d1.html from frame 
[*]with URL http://a.com/adtest/39iframe/d1.html. Domains, protocols and 
[*]ports must 
[*]match."
页: [1]
查看完整版本: chrome中页面有跨域iframe出现Adobe Flash Player安全性设置窗口