faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.29k stars 1.2k forks source link

Not showing my CPU or device type? #626

Closed rdvo closed 1 year ago

rdvo commented 1 year ago

My UA = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Not getting TYPE , MODEL or CPU

(blank)

Any ideas?

 (log) {
  ua: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
  browser: { name: 'Chrome', version: '108.0.0.0', major: '108' },
  engine: { name: 'Blink', version: '108.0.0.0' },
  os: { name: 'Mac OS', version: '10.15.7' },
  device: {},
  cpu: {}
}
faisalman commented 1 year ago

As of 0.7.33, this can be identified as Apple Macintosh https://github.com/faisalman/ua-parser-js/commit/a88660493568d6144a551424a8139d6c876635f6

device : {
  vendor : 'Apple',
  model : 'Macintosh'
  type: undefined
}