| <?php |
| $title = "Detecting WebKit with JavaScript"; |
| include("../header.inc"); |
| ?> |
| <h2>Detecting WebKit with JavaScript</h2> |
| |
| <p> |
| Since quite some bugs have been fixed in WebKit, you might want to recognize the |
| different versions of WebKit browsing your site, and adapt styling to that. To make |
| this work easier for you, we have created JavaScript libraries that do just this, |
| and example pages to show you how to use it. |
| </p> |
| <p> |
| There are two versions, the normal and the XL version. You will probably only need the |
| normal version, but if you need more info, the XL version might be just what you're |
| looking for. <a href="http://developer.apple.com/internet/safari/uamatrix.html">This matrix of WebKit versions and OS X versions</a> could be very useful to you too. |
| </p> |
| <ul> |
| <li><a href="webkit_version.html">Example page for normal library.</a></li> |
| <li><a href="webkit_version.js">The normal library.</a></li> |
| <li><a href="webkit_version_xl.html">Example page for the XL library.</a></li> |
| <li><a href="webkit_version_xl.js">The XL library.</a></li> |
| </ul> |
| <?php |
| include("../footer.inc"); |
| ?> |