PDA

View Full Version : Firefox shows as Netscape?



Dustfinger
05 Jun 2007, 06:40 PM
I'm making my own cross browser javascript file that would simply return the pageWidth or pageHeight, depending on what you asked for. I'm doing it more for practice than anything, since there are free files already out there that could do just this. I was testing out the navigator.appName and navigator.appVersion commands, and they came back with Netscape 5.0 (Windows; en-US) for my browser, even though last I checked I'm using Firefox. Is this supposed to happen, and if so what's the reason for it?

I searched google and found nothing on the subject, so I figured I'd check here.

Wickham
06 Jun 2007, 02:28 AM
I think I'm right in saying that Netscape and Firefox use the same rendering engine ?Gecko? so it may be that Netscape and Firefox are being confused.

(I always find that Netscape 7.2 shows the same as Firefox when displaying web pages.)