Developer Tools in Safari : 19th March 2008



Turning on the Develop Menu

Open the safari preferences window, click on the ‘advanced’ option and then select the box entitled ‘Show develop menu in menu bar’. Straight forward! The result is a new field in the top menu which looks like the following:

Develop menu in Safari

Changing the User Agent

When testing your website, there are four main browsers to bear in mind – Internet Explorer, Firefox, Safari and Opera. We have covered testing these browsers on both the windows and mac platforms previously. If, however, you need to quickly use the user agent one of these browsers in order to check a piece of conditional formatting, Safari makes it easy. It is also possible to spoof the user agent of an iPhone or iPod Touch browser to check how your website would behave on a mobile device:

Choosing the user agent in Safari

Whilst this does not allow you to test how your website looks in these browsers, it is possible to check that any conditional formatting, browser specific CSS or mobile device re-directs are working as expected.

The Network Timeline

Whilst user agent emulation is handy, by far the most useful piece of functionality in this update is the network timeline. This offers a visual representation of each item loading on your webpage, along with the time it took and the total file size. It makes it very easy to see which elements of a page are slowing the user experience and where your page needs cutting down.

Running Design Shack through the tool shows that our main bandwidth hog is the images on the site – fairly expected due to the nature of the website! It did highlight a few scripts which took longer to load than we expected and may be a basis for changes in the future. This is what the tool looks like when running:

The network timeline developer tool

Whilst similar analysis tools have been available for many years, this is a great way to visualise the back-end of your website. Try running your web page through it and let us know if you find anything interesting!

  • Some test comment one
  • Some longer test comment two testing things out. Making it longer so that it wraps. Some longer test comment two testing things out. Making it longer so that it wraps.



Comments and Discussion


There are currently no comments posted on this article. Add yours:

Subscribe


Design Shack CSS Gallery RSS Feed Design Shack News RSS Feed Design Shack Email Newsletter Design Shack Twitter


Tutorial Archives






Sponsored By


PSD to HTML, PSD to XHTML Service by PSD2HTML.com. You Design - We XHTML / CSS.

GoodBarry - The best way for web designers to build online businesses, not websites for their clients. eCommerce, Email Marketing, Content Management, Integrated CRM, Reporting and Analytics and web hosting in one integrated solution.

ACS: Social Media Marketing & Search Engine Optimization Agency

Gooey Templates

NuBlue UK Web Hosting

Logo design, pre-made logo design and stationery

Search Web Jobs

Standard Advert

I'd like to be
inspired by:



Colour


Red Designs Blue Designs Green Designs Yellow Designs Brown Designs Orange Designs Brown Designs Grey Designs Multi Coloured Designs


Category




Layout


One Column CSS Layout Two Column CSS Layout Three Column CSS Layout Grid CSS Layout Other CSS Layout


I've got a
question...



What is Design Shack?

We showcase stunning CSS and Web 2.0 design, alongside resources and inspiration for you to succeed in the same way. We only offer the cream of great design, perfect for getting that spark of creativity going again.

Can you feature my site?

Of course - if it's up to the mark! Just fill in our simple form.

Can I help out?

We are looking for new people to help update and maintain the website alongside us. If you're interested, feel free to contact us.