SCRIPT70:IE9允许拒绝 [英] SCRIPT70: Permission denied IE9

查看:88
本文介绍了SCRIPT70:IE9允许拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IE-9上收到奇怪的错误 SCRIPT70:权限被拒绝jquery.js,第21行字符67 。在谷歌搜索但除了CKEditor上的错误之外找不到任何东西。

I am getting the strange error "SCRIPT70: Permission denied jquery.js, line 21 character 67" on IE-9. Searched on google but could not find anything except a bug on CKEditor.

它显示的位置只包含以下内容:

Position it showed just contains following:

P=navigator.userAgent,xa=false,Q=[],M,ca=Object.prototype.toString,da=Object.prototype.hasOwnProperty,ea=Array.prototype.push,R=Array.prototype.slice,V=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=Oa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Sa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];

是否有人遇到此错误?

* 其他信息: *我们打开iframe并在此iframe中调用一些javascript函数。

*Additional Info:*We open an iframe and call some javascript functions inside this iframe.

谢谢。

推荐答案

IE9中的SCRIPT70错误很可能发生当您的iframe调用某些javascript时(特别是如果它影响父页面 - 例如父URL的哈希更改)

The SCRIPT70 error in IE9 occurs most likely when your iframe is calling some javascript (especially if it affects the parent page - e.g. hash change of parent url)

检查您的iframe的主机/协议/端口号是否匹配。
IE9对主机名非常严格(在我的情况下直到www部分),而document.domain似乎没有为此提供解决方法。

Check that your iframe's host/protocol/port number matches. IE9 is exceptionally strict about the host name(down to the www portion in my case) and document.domain did not seem to provide a workaround for that.

遇到这个问题并在处理多个iframe时修复它,希望这可以帮助其他人解决同样的问题。

Encountered this issue and fixed it while dealing with multiple iframes, hope this helps others with the same issue.

这篇关于SCRIPT70:IE9允许拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆