Closed Bug 293629 Opened 20 years ago Closed 20 years ago

JavaScript navigator.appName and navigator.appVersion return wrong data

Categories

(Firefox :: General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 61071

People

(Reporter: bagshot2000, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

JavaScript navigator.appName returns "Netscape"
and navigator.appVersion returns "5.0 (Windows; en-GB)"
rather than Mozilla 1.0.3

This happens on Windows 98 as well as NT platform.
Reproduced on three separate PCs.
Firefox 1.0.3

Reproducible: Always

Steps to Reproduce:
1.save this text to an HTM file
2.
<html><head><title>demo</title></head><body>
<script language="javascript">
document.write( navigator.appName + "<p>" + navigator.appVersion ); 
</script></body></html>
3. open it in Firefox

Actual Results:  
it displays 
Netscape
5.0 (Windows; en-GB)

Expected Results:  
tell me the browser is Mozilla 1.0.3

No themes, no extras, just basic installation of Firefox 1.0.3

*** This bug has been marked as a duplicate of 61071 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.