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

目录
相关文章
|
6月前
webpack.config.js配置文件报错:The ‘mode‘ option has not been set
webpack.config.js配置文件报错:The ‘mode‘ option has not been set
97 0
eggjs 项目报错 Cookie need secret key to sign and encrypt. Please set config.keys first
eggjs 项目报错 Cookie need secret key to sign and encrypt. Please set config.keys first
299 0
eggjs 项目报错 Cookie need secret key to sign and encrypt. Please set config.keys first
|
5月前
|
开发工具 git
*** Please tell me who you are.Run git config --global user.email “you@example.com“ git confi
*** Please tell me who you are.Run git config --global user.email “you@example.com“ git confi
|
6月前
|
安全 网络安全 数据安全/隐私保护
/etc/ssh/sshd_config line 142: Deprecated option RSAAuthentication 是什么
【5月更文挑战第6天】/etc/ssh/sshd_config line 142: Deprecated option RSAAuthentication 是什么
1354 4
|
监控 Dubbo 搜索推荐
No application config found or it‘s not a valid config! Please add <dubbo:application name=“...“ />
No application config found or it‘s not a valid config! Please add <dubbo:application name=“...“ />
1286 1
|
关系型数据库 MySQL Linux
DVWA CentOS Could not connect to the MySQL service. Please check the config file.
DVWA CentOS Could not connect to the MySQL service. Please check the config file.
66 0
|
Java
解决:Config service failed to start in 120 seconds! Please check ./service/apollo-service.log...
解决:Config service failed to start in 120 seconds! Please check ./service/apollo-service.log...
155 0
|
关系型数据库 MySQL 数据库
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
1197 0
|
JSON Cloud Native 安全
can not get cluster name in registry config ‘service.vgroupMapping.xx‘, please make sure registry
can not get cluster name in registry config ‘service.vgroupMapping.xx‘, please make sure registry
2253 0
can not get cluster name in registry config ‘service.vgroupMapping.xx‘, please make sure registry
|
Web App开发 存储 缓存
浏览器的about:config清缓存及其他参数大全及其具体用途介绍
浏览器的about:config清缓存及其他参数大全及其具体用途介绍