In all browsers I tested (IE, Firefox, Chrome, Safari, Opera, Yandex), window.navigator.appCodeName
returns "Mozilla"
. I know the history of web browsers "hijacking" the user agent to fool pages into thinking that they are compatible with all other browsers, and I was content to live with appCodeName
just being an extension of that principal, however, I read the standard, and it turns out that the standard itself says that this will be the hardcoded value "Mozilla". So all these browsers are actually following the standards.
Why does this value exist? I assume it's reserved for future use, but what is the plan?
This question doesn't really explain it, because all it states is that it was because browsers hijacked it, which I already understand, but I'm moreso wondering what the past or future use was/is.