Dreams of Thought

Are dreams thoughts… or are thoughts dreams..

RSS Feed

User agent GTB or GTB5 is the Google Toolbar

0 Comments
Posted by Anirudh on October 5, 2009 at 11:02 PM

Was checking out this blog’s visitor stats recently when I came across this User Agent "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5".  I was wondering what GTB5 was. Some googling and testing later I found out that GTB is in fact the Google Toolbar. To compare, here’s the UA of a Firefox browser with Google Toolbar installed :

"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5"

And here’s another Firefox without it :

"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)"

Also, if you plan to capture the UA string in the Apache logs, make sure that feature is turned on. Your LogFormat directive must have something like \"%{User-Agent}i\" in it. For eg,

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

You can check the Apache documentation on custom log formats for more info. If you’re using XAMPP/LAMPP, you might want to comment out

CustomLog logs/access_log common

line in your httpd.conf and uncomment

CustomLog logs/access_log combined

line.

Related posts:

  1. Identify visits from Google Real time search
  2. How to log requests to specific paths on Apache
  3. Comparison of Google Public DNS and Open DNS response
  4. How to programmatically create and log in drupal users
Filed under technology
Tagged as ,
You can leave a comment, or trackback from your own site.

0 Comments

You can be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>