Changing the Hidden Preferences for Safari 4 Public Beta on Windows requires a little more effort, since Windows users don’t have access to the `defaults` command that Mac OS X users have. I did a little bit of research and figured out a way to set these hidden preferences by seeding the `com.apple.Safari.plist` file with the hidden preferences.
This tip involves resetting your Safari preferences by replacing the binary-encoded PList file that Apple uses with a plain text XML version. When Safari launches, it will convert the plain text version into the binary format, so any time you need to make a change using this method you will need to reset your permissions. If I can find a PList editor for Windows or if you are able to convert the binary version of your PList to plain text, you could save your preferences. Please leave a comment or contact me if you know of a better method.
The `com.apple.Safari.plist` file is located in the `C:\Documents and Settings\<Your Username>\Application Data\Apple Computer\Preferences` folder. Backup or remove this file and replace it with another file of the same name. Populate the new file with the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DebugSafari4TabBarIsOnTop</key>
<false/>
<key>DebugSafari4IncludeFancyURLCompletionList</key>
<false/>
<key>DebugSafari4IncludeGoogleSuggest</key>
<false/>
<key>DebugSafari4IncludeFlowViewInBookmarksView</key>
<false/>
<key>DebugSafari4TopSitesZoomToPageAnimationDimsSnapshot</key>
<false/>
<key>DebugSafari4IncludeTopSites</key>
<false/>
</dict>
</plist>
Prune the list of settings to contain just those that you would like to disable from the file above (you can read a description of each here, then simply launch Safari and enjoy the new settings.
Note: DebugSafari4IncludeToolbarRedesign and DebugSafari4LoadProgressStyle are not available on the Windows version of Safari.