开启safari调试功能

在windows下的两种方法:

   1.打开C:\Documents and Settings\Your Username\Application Data\Apple Computer\Safari\Preferences.plist文件,他是个XML文件,我们只需要在最末尾的 </dict>
</plist> 的前面增加下面的内容就可以了。

<key>IncludeDebugMenu</key>
<true/>

2.在Safari.exe 后面增加一个参数/enableDebugMenu就可以了。


在mac os 下:
直接在命令行下运行defaults write com.apple.Safari IncludeDebugMenu 1

猜你喜欢

转载自blog.csdn.net/icewizardry/article/details/17265427