Please open the about:config page and disable the "security.fileuri.strict_origin_policy" option

今天在测试FCKeditor的时候,提示:

Your browser security settings don't allow FCKeditor to be opened from the local filesystem.

Please open the about:config page and disable the "security.fileuri.strict_origin_policy" option; then load this page again.

Check our FAQ for more information.

但是在IE里面是可以的,郁闷了很久最后终于发现了问题。

通常我们在js跨域的时候,会提示“Access to restricted URI denied

但是在我的FCKeditor是放在本地的。也是调用不了。因为 Firefox3.0 之后不能加载本地的JavaScript文件了;

 

Firefox对于本地文件也进行了同源访问的安全设置,配置参数是:security.fileuri.strict_origin_policy。这个新的设置只是在firefox 3才被加入,并且默认是开启的。我们只需要将security.fileuri.strict_origin_policy设置为false;设置方法:

在Firefox地址栏里面输入:about:config;搜索security.fileuri.strict_origin_policy

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 11
    评论
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

g-Jack

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值