`
longxia1987
  • 浏览: 32619 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

security.fileuri.strict_origin_policy

 
阅读更多

今天在测试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

分享到:
评论

相关推荐

    matlab的素描代码-AutoNav_Simulator:AutoNav_Simulator

    在搜索栏中输入security.fileuri.strict_origin_policy并将其更改为false 这将允许本地javascript文件在您的PC上运行。 完成后,这种危险并应逆转! 下载AutoNav_Simulator存储库后,双击index.html 在浏览器中打开...

    VSoft.Uri-master_SimpleUriParser_

    This is a simple Uri parser. TODO : encode/decode

    dubrayn.github.io:ENSIIE阅读

    如果您正在浏览演示文稿的本地版本,请确保在about:config页面中将属性security.fileuri.strict_origin_policy设置为false 。 这将使Firefox可以从不同目录访问文件,而不会遇到跨站点问题。 有关更多信息,请参见此...

    uie_prototype

    搜索规则security.fileuri.strict_origin_policy并将其设置为false 使用本地开发服务器 通过Python 2 python -m SimpleHTTPServer 通过Python 3 py -m http.server 通过http-server模块http-server 用法 将原型...

    BootStrap 图标icon符号图标glyphicons不正常显示的快速解决办法

    2、进入后,搜索“security.fileuri.strict_origin_policy”,这是该值应该是true。 3、双击该项,其值自动变为false,即可。 4、修改后,再刷新遇到问题的页面,即可看到正常显示的图标了。 探究问题原因: 1、由于...

    AppInstall.rar

    Uri packageURI = Uri.parse("package:" + mContext.getPackageName()); Intent intent = new Intent(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES, packageURI); startActivityForResult(intent, 401); ...

    first_cyoa

    CYOA发生器 基于AngularJS的Web框架,用于制作交互式CYOA 在此处预览: : 当前功能 ... 火狐浏览器:about:config-> security.fileuri.strict_origin_policy-> false 包含的图书馆 AngularJS v1.6.

    ContentProvider

    public Uri insert(Uri uri, ContentValues values) { // TODO Auto-generated method stub sqLiteDatabase=myOpenHelper.getWritableDatabase(); int flag=URI_MATCHER.match(uri); switch (flag) { ...

    musee-3d-rev-enib-SINANE-Mohamad

    要启动博物馆,如果您在firefox上禁用了security.fileuri.strict_origin_policy,则可以使用firefox打开index.html文件。 参观博物馆 Z,Q,S,D键,分别允许您前进,左移,后退,右移。 一楼 它由4个房间组成,主...

    URI.zip_This Is It_uri

    It s little try to implement a URI class fpr Visaul C++. So everybody who is interestet my first try look at this files.

    ZendFramework中文文档

    4.3.5. Zend_Cache_Frontend_File 4.3.5.1. Introduction 4.3.5.2. Available options 4.3.5.3. Examples 4.3.6. Zend_Cache_Frontend_Page 4.3.6.1. Introduction 4.3.6.2. Available options (for this ...

    ContentProvider 系统URI

    ContentProvider 系统URI系统URI系统权限案例一:获取手机联系人案例二:获取手机短信案例三:获取手机图片案例四:获取手机音频案例五:获取手机视频案例六:手机联系人的增删改案例七:自动添加验证码 系统URI ...

    Tomcat Was7 javax.servlet.forward.request_uri属性的差异

    NULL 博文链接:https://dfch84.iteye.com/blog/1254445

    HTdesigner:所见即所得HTML编辑器-开源

    所见即所得HTML编辑器,旨在创建免费的网页设计软件。 请注意,您需要在Firefox中禁用security.fileuri.strict_origin_policy或使用--allow-file-access-from-files标志启动chrome,如README.txt中所述

    android开发使用例子

    intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(Environment .getExternalStorageDirectory().getAbsolutePath()+"/tucue", time + ".jpg"))); startActivityForResult(intent, ACTIVITY_GET_...

    CI框架源码解读之URI.php中_fetch_uri_string()函数用法分析

    主要介绍了CI框架源码解读之URI.php中_fetch_uri_string()函数用法,结合实例形式分析了CI框架中URL路由机制的原理与相关的config配置文件设置方法,需要的朋友可以参考下

    dubbo_admin-2.54.war和dubbo_admin_2.54forJDK8

    org.springframework.beans.NotWritablePropertyException: Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable ...

    [java说明文档.API].api_cn_6.0中文版

    [java说明文档.API].api_cn_6.0中文版

    rfc5366.Conference_Establishment_in_SIP

    This document describes how to create a conference using SIP URI-list services. In particular, it describes a mechanism that allows a User Agent Client to provide a conference server with the initial ...

Global site tag (gtag.js) - Google Analytics