ashley sheridan.co.uk

Google Chrome Browscap.ini Amendments

The release of the Google Chrome browser has led to a slight change in browser usage, and as time goes on and Google adds new features to nthe browser, it is likely to only get used more and more.

A lot of sites use visitor tracking software, and some use browser sniffing to deliver content tailored to that particular browser. Currently, the best way of doing this is with the browscap.ini file, which details a huge amount of browsers and browsing agents, from Firefox to Googlebot. However, the ini file is not yet up-to-date with the latest browser, so here is my contribution towards the work:

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Google Chrome
  2. [Chrome]
  3. Parent=DefaultProperties
  4. Browser="Google Chrome"
  5. Frames=true
  6. IFrames=true
  7. Tables=true
  8. Cookies=true
  9. JavaApplets=true
  10. JavaScript=true
  11. CSS=2
  12. CssVersion=2
  13. supportsCSS=true
  14. [Mozilla/5.0 (Windows; *; Windows NT 5.1; *) AppleWebKit/* (KHTML, like Gecko) Chrome/* Safari/*]
  15. Parent=Chrome
  16. Platform=WinXP
  17. Win32=true
  18. [Mozilla/5.0 (Windows; *; Windows NT 5.1 x64; *) AppleWebKit/* (KHTML, like Gecko) Chrome/* Safari/*]
  19. Parent=Chrome
  20. Platform=WinXP
  21. Win32=false
  22. Win64=true
  23. [Mozilla/5.0 (Windows; U; Windows NT 6.0; *) AppleWebKit/* (KHTML, like Gecko) Chrome/* Safari/*]
  24. Parent=Chrome
  25. Platform=WinVista
  26. Win32=false
  27. Win64=true

As there are very few user agent strings that I have available to work with at the moment, so this only tracks the browser on the 3 Windows operating systems I could the strings for. Obviously this will have to change quite a bit in the next few months when Google releases their browser for the Mac OS and Linux, but for now it should do the job.