[thelist] Re: browser detection for fun and profit

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Jan 22 09:00:28 CST 2003


> > 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?
>
>Safari uses the following UA string by default:
>
>Netscape 5.0 Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/48
>(like Gecko) Safari/48
>
>Notice that "Safari" is in the string.
>
>There are utilities that enable a Debug option in Safari that normally
>isn't there, and it the debug menu is the option to spoof other UA strings.
>I'm not sure if "Safari" still appears in the spoofed UA strings.

It doesn't, which is why a pure browser detect on navigator.userAgent is
impossible.

--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
--------------------------------------------------


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail




More information about the thelist mailing list