Click to See Complete Forum and Search --> : All my browsers identify as firefox...?


Tabo
03-14-2008, 04:26 PM
I have windows vista which shipped with IE 7 and I have installed a number of browsers (Firefox, Netscape[ffx], Opera, Safari, Contribute[IE]), and I've always had this problem. For some strange reason, IE (and maybe some other of my other browsers- but due to them all complying to standards its hard to tell) behave as if they run on gecko/mozilla. They support html/js/css like firefox does, as well as how it is suppose to behave. I just ignored this until a while ago and relied upon looking at compatibility tables and guessed if things look right in the appropriates browser.

When looking at the headers sent from each browser, they each contain "firefox"-

Safari- Mozilla/5.0 (Windows; U; Windows NT 6.0; en) AppleWebKit/522.15.5 (KHTML, like Gecko) Version/3.0.3 Safari/522.15.5.

Opera- Opera/9.25 (Windows NT 6.0; U; en).// looks normal

IE 7- Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.1).

Maybe im being dumb and I don't know what I'm talking about but why is this happening and how can I stop it? The reason why I have more than one browser is so that I can test my site on each one, but I cant with this problem!

felgall
03-15-2008, 12:09 AM
Those all look like the normal useragents for those browsers. In any case the useragent doesn't affect the way a browser renders the page. There is nothing for you to stop as everything is set up the way you want.

Orc Scorcher
03-15-2008, 04:51 AM
Maybe im being dumb and I don't know what I'm talking about...
That's the problem :p.
From http://en.wikipedia.org/wiki/User_agent#User_agent_spoofingThe earliest example of this is Internet Explorer's use of a User-Agent string beginning "Mozilla/<version> (compatible; MSIE <version>...", in order to receive content intended for Netscape Navigator, its main rival at the time of its development. This was not a reference to the open-source Mozilla browser, which was developed much later, but to the original codename for Navigator, which was also the name of the Netscape company mascot. This format of User-Agent string has since been copied by other user agents, partly because Explorer, in turn, came to dominate.

how can I stop it? You don't. That's how the browsers identify almost all of the time, so you have to deal with it.

felgall
03-15-2008, 06:22 PM
Basically these days the only browser to identify itself as Mozilla4 is Internet Explorer or a browser pretending to be Internet Explorer.

Almost all other browsers identify themselves as Mozilla5 and then include additional info to identify which browser it actually is.

Mozilla 1 through 4 without further qualification identify the old Netscape browsers that were the standard before IE4 came along and took away Netscape's market. The Mozilla4 reference by IE was so that it would be treated as if it were Netscape.