javascript - Safari - 没有禁用本地文件限制选项

标签 javascript google-chrome safari ionic-framework cors

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

提前致谢

最佳答案

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.

enter image description here

开发菜单现已可用。 enter image description here

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

    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.

关于javascript - Safari - 没有禁用本地文件限制选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37001567/

相关文章:

google-chrome - SignalR 更新无法在 Chrome 上正常运行

html - 如何避免 Safari 将 -apple-system-blue 添加到我的按钮

javascript - 使用 javascript 立即获取输入[类型 ="file"] 值?

javascript - JS/React 的类似 ViewDidAppear 的方法?

javascript - 在实现 toast 中设计通知/警报的简洁方法

selenium - 为什么 XPath 在 Chrome84 中不高亮黄色标记?

如果再次单击,javascript 不会 .toggleClass() 吗?

javascript - 如何使用 Google Chrome 扩展程序使图像出现在屏幕中央?

ios - 无法在 Safari 中检查我的调试版本

html - firefox/safari 中的默认文本框外观