If you’ve jumped on the bandwagon and installed the new Safari beta on your Windows machine, you might like to know how to turn on the Debug menu. I didn’t discover this neat little trick, I just found it on Slashdot.
- Close Safari.
- Open c:\Documents and Settings\{username}\Application Data\Apple Computer\Safari\Preferences.plist in Notepad or your favorite XML editor. Do not use MS XML Notepad. Trust me on this.
- Scroll to the bottom and find the following lines:
<key>WebKitJavaScriptCanOpenWindowsAutomatically</key> <false /> </dict> </plist>
- Insert these two lines in between the <false /> and the </dict>:
<key>IncludeDebugMenu</key> <true />
- Choke down your righteous indignation at the horrifically bad XML format. It’ll be okay. Once you close the file it’ll all go away.
- Save and close the file.
- If you used XML Notepad even after I told you not to, open the file in something else and fix the freshly-broken <!DOCTYPE> tag by removing the [] that XML Notepad adds in. Re-save.
- Start Safari.