Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enable the Debug menu in Safari 3.0 for Windows Web Browsers
If you're a web developer, Safari's Debug Menu is a necessity. Fortunately for those of us stuck in Windows, Safari's Debug menu is still available, however, it appears you have to get your hands dirty to enable it. On a Mac, you'd open a Terminal and type:
defaults write com.apple.Safari IncludeDebugMenu 1
As far as I can tell, Windows doesn't have Apple's defaults utility. Instead, you have to directly edit the plist file, where the preferences are stored and the Debug menu is enabled. This is just a plain-text XML file. So to enable the Debug menu in Safari for Windows, add the following key-value pair to c:\Documents and Settings\your username\Application Data\Apple Computer\Safari\Preferences.plist:
<key>IncludeDebugMenu</key>
<true/>
Insert the above code before the closing </dict> element and restart Safari. It seems a little more spartan than Safari for Mac's debug menu, but at least it includes a JavaScript console and User Agent switching. (I also posted this on my blog.)
    •    
  • Currently 2.71 / 5
  You rated: 3 / 5 (7 votes cast)
 
[35,226 views]  

Enable the Debug menu in Safari 3.0 for Windows | 3 comments | Create New Account
Click here to return to the 'Enable the Debug menu in Safari 3.0 for Windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable the Debug menu in Safari 3.0 for Windows
Authored by: tyip on Jun 13, '07 12:58:23PM

Works like a charm. Thank you.



[ Reply to This | # ]
Enable the Debug menu in Safari 3.0 for Windows
Authored by: JoelAnderson on Jun 15, '07 08:27:20AM
I couldn't get the debug menu to show up by editing the /plist file, but a quick google search gave me this (which did work)

C:\"Program Files"\Safari\Safari.exe /enableDebugMenu


[ Reply to This | # ]
Enable the Debug menu in Safari 3.0 for Windows
Authored by: ajmas on Mar 05, '08 10:34:38AM
You can copy and paste this:
%userprofile%\Application Data\Apple Computer\Safari\Preferences.plist

[ Reply to This | # ]