[webkit-dev] Qt's default webkit user agent

Benjamin Meyer benjamin.meyer at trolltech.com
Tue Feb 12 01:38:06 PST 2008


As it is today Qt's default user agent (in qwebpage.cpp) is hard coded to:

"Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/523.15 (KHTML, 
like Gecko) Safari/419.3 Qt"

Seeing as this library will be used inside of many other applications it makes 
sense to include by default at least the application name/version when they 
are set.  QCoreApplication gives us several strings which can be used.

applicationName, applicationVersion, organizationDomain, organizationName

But at a bigger question, what should be included (or not included) with the 
default user agent?  Is there docs anywhere that suggest what webkit library 
users should use as their user agent string?

-Benjamin Meyer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.webkit.org/pipermail/webkit-dev/attachments/20080212/b06aa29b/attachment.bin


More information about the webkit-dev mailing list