-4

我的网站中没有 IE7-js,但出现与 IE7-js 相关的错误。我敲了几个小时的头,仍然没有得到任何线索。在此处输入图像描述

4

1 回答 1

1

你有iframes 从中加载内容http://www.formstack.com/forms/?...

这些页面上有这段代码:

<!--[if lt IE 9]>
    <script src="https://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->

这是导致Permission denied错误的脚本。该代码尝试访问top.window,当两个页面不在同一个域中时,这是不允许的(if(/ie7_off/.test(top.location.search)||t<5.5||t>=h.compat)

于 2012-12-19T16:51:53.437 回答