The Navigator object

The window.navigator property retrieves the Navigator object, which contains the properties and identity of the browser in which the user is active

attribute meaning
appName Browser official name
appVersion Browser Version
userAgent User agent for the browser (with kernel and shell information)
platform User operating system
   <script>
        console.log('Browser Brand',navigator.appName);
        console.log('Browser Version',navigator.appVersion);
        console.log('User agent',navigator.userAgent);
        console.log('Operating system',navigator.platform);

    </script>
Copy the code

Console output