我已经在Windows 8中安装了Safari用于开发目的,我试图“禁用本地文件限制”但我在开发菜单中找不到该选项。
提前致谢
答案 0 :(得分: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.