Mabye I can simplify this with a little help from CF-Talkers...
CGI.USER_AGENT spits out something like so:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
If someone can tell me what IE 4/5/6 and Netscape 4/6/7 would spit out then I can whip this puppy up in a few minutes (I'm sure it's just looking at the part in brakets for "MSIE" etc....but I know there are some odd ones.
Even better would be if someone has a list of what IE/Netscape/Gecko/Safari/Opera would spit out ;-)
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: Jochem van Dieten
To: CF-Talk
Sent: Wednesday, April 07, 2004 2:49 PM
Subject: Re: browser detection script
Bryan Stevenson wrote:
>
> Does anybody have a rock solid _javascript_ script for browser detection? or a
> CF code snippet?
>
> I'm under the gun and don't really want to re-invent the wheel using this
> script (it's kind of overkill....but very good):
> http://webreference.com/tools/browser/_javascript_.html
>
> I'm not after anything fancy....just accurate ;-) I essentially want to
> redirect those with browser we won't be supporting.
The best way to do so is to test if the browser has the required
functionality, not to test for browser name (changes), version
(changes even faster) or security settings.
Jochem
--
I don't get it
immigrants don't work
and steal our jobs
- Loesje
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

