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

简介: 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


0_1314756818SjGG.jpg

目录
相关文章
|
23天前
webpack.config.js配置文件报错:The ‘mode‘ option has not been set
webpack.config.js配置文件报错:The ‘mode‘ option has not been set
11 0
|
2月前
|
Java 数据库连接 开发工具
web后端-SpringCloud-Config分布配置
web后端-SpringCloud-Config分布配置
|
3月前
|
API
在vite.config.js 配置代理
在vite.config.js 配置代理
77 2
|
23天前
|
自然语言处理 JavaScript
vue element plus Config Provider 全局配置
vue element plus Config Provider 全局配置
28 0
|
5月前
|
API
vite.config.js 的一些常用配置
vite.config.js 的一些常用配置
111 1
|
5天前
|
JSON JavaScript 前端开发
vue2_vite.config.js的proxy跨域配置和nginx配置代理有啥区别?
vue2_vite.config.js的proxy跨域配置和nginx配置代理有啥区别?
20 1
|
14天前
|
JavaScript
vue.config.ts配置环境变量
vue.config.ts配置环境变量
20 0
|
2月前
|
移动开发 监控 小程序
mPaaS常见问题之uniapp ios端云打包的配置config文件如何解决
mPaaS(移动平台即服务,Mobile Platform as a Service)是阿里巴巴集团提供的一套移动开发解决方案,它包含了一系列移动开发、测试、监控和运营的工具和服务。以下是mPaaS常见问题的汇总,旨在帮助开发者和企业用户解决在使用mPaaS产品过程中遇到的各种挑战
29 0
|
2月前
|
消息中间件 SpringCloudAlibaba Java
【Springcloud Alibaba微服务分布式架构 | Spring Cloud】之学习笔记(八)Config服务配置+bus消息总线+stream消息驱动+Sleuth链路追踪
【Springcloud Alibaba微服务分布式架构 | Spring Cloud】之学习笔记(八)Config服务配置+bus消息总线+stream消息驱动+Sleuth链路追踪
785 0
|
2月前
|
微服务
SpringCloud-Config服务端微服务从自己的Gitee上获取配置内容配置读取规则
SpringCloud-Config服务端微服务从自己的Gitee上获取配置内容配置读取规则
17 0

热门文章

最新文章