Vincent Nicolas wrote: > > [EMAIL PROTECTED] (Brian Clark) wrote in > [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > > > I thought this was very interesting. When goint to the "About > > Netscape 6" page from the Help menu in Netscape 6.2, it says > > > > Netscape 6.2 Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) > > > > Did Netscape put this in to prevent companies like Microsoft from > > blocking browsers based on their UserAgent string? Or, is the real > > UserAgent string something else, and this is just what they wrote in > > "About" page. > > I guess the reason : many (not very well coded) sites consider the client > has Netscape 4.x when it is not IE. But Netscape 6 / Mozilla has get rid > off some particularities of Netscape 4.x to adopt W3C standards (Layer was > dropped for iframes). > > On such sites, the page doesn't work but if you try it pretending you are > IE, it works !! > > This is just a hypothesis.
The opposite happens as well. Many sites uses document.all and other IE-specific code if they detect that the user-agent is MSIE, and uses standards-compliant code otherwise.
