E-Mail:
Get my new Windows 7 eBook (PDF) for $7 with 70+ Tips. Download Now!

What’s a Browser User-Agent String?


Add to iTunes | Add to YouTube | Add to Google | RSS Feed

A Browser User-Agent is information that your browser passes along to websites when you visit any particular web page. It’s benign information – mostly about the browser itself to help optimize your experience. There are tons of different web browsers available to use, and each of them has their own unique user-agent string.

When you visit a Web page, your browser sends the user-agent string to the server hosting the site that you are visiting. This string indicates which browser you are using, its version number, and details about your system, such as operating system and version. The Web server can use this information to provide content that is tailored for your specific browser.

The easiest way for you to analyze your own user-agent string is to visit the UserAgentString web site. As soon as you go to the site, you’ll see that your information is displayed on the page, such as the browser and operating system you are using. You can also analyze it on the page – learning what each part means.

This information is being passed along, whether you knew it or not. Other information is being passed along, as well – such as whether javascript is turned on. None of these things are something that should be hidden, or covered up. It’s a good thing for developers to be able to see this information, so that they can make sure their site is working properly for your particular browser.

Trying out this site won’t help you figure out what browser may be the fastest, but it will give you information about the browsers that you may not have known.

Want to embed this video on your own site, blog, or forum? Use this code or download the video:

GoDaddy Web hosting plans are now more powerful than ever. Best of all, their plans start at just $3.95/month! No matter what plan you choose, your site receives 24/7 maintenance and protection in a world-class data center. Plus, as a listener of The Chris Pirillo Show, enter code CHRIS3 and get your .COM domain name for just $6.95 a year. Get your piece of the internet at GoDaddy!

5 Comments

Makes perfect sense to me….how else would browsers figure out configurations

Nice to know info especially from my iPhone which it confirmed has strong security.

The best and funniest explanation of user agent strings anywhere is here: http://webaim.org/blog/user-agent-string-history/

But seriously, detecting the browser based on user agent string doesn’t work. It’s actually bad for your website and can make some people unable to view your site.

Philippe Azimzadeh

April 18th, 2009
at 8:52am

UserAgentString.com thinks that Safari 4 is a Mozzila based browser, and it also says “like Gecko” whatever that means.

“None of these things are something that should be hidden, or covered up.” – Hmmm, I’d have to disagree there, true if the site visited is Mostly Harmless, but a malicious site will tailor its exploits to the browsers’ vulnerabilities – there’s also a server agent string that comes back, think unpatched IIS for what a scriptkiddie could do with that info.

A number of web cache / load balancing devices rewrite the UAS to help get around this (think of the ISP hosting colo sites, where customer servers may be running any server on any platform), forcing strict HTTP and returning a null or garbage (or even the name of the appliance vendor’s kit, hopefully they won’t have exploits for security devices…) for the server agent – helpful in an environment where security counts!

What Do You Think?