hohle
Safari for Windows Debug Menu
by Jon on Monday, June 11, 2007 file under: Technology
Safari

In an interesting turn of events, Apple released Safari for Windows. Well, they didn't quite release it, its still a beta but in general works very well (this post is being made from one of Safari 3's resizable text fields).

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, but plists, where the preferences are stored, and the Debug menu is enabled are just plain text XML files. 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/>

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.

Permanent link to Safari for Windows Debug Menu

hohle.net | hohle.org | hohle.name | hohle.co.uk | hohle.de | hohle.info