Debug menu on Safari for Windows

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.

  1. Close Safari.
  2. 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.
  3. Scroll to the bottom and find the following lines:
        <key>WebKitJavaScriptCanOpenWindowsAutomatically</key>
        <false />
      </dict>
    </plist>
  4. Insert these two lines in between the <false /> and the </dict>:
        <key>IncludeDebugMenu</key>
        <true />
  5. 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.
  6. Save and close the file.
  7. 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.
  8. Start Safari.

Published by

Rick Osborne

I am a web geek who has been doing this sort of thing entirely too long. I rant, I muse, I whine. That is, I am not at all atypical for my breed.