0

What result I got from this kind of navigator properties?

Hey there! I am confused because I am using Google Chrome but still the both of this returns "Mozilla" for "navigator.appCodeName" property & "Netscape" for "navigator.appName". My question is why It is returning these?

28th Apr 2021, 11:27 AM
Coder-Rohit[{(∞)}]
Coder-Rohit[{(∞)}] - avatar
2 ответов
+ 3
Coder-Rohit[{(∞)}] Navigator.appCodeName property is always "Mozilla", in any browser. This property is kept only for compatibility purposes. Do not rely on this property to return a real product name. All browsers return "Mozilla" as the value of this property. The Navigator.appName property is always "Netscape", in any browser. This property is kept only for compatibility purposes. Do not rely on this property to return a real browser name. All browsers return "Netscape" as the value of this property This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible. source: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appName https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appCodeName Thank you and happy coding!
28th Apr 2021, 12:33 PM
Matias
Matias - avatar
+ 2
Sorry I forgot to add the source link. Ipang Thank you so much for reminding me😁!!
28th Apr 2021, 3:20 PM
Matias
Matias - avatar