Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detecting incorrect windows 7 as windows 10 #768

Open
MarianoFacundoArch opened this issue Nov 21, 2024 · 2 comments
Open

Detecting incorrect windows 7 as windows 10 #768

MarianoFacundoArch opened this issue Nov 21, 2024 · 2 comments

Comments

@MarianoFacundoArch
Copy link

Opening ua-parser-js official website as well, a windows 7 is detected as windows 10:

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "109.0.5414.75",
    "major": "109"
  },
  "cpu": {
    "architecture": "amd64"
  },
  "device": {},
  "engine": {
    "name": "Blink",
    "version": "109.0.0.0"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  }
}
@MarianoFacundoArch
Copy link
Author

Same problem with Windows 8.
However https://whatsmyos.com/ always detects all correctly...

@MarianoFacundoArch
Copy link
Author

For Windows 8, in ua-parser I get:

{
  "ua": "Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "109.0.5414.75",
    "major": "109"
  },
  "cpu": {
    "architecture": "amd64"
  },
  "device": {},
  "engine": {
    "name": "Blink",
    "version": "109.0.0.0"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  }
}

So it always returns OS windows 10, which is not true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant