Changes between Initial Version and Version 1 of DetectingWebKit


Ignore:
Timestamp:
Nov 14, 2006 7:12:09 PM (13 years ago)
Author:
pewtermoose@gmail.com
Comment:

Moved this from the website

Legend:

Unmodified
Added
Removed
Modified
  • DetectingWebKit

    v1 v1  
     1= Detecting WebKit with JavaScript =
     2WebKit has evolved quite a bit since its introduction and it is sometimes useful to detect WebKit versions in order to work around bugs.  To make this easier, we have created two JavaScript libraries that do just this.
     3
     4
     5'''Note:''' These scripts are intended as a last resort to send specific code to WebKit-based browsers.  [http://developer.apple.com/internet/webcontent/objectdetection.html This ADC article] explains why browser sniffing is discouraged, and describes some alternatives.
     6
     7== Normal vs. XL ==
     8Most people should only need the normal library.  It detects what version of WebKit is being used and whether or not that version was shipped as a system version of WebKit or a nightly.
     9
     10If you need to know not only what version of WebKit, but also what WebKit-based browser (Safari, OmniWeb, Shiira, etc), then the XL version is better suited for you.
     11
     12This [http://developer.apple.com/internet/safari/uamatrix.html matrix of WebKit versions and OS X versions] is useful for determining exactly what versions you need to look for.