(hang on, I'll get to Safari in a second...)
Eventually I ran into Amit Singh's list of OS X Hacking tools, where I stumbled upon the defaults command. defaults is the magic "change any setting for Mac OS X on the command line" tool that you (by you, I mean me) never knew about!
So, what does this have to do with Safari? Well, after looking for more information on how to use defaults, I stumbled upon Mac OS X Tips' Top 15 Terminal Commands for Hidden Mac OS X Settings, one of which really caught my attention:
defaults write com.apple.safari IncludeDebugMenu 1
This enables a "Debug" Menu ("Develop" menu on Safari 3). The Developer menu allows you to:
- Change Safari's user-agent, so you can masquerade as IE, Firefox, Opera, earlier versions of Safari, or even the iPhone version of Safari
- View a Web Inspector - allows you to view scripts, css files, and other information associated with a Web page...
- View a network timeline - showing the time it took to download each component linked in a web-page...
It's not quite the Web Developer plugin for Firefox, but it does give you additional control over Safari.
And the Network timeline looks pretty darn cool!
ps: i never did find a way to disable the optical audio...guess i got side-tracked.
[Update: 10/05/2008] I just realized there's an easier way to enable this in the Advanced Preferences Tab... just enable the "Show Develop menu in menu bar" option! (as in the screenshot below)
I guess it pays to pay attention to your app's options! comments powered by Disqus