I found plenty of info on this for Safari 3, but things have evidently changed in version 4. I just happened to stumble upon the answer by experimenting, so posting it here for others.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Checked in Safari 5.1.7 for windows. In the top right corner click Settings gear and navigate to Preferences>Advanced Tab. Check "Show Develop menu in menu bar"
回答2:
For version 4, open Safari from the command prompt with the switch: /enableInternalDebugMenu
e.g. "C:\Program Files\Safari\Safari.exe" /enableInternalDebugMenu
For version 3, the switch is: /enableDebugMenu
Note: You only need to do this once -- Safari will remember the setting.
回答3:
Ctrl + "," to open Safari Preferences > Advanced > “Show Develop menu in menu bar. Close and press Alt to see result.
回答4:
Enable the debugging menu in safari 4 in Windows 7 http://madhukaudantha.blogspot.com/2011/02/enable-debugging-menu-in-safari-4-in.html