eXTReMe Tracker

Thursday, October 19, 2006

Safari Debugging + DOM Tree Model

I never knew about this little trick but apparently its been around for a long time. Gives you javascript debugging and DOM tree. Supposedly Safari is getting a Firebug-like DOM inspection tool soon so this will be obsolete, but for now...

Type the following command in Terminal (while Safari is NOT running):

defaults write com.apple.Safari IncludeDebugMenu 1

Then launch Safari, and enjoy the new Debug menu. If you want to disable it again type the same comand only with a 0.

1 Comments:

Blogger Jamie said...

Very handy. Thanks!

1:48 PM  

Post a Comment

<< Home