WebKit Detect script updated for iPhone and iPod touch

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.