1255 Views 6 Replies Latest reply: May 31, 2006 7:14 AM by J D Knight III
If you have the developer tools installed, or more specifically, Interface Builder, you can easily remove the 'Private Browsing' and 'Reset Safari' menu-items. Create a copy of Safari and browse to '/Safari.app/Contents/Resources/English.lproj/'. Open MainMenu.nib in Interface Builder. In the template of the menu bar which appears, browse to and highlight each menu-item and hit backspace to delete. Save and quit. That Safari application package will now be missing the menu-items.
You can replace the original Safari package with the modified one, and maybe have the unmodified version in the 'Applications' folder of an administrator's home folder.
Unfortunately, the 'Clear History' menu item seems to be generated dynamically. I can't seem to find the reference to it in Safari's resources. However, that said, I believe there are more elegant solutions to tracking a user's browsing history. In fact, it might be advisable to look at third-party solutions - ones which write history to a separate file. For instance, even if the menu-items are missing, it is possible to simply trash the relevant .plist after each browsing session to remove all traces of its history.
You could install Gurl Watcher which will create logs of pages visited regardless of browser used. Although it is an inexpensive shareware program, the cost could mount if you have a lot of computers. You could always contact the publisher about a site license.
Thanks for the input guys I will give both a shot. GURL, if we like it would have to be had at a volume discount so we will see. Right now I can't do anything as my old Dev. Tools are gone (lost a HD) and ADC will not let me in (site problem) states that my main .mac account is an invalid email and several attempts to contact me have failed LOL! I will have to give it a stab later in the day on my progress.
Update: Using Yang's suggestion I used Tools to modify Safari and got it to run on a test machine as well as my admin machine. The test machine required me to repair permissions first. Upon sending the modified Safari to other systems in the lab we found that Safari would no longer allow you to close windows (by any method) and Quit is the only way to get rid of them. I had to image a working system and use it to re-image the entire lab (43 systems).
[Side bar] Now I have a new problem... seeing that I was making a new image I updated the model system and cast it out. Now Acrobat Pro will not run without entering a admin user name and password EVERY time. Running under an admin account first doesn't solve either.
Thanks for your help guys!