Sunday, July 22, 2007

Tiger Customization: Remove Google Search from Safari Header

Here's another way I tweaked Tiger in order to revert to an old Panther style. I'm a bit of a minimalist and prefer to not see (or use) the Google search field that is now in the top of every Safari window just to the right of the location field. Unfortunately, the preferences don't allow removaI of this. However, I removed it with very little effort.

Right click on Safari.app and select "Show Package Contents". Then browse down to Contents/Resources/English.lproj where you'll find ToolbarItems.nib. Double click to open this in Interface Builder (you must have the developer packages installed). Double click on the location field widget in the construction window. You'll notice that the google search field is tied to it. Then single-click on the Google field. A black border will appear. Hit the delete key and it will disappear. Save and exit. Repair permissions to get them set properly for that file. Then Safari will no longer show the Google search field.

No comments: