[thelist] detecting opera

Chris Garrett chris at chrisg.com
Thu Aug 23 04:24:40 CDT 2001


Yeah, I think where I have seen it done before you look for "opera" in the
user agent. I dont usually look for it specifically, I group it into
"others" along with konqerer etc ;O)

Chris

--

                 Me: http://chrisg.com
  ASP/.NET Articles: http://www.realworldasp.net/
ASP/.NET Newsletter: http://www.aspalliance.com/chrisg/subscribe.asp
----- Original Message -----
From: "Henning Poerschke" <hp at webmediaconception.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, August 23, 2001 10:14 AM
Subject: Re: [thelist] detecting opera


> At 06:12 23.08.01, Marc wrote:
>
> >Is there a way to detect Opera when it's masquerading as some other
browser?
> >
> >thanks.
> >-marc
>
>
> Opera 5.12 win masquerading as either IE or NS apparently changes
> navigator.appName but leaves a mention of Opera in navigator.userAgent.
>
> I'm therefore using navigator.userAgent.indexOf('Opera') to check for
Opera.
>
> I don't know about any other versions or platforms, though.
>
> HTH
> .henning
>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list