hi, what does this code do? Prototype.Browser.WebKit What is WebKit....i've googled it but am not getting any answers Thanks
on 2008-06-11 00:07
on 2008-06-11 00:13
On Tue, Jun 10, 2008 at 4:06 PM, elduderino <jamesfiltness@googlemail.com> wrote: > > hi, what does this code do? > > Prototype.Browser.WebKit Prototype uses some browser-sniffing techniques to try and determine what user agent is accessing the page. It store the result in a series of boolean variables. So if Prototype.Browser.WebKit is true, the user is using a WebKit-based browser (Safari, and perhaps Konqueror?). > What is WebKit....i've googled it but am not getting any answers Hmm. A simple Google search for "webkit" yields, as its top three results: 1. The WebKit Open Source Project: "WebKit is an open source web browser engine. WebKit is also the name of the Mac OS X system version of the engine that's used by Safari, ..." 2. Surfin' Safari: "Weblog from David Hyatt, one of the engineers working on creating and updating Safari." 3. WebKit - Wikipedia, the free encyclopedia. "WebKit
on 2008-06-11 11:27
Well thanks for the answers guys....i actually searched for Prototype.Browser.WebKit because I was under the illusion that this was a prototype specifc thing. What's with the attitude Andrew WTF!
on 2008-06-11 14:50
WebKit is not a prototype specific thing, it's an HTML/JavaScript/CSS rendering engine. Prototype.Browser.WebKit is a Prototype specific thing, it's a boolean test to determine whether this script is being processed by WebKit. :-) On Wed, Jun 11, 2008 at 4:26 AM, elduderino <jamesfiltness@googlemail.com> wrote: > > > > > > > hi, what does this code do? > > > > > Prototype.Browser.WebKit > > > > > What is WebKit....i've googled it but am not getting any answers > > > > > Thanks > > > -- Science answers questions; philosophy questions answers.