【问题标题】:Safari - Does not have Disable local file restrictions optionSafari - 没有禁用本地文件限制选项
【发布时间】:2016-08-28 08:20:00
【问题描述】:

我在 Windows 8 中安装了 Safari 用于开发目的,我试图“禁用本地文件限制”,但在开发菜单中找不到选项。

提前致谢

【问题讨论】:

    标签: javascript google-chrome safari ionic-framework cors


    【解决方案1】:
    By default Safari doesn't allow access to local files. To enable this option:
    First you need to enable the develop menu.
    To have the develop menu of Safari provide access to a variety of web development tools. 
    To display the Develop menu: 
    Open Safari.
    Click on the Edit > Preferences > Advanced tab.
    Check "Show Develop menu in the menu bar.
    

    开发菜单现在可用。

    点击“开发”菜单 选择禁用本地文件限制。

        it is also worth noting safari has some odd
     behaviour with caches, so it is also to
     use the "Disable caches" option in the same menu;
     if you are editing & debugging using safari.
    

    【讨论】:

    • 嗨 Sathish Tiwari 我做了你提到的所有事情,但我没有在“开发”菜单中找到该选项。
    • 另外值得注意的是 safari 对缓存有一些奇怪的行为,所以它也是在同一菜单中使用“禁用缓存”选项;如果您正在使用 safari 进行编辑和调试。
    • 有没有办法启用“禁用本地文件限制选项”
    猜你喜欢
    • 2018-12-12
    • 2018-10-24
    • 1970-01-01
    • 2011-08-31
    • 2018-02-03
    • 1970-01-01
    • 1970-01-01
    • 2012-04-21
    • 1970-01-01
    相关资源
    最近更新 更多