Blog blurb

This blog is the resting place of my various projects. It's a place to find out about my various commercial and personal projects. Some of them are quite geeky and some of them are more arts based.

RSS Get updates by subscribing to the RSS feed.

You can debug in Safari

06 June 2008

I've never previously had any problems with my site designs working in Safari. So, I was really stumped recently when a site I'm working on looked very wrong in Safari.

I'd got used to the power of Firebug and the web developer toolbar, and I was lost without them. Luckily it turns out there is a Safari equivalent, it's just not turned on as Standard.

The easy way to turn on the develop menu

My good friend David J pointed out a much easier way to do this, so here it is:

  • Go to preferences
  • Choose the Advanced tab
  • Tick 'Show Develop menu in menu bar'

In case you like doing things the hard way, here is the way I was doing it before.

Another way to do it

To turn on the Develop menu in windows

Open the XML file:
C:\Documents and Settings\USERNAME\Application Data\Apple Computer\Safari\Preferences.plist

Just add this line to it under the last <key> line:

<key>IncludeDebugMenu</key>

You'll need to restart Safari and you should now notice an Extra Develop menu item on the top menu bar.

To turn on the Develop menu on a Mac

Open a terminal window and type:

defaults write com.apple.Safari IncludeDebugMenu 1

You'll need to restart Safari and you should now notice an Extra Develop menu item on the top menu bar.

 

It's not quite as good as Firebug, but it was a life saver for me. 

 

Richard Garside Richard&#32;Garside (gravatar)

3 Comments

leave your own
  • I could have sworn this was a menu option on my Mac???

  • It is, in Windows / Mac just go to preferences... Advanced... Bottom of the options pane is a tick box "Show Develop menu in menu bar" :)

  • Wow, you're right. Apple need to update their developer site as that's where I found out how to do it.

Your Information

email saved for notifications but never distributed

your comment