Re: Detect Safari Version
Re: Detect Safari Version
- Subject: Re: Detect Safari Version
- From: email@hidden
- Date: Fri, 14 Jan 2005 10:00:27 +0530 (IST)
- Importance: Normal
hi,
thanks for the tip... this looks like something i was looking for..
wil try it out..
thanks once again..
regards
sanoop
> On Jan 13, 2005, at 1:10AM, Mont Rothstein wrote:
>
>> In the DOM you want the navigator object. The userAgent property has
>> the information you are looking for.
>>
>> I don't know Java, so I can't tell you specifically how to grab it,
>> but that is where it is.
>>
>> So you know what you are looking the userAgent for Safari currently
>> gives:
>>
>> "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5
>> (KHTML, like Gecko) Safari/125.12"
>
> Since the original poster is writing a Java application using WebKit
> and not a java plug-in running inside a browser wouldn't it make more
> sense to check WebKit's version directly? Just check the
> CFBundleVersion key in
> /System/Library/Frameworks/WebKit.framework/Resources/Info.plist.
>
> If you are using a WebView then it really doesn't matter what version
> of Safari is installed. It matters what version of WebKit.framework is
> installed.
>
> -Frank
>
> ------------------------------------
> Frank M. Midgley
> email@hidden
> http://homepage.mac.com/knarf/
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden