Only poorly written scripts will be unable to detect Opera. The so-called "spoofing" function in Opera was introduced at a very early stage because there were a lot of web sites that looked for MSIE or Netscape, and when it found neither, the rest of the script would fail. There's still quite a few of those scripts around.
The word
Opera has always been appended to the UA string, so web designers who want to detect Opera, has always been able to do so. It's simply a matter of knowledge and will.
Edward wrote:Since the UserAgent with "MSIE 6.0" in it reflects IE 6, I believe it is that which web sites pick up for their statistics, which records it as IE, not Opera.
Then you might as well say that since
Mozilla/4.0 is in it, it reflects Netscape, which is what the statistics will pick up. This is, as you and I know, not the case, since MSIE, Mozilla, Netscape and Opera all include
Mozilla/4.0 in their UA string.
Instead - and this is my point - since
Opera is included in the UA string, there should be no problem to detect Opera.
I use
StatCounter, and they're able to detect Opera fine, regardless of what it identifies itself as, because they look for
Opera in the UA string.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.54 [en]