The team working on the apple webkit have added a new feature that's sure to be welcomed by webdevelopers/designers working on Mac OS X - the Web Inspector Panel. It's similar to the DOM Inspector in Firefox. Here's a screenshot. Here's how to get it:
defaults write com.apple.Safari \
WebKitDeveloperExtras -bool true
You should then see a contextual menu item on every page in safari. More info here
Slight correction: the second step is not required for the nightly builds. The shiny gold WebKit.app takes care of enabling the Web Inspector when it is run. You simply need to download and run! It couldn't get any easier ;-)
Posted by: Mark Rowe at January 19, 2006 05:30 AM .
ok. you got me. that's what comes from writing an entry before testing it yourself!
Posted by: bsn at January 19, 2006 09:36 AM .
this sounds really useful but it doesnt seem to work for me. I launch the nightly, navigate to my site but I dont see the dom inspector window....am i missing something?
Posted by: barry at January 28, 2006 10:57 PM .
The context menu item is called "Inspect Element".
Posted by: bsn at February 2, 2006 08:36 AM .
Ok, maybe it's just be, but I downloaded this (for windows). Am I just supposed to run the "run-nightly-webkit.cmd" file and that's it? I don't see the Inspect Element in my context menu. I know it's not super important my sites get seen in Safari for Windows, but I would imagine any problems I fix in this will hopefully fix them for OS X, which I can't test on.
On a side note, do you supposed web developers try to test things in all browsers simply because browser statistics say people are using that browser, however, could it be that the statistics report that because web developers hurry up to download every browser in existance, and all the testing they do on live sites is what results in the browser statistics? Just a thought.
Posted by: brian at July 21, 2007 08:25 PM .
You are reading "DOM Inspector in Safari" at Brand Spanking New.
This entry was posted in Software on January 18, 2006.
« previous | main | next »
Like what you see? Grab the feeds.
entries Feed
recent surfing Feed
recently commented Feed