Safari 3: Enable Web Inspector / Developer Tools

Home -> Apple Mac -> Mac OS X Leopard

4436 views

From the computer of: davak (386 recipes)
Created: Dec 09, 2007


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

For web developers, viewing the DOM and reviewing the style sheet rules are essential. With a quick command you can enable the web inspector for Safari 3.

IE developer toolbar for IE or Firebug/YSlow for Firefox -- these are valuable tools for web developers and programmers. Theming, designing, and web programming without such developer tools is practically impossible.

While the other browsers require additional add-ons, Safari just requires a terminal command...

defaults write com.apple.Safari WebKitDeveloperExtras -bool true



Once you enable the flag, you will need to quit and restart safari.

Right-clicking (ctrl-clicking) on any element of the web page will show an option to open the web inspector.



The developer's tools open which will allow for easy exploration of the style rules, properties, etc.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Leopard: Web Clip with Safari to Create Automatic Dashboard Widgets
  Leopard Dictionary: Check Grammar
  Leopard Terminal: TABS!
  Leopard: Disable / Enable Translucent Menu Bar
  Leopard Breadcrumb Navigation: Show Path in Finder
  Mosaic: New Leopard Screen Saver
  Leopard Dictionary: Add, Remove, and Rearrange Dictionaries including Japanese
  Leopard: Spring Loaded Dock
  Leopard: How to Set or Change the Workgroup Name
  Leopard Mail: Create New Stationery

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.