UA string.

Dirk Mueller mueller at kde.org
Fri Feb 21 00:05:06 GMT 2003


On Don, 20 Feb 2003, Darin Adler wrote:

> Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/60 (KHTML, 
> like Gecko) Safari/60

hmm, the second pair of brackets is not going to be a problem for some 
websites? 

I guess we should change our to

Mozilla/5.0 (compatible; Konqueror/3.1; KHTML, like Gecko; Linux)

But thats not really compatible to your format. Something like

Mozilla/5.0 (compatible; Konqueror/3.1; Linux) (KHTML, like Gecko)

would match it more. Is there any spec on UserAgent string formatting?

Though this clashes with websites that treat "compatible" as MSIE, and 
expect "Gecko" after the closing brackets to detect it as Gecko. Of course 
this might be as well the golden way to get the best variant from all kinds 
or webpages, or it might cause use to get the worst variant. grmbl. 

maybe

Mozilla/5.0 (compatible; U; Linux; en-us) KHTML/3.1 like Gecko

?

BTW, do you happen to know the meaning of the "U;" ? :-)


-- 
Dirk (received 65 mails today)




More information about the kfm-devel mailing list