[thelist] browser detection for fun and profit

Chris W. Parker cparker at swatgear.com
Tue Jan 21 14:07:01 CST 2003


Cake <mailto:cake at brothercake.com> wrote:

> 	"Apple's Web site now recognizes what browser you are using - as
long
> as 	you are surfing with its new Safari Web browser. A small Safari
> icon 	appears in the top-left corner of Apple.com with the message
> "Welcome 	Safari user"
>
>
>
>
> Any idea how they achieve this - since Safari can spoof its identiy,
> there must presumably be a unique object or combination of object
> returns that can be used to identify it uniquely?

if it were up to me i wouldn't concern myself with absolutely positutely
identifying safari beyond a shadow of a doubt. i would just look for the
word 'safari' in the useragent string. (iirc 'safari' is within the
default ua.)

my .02

chris.



More information about the thelist mailing list