rakaz

about standards, webdesign, usability and open source

Enabling the debug menu on Safari for Windows

I’ve been playing a bit with the new Safari for Windows and found a way to activate the debug menu that Mac OS X web developers were already used to.

You can enable the debug menu by editing the Preferences.plist file which you can find in the C:\Documents and Settings\Your Username\Application Data\Apple Computer\Safari directory. It’s just an XML file. Use your favorite text editor to open it.

Then add the following key at the bottom, just before the final </dict> and </plist> elements:

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

Then restart Safari and you’re done!

Update: Alternatively you could also use one of the following command line options for the Safari.exe executable: /enableDebugMenu to enable the menu and /disableDebugMenu to disable it. You only have to do this once, because Safari will remember this setting between sessions (it also stores this setting n the Preferences.plist file that you can manually edit).

The debug menu enabled

6 Responses to “Enabling the debug menu on Safari for Windows”

  1. Lim Chee Aun wrote on June 12th, 2007 at 5:28 am

    Thanks!

    Just some additional notes. The file name is ‘Preferences.plist’ and on Windows Vista, the path is C:\Users\Your Name\AppData\Roaming\Apple Computer\Safari.

  2. simonwillison.net wrote on June 12th, 2007 at 8:55 am

    Enabling the debug menu on Safari for Windows: Enabling the debug menu on Safari for Windows . “Turn off site-specific hacks” is one of the menu options.

  3. Jason Crosse wrote on June 12th, 2007 at 10:55 am

    That is VERY useful for debugging – thanks!

  4. Irvin Owens Jr wrote on June 12th, 2007 at 1:41 pm

    Awesome! I was looking for this. Thanks, worked like a charm!

  5. Michael Hessling wrote on June 19th, 2007 at 7:45 am

    Add the following:

    <key>DebugUsePieProgressIndicator</key>
    <true/>

    if you want to use this alternative progress indicator.

  6. Chitta wrote on April 30th, 2008 at 5:16 pm

    For Windows Xp modify the file:

    C:\Documents and Settings\[UserName]\Application Data\Apple Computer\Safari\Preferences\com.apple.Safari.plist

    add the following line:
    IncludeDebugMenu

    That’s all.

    Enjoy