Created
August 17, 2023 16:56
-
-
Save Tynael/d9314ceec011921f0b7656c36a466b17 to your computer and use it in GitHub Desktop.
Deprecated ways of getting data about user's browser and operating system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
navigator.appVersion | |
// '5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36' | |
navigator.platform | |
// 'Win32' | |
navigator.userAgent | |
// 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code used for https://neutrondev.com/detect-users-browser-os-using-javascript/