Browser detection

[prev] [thread] [next] [lurker] [Date index for 2003/12/22]

From: Earle Martin
Subject: Browser detection
Date: 10:24 on 22 Dec 2003
Did we do this one already? Who cares, let's go:

I just visited powergen.co.uk. I got this message:

----
We have detected that you are running a browser not supported by this
website.

We currently support Microsoft Internet Explorer (Version 5.0 or above) and
Netscape Navigator (Version 7.02 or above).

Whilst not officially supported the site can also be used with Opera
(Version 7.20 or above) and Konqueror (Version 3.1.1 or above).

Your Current Browser: Netscape
Your Current Version: 1.89

It is recommended that you upgrade your browser to one of the below. 
----

Uh... Netscape 1.89? Let's have a look at that version string.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030728 Mozilla
Firebird/0.6.1 StumbleUpon/1.89

Oh look. It's taken the beginning and the end of the string - the end
happening to be the version number of StumbleUpon (that SU appended without
asking me, and I hate it for doing so, as an aside).

What fucking shitwit wrote this browser detection script? Having a website
that does that at all should be a hanging offense, even *if* it works, which
half of the time it doesn't. 


-- 
Earle Martin
hex on irc.perl.org
http://purl.oclc.org/net/earlemartin/

Generated at 14:02 on 01 Jul 2004 by mariachi 0.52