hi, what does this code do? Prototype.Browser.WebKit What is WebKit....i''ve googled it but am not getting any answers Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Jun 10, 2008 at 4:06 PM, elduderino <jamesfiltness-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > hi, what does this code do? > > Prototype.Browser.WebKitPrototype 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 answersHmm. 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> > Thanks > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You googled for webkit and didn''t get ANY answers? Wtf? On 6/10/08, elduderino <jamesfiltness-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > hi, what does this code do? > > Prototype.Browser.WebKit > > What is WebKit....i''ve googled it but am not getting any answers > > Thanks > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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 Jun 10, 11:13 pm, "Andrew Kaspick" <akasp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You googled for webkit and didn''t get ANY answers? Wtf? > > On 6/10/08, elduderino <jamesfiltn...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > hi, what does this code do? > > > Prototype.Browser.WebKit > > > What is WebKit....i''ve googled it but am not getting any answers > > > Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > 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 Jun 10, 11:13 pm, "Andrew Kaspick" <akasp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > You googled for webkit and didn''t get ANY answers? Wtf? > > > > On 6/10/08, elduderino <jamesfiltn...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---