IE7 User Agent String published

The IE7 hackers (the ones at Microsoft hacking on the real IE7, that is, not Dean Edwards :) ) have revealed that IE7’s user agent string will be “Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)”.

Those of you who are thinking, so? who cares about user agent strings? should give yourselves a pat on the back. We, the web developers of the world, should not care about them. Using the user agent string to sniff for browsers is very bad, and you should not do it; use feature sniffing instead, where you test for the features that you want to use. Don’t test the user agent string. It’s a bit concerning to me that the IE team are releasing details of the user agent string this early on, because that at least implies that they are expecting people to start testing for it, and that makes them surprisingly out of touch with the way we should be doing things. That’s surprising because they are clueful guys over there (yes, they are, stop the snarky comments), and it would be much more useful to know whether, say, CSS hacks that people are currently using to exclude IE will continue to work.

Still, at least you can now start checking your server access logs to see if people with IE7 are browsing your website.


Category: javascript Time: 2005-04-28 Views: 1

Related post

  • Finding different Windows XP Service Packs via User-Agent string 2014-02-10

    I am planning to get rid of the SHA1 certificate signing algorithm in our certificates and switch over to SHA-256. Problem is, that Windows XP (before SP3) is not supporting this. Therefore I need to know how many people are still using these version

  • Internet Explorer 10 Compatibility View sends incorrect User Agent String 2013-09-17

    My user agent string in IE 10 Compatibility View is incorrect. It still sends a user agent string that identifies as IE 10. This prevents pages rendering in IE7 the way they should. Internet Explorer 10: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT

  • Analyse a set of User-Agent strings 2011-02-17

    I have a list of User-Agent strings and timestamp. I also have a unique identifier for the user. What is the best tool for analyzing this type of data? --------------Solutions------------- Analog can handle this. With the appropriate logfile format y

  • Blocking apache access via user agent string 2011-03-25

    I've got a scripter who is using a proxy to attack a website I'm serving. I've noticed that they tend to access the site via software with a certain common user agent string (i.e. "Havij advance

  • How would I extract the user agent strings from a log file? 2011-07-18

    Currently I am running a command like this, to get the most requested content: grep "17\/Jul\/2011" other_vhosts_access.log | awk '{print $8}' | sort | uniq -c | sort -nr I want to now see the user agent strings, but the problem is they include

  • Blocking by user-agent string in httpd.conf not effective 2011-09-12

    I'd like to block some spiders and bad bots by user-agent text string for all of my virtual hosts via httpd.conf but have yet to find success. Below are the contents of my http.conf file. Any ideas why this isn't working? env_module is loaded. SetEnv

  • What is the rationale for where exactly "Ubuntu" is placed in the browser user agent string? 2012-01-16

    Firefox has "Ubuntu" placed just before "X11" while Chromium has it placed later on in the string (after "(KHTML, like Gecko)"). There have been instances of web sites not recognizing Firefox only when the distro is Ubuntu: i

  • Please deconstruct a user agent string for me 2012-03-29

    Okay I give up. Given the user agent string below, which browser is being used? It might be IE8, since I can't envision firefox sending this. If it is IE8, why the hell is the "Mozilla" string in there? I am not familiar with the history or taxo

  • Why would an IE8 in a desktop has a 'Tablet PC 2.0' in its user-agent string? 2012-04-17

    I am just curious, why would a windows 7 desktop, installed with ie8, have Tablet PC 2.0 in its user agent string. Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Medi

  • How can I change the user agent string sent by Chrome on my Nexus 7? 2012-10-03

    Reading the reviews of the BBC Media Player on Google Play, one user said that since Chrome supports HTML5, he had managed to persuade the BBC iPlayer website to play him streams meant for iPad/iPhone devices by spoofing an IOS user agent string on h

  • Would it be possible to extract user agent strings from 3G/4G Data 2012-12-29

    At a location where 3G/4G Data is prohibited, would it be practically possible to extract user agent strings from 3G/4G Data and compared to a list of known mobile browsers, assuming that the correct equipment is used to capture the data, and the nec

  • Filtering desktop users by user agent string 2013-02-13

    In order to determine whether to serve the mobile or full version of my site by default, I use a service that examines requests to determine the type of device they originated from. However, calls to that service are somewhat expensive, so I'd like t

  • What are some nice sources for User-Agent strings? 2013-08-29

    I'm testing a library that processes queries based on User-Agent. In my tests, I'd like to feed it as much strings as possible. Where can I find a public collection of User-Agent strings? I'm mainly interested in "real" strings, but a collection

  • How can I block a user agent string in IE11? 2013-10-16

    We are starting to upgrade our laptops to Windows 8 touch screen and we are finding out some of the older websites (Ones we cannot change) detect the touchscreen as a mobile device and will not load the website correctly. We are using IE11 in Desktop

  • How to reverse the defaults write CustomUserAgent "\"My user agent string\"" command 2013-10-30

    Using the defaults write CustomUserAgent "\"My user agent string\"" command, you can set the default User Agent for Safari. This means that the CustomUserAgent key gets written in ~/Library/Preferences/

  • Which user agent string does the Web browser on mobile devices have 2013-11-08

    I'd like to know which User Agent string (UA) the Ubuntu Web Browser app on mobile devices has, and which implications does that have on existing web sites? E.g. will most sites behave correctly with it? Is there some kind of fallback UA in case some

  • Block bots by their Java referrer or User-Agent string? 2014-01-27

    I have been getting a lot of web hits in my logs that crawl most top level pages of my site and show a referrer as a Java version. I see different variants of the Java versions in the referrer, i.e. Java/1.6.0_04, Java/1.4.1_04, Java/1.7.0_25, etc. A

  • Why would a user agent string be executed? 2014-02-11

    I'm having trouble understanding how a particular XSS vulnerability might arise in the real world. Guides for two of the exercises on

  • "Mozilla/5.0" and "like Gecko": Do web applications still test for Firefox-specific user agent strings? 2014-02-12

    Forgive me if this is the wrong site to ask this question; some similar questions were closed on Web Applications Stack Exchange, so I asked this question here. If necessary, feel free to migrate this question. Many current browsers identify themselv

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.729 (s). 13 q(s)