Why does navigator variable in Chrome show Mozilla/Gecko in some places?

Viewed 1211

I am trying to detect what browser a user is using my web app on and, interestingly, when I check the navigator variable, it shows me some values like this -

navigator variable in Chrome console

Now I don't understand why appCodeName is 'Mozilla' and appName is 'Netscape' Also, why is navigator.product showing 'Gecko'?

Could someone decode this please?

1 Answers
Related