Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other navigator.appCodeName

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24790
    cssfreak
    Member

    hey guys,
    i got one question
    why does IE return "mozilla" as an answer when the following is written in javascript
    alert(navigator.appCodeName);

    All major browsers also return mozilla …..let me know

    Thanks
    Ashish

    #57181
    Chris Coyier
    Keymaster

    That’s super weird but yes, you are right.

    For all you at home, just type this into the URL bar:

    Code:
    javascript:alert(navigator.appCodeName);
    #57183
    cssfreak
    Member
    "chriscoyier" wrote:
    That’s super weird but yes, you are right.

    For all you at home, just type this into the URL bar:

    Code:
    javascript:alert(navigator.appCodeName);

    But is there no reason why all browsers have used the code name "mozilla’ when their rival’s name incidentally is the same ;)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.