Forum: Rails Spinoffs (closed, excessive spam) Prototype.Browser.WebKit??

4090030fd5c1ef2fa188576a8768725b?d=identicon&s=25 elduderino (Guest)
on 2008-06-11 00:07
(Received via mailing list)
hi, what does this code do?

Prototype.Browser.WebKit

What is WebKit....i've googled it but am not getting any answers

Thanks
0147e858c76509f264daca9a460afd7a?d=identicon&s=25 Dan Dorman (Guest)
on 2008-06-11 00:13
(Received via mailing list)
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
E51640ebc75a902eefb2d7bc29976ca6?d=identicon&s=25 Andrew Kaspick (akaspick)
on 2008-06-11 00:14
(Received via mailing list)
You googled for webkit and didn't get ANY answers?  Wtf?
4090030fd5c1ef2fa188576a8768725b?d=identicon&s=25 elduderino (Guest)
on 2008-06-11 11:27
(Received via mailing list)
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!
F490e41cd5de1393a9f6958b70dae6ab?d=identicon&s=25 Frederick Polgardy (Guest)
on 2008-06-11 14:50
(Received via mailing list)
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.
This topic is locked and can not be replied to.