Safari's Web Inspector
In my last post I outlined some of the benefits of Safari in your day to day browsing. Today I'm going to highlight a lesser-known feature of Safari that might just be the first step in considering Safari for web development as well.
So how about Firebug for Safari? It doesn't exist. Or does it?
Enter Safari's 'Web Inspector'. This tool, packaged with Safari attempts to fill the void for developers. Enabling the tool on your installation of Safari requires modifying the advanced preferences. An easy way to do this is by opening your terminal, and typing or pasting the following:
defaults write com.apple.Safari WebKitDeveloperExtras -bool true
Once enabled, the Web Inspector can be activated by right clicking anywhere on a web page and selecting 'Inspect Element', or by using the keyboard shortcut
There are many more in depth features of this excellent tool which I will save for a later post, but hopefully this has given an idea of what is possible. I encourage all developers to give Safari's Web Inspector a try, if only to give you a relative comparison of Firebug.