Surfin’ Safari

WebKit Detect script updated for iPhone and iPod touch

Posted by Maciej Stachowiak on Thursday, September 6th, 2007 at 4:04 am

We don’t usually recommend checking for specific user agents; it’s usually better to test for capabilities directly. But sometimes you need to work around a behavior difference that can’t be tested any other way. For those times, we have a WebKit detection script that properly checks for the WebKit engine (not just Safari) and properly detects versions.

This script has now been updated to support iPhone and the new iPod touch. You can try a live version to see what kinds of results you’ll get on different browsers and devices.

3 Responses to “WebKit Detect script updated for iPhone and iPod touch”

  1. Pingback from Around the Browsersphere #3:

    [...] The WebKit Detection Script has been updated to support the iPhone and the iPod Touch. [...]

  2. robg Says:

    Is there a list of those missing features that can’t be detected via feature detection?

  3. saywake Says:

    on my iPhone, it shows up as a “nightly build”. Is that what is expected?