Skip to Content
Platform.Ontology

navigator.oscpu, vendor, productSub

Legacy engine strings: oscpu (Firefox), vendor, vendorSub, productSub, cpuClass.

Gets silentlyDevice detailsBrowser identityWeb browsersWhen the page loadsWhile you use it

In one line

Can see old engine labels that tell Chrome, Safari, and Firefox apart

Legacy engine strings: oscpu (Firefox), vendor, vendorSub, productSub, cpuClass.

Quick tells for the rendering engine and OS. vendor is Google Inc., Apple Computer, Inc. or empty (Firefox); productSub is 20030107 on Chromium and Safari, 20100101 on Firefox. Used to catch spoofed browsers.

What it can and can't do

What the user does: Nothing. It happens when the page loads

It can

  • Check vendor, productSub, and oscpu text
  • Tell the browser engine and OS family
  • Catch a browser that is faking its identity

It cannot

  • See your exact device or OS version
  • See anything in oscpu on Chrome or Safari
  • See your name, location, or accounts
  • Tell you apart from others using the same browser

How it differs between platforms: The oscpu value comes back only in Firefox. Other browsers return nothing.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11None
EdgeSupported122015-07-29None
FirefoxSupported12004-11-09oscpu is Firefox only
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidSupported182012-06-27None
Samsung InternetSupported1.02013-04-27None

How a site asks for it

APInavigator.oscpu, navigator.vendor, navigator.productSub, navigator.cpuClass
Browser compat keysapi.Navigator.vendor
api.Navigator.oscpu
api.Navigator.productSub
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnone needed (no grant)
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: object
How often: static per session

FieldTypeUnitRangePrecision
vendorenumNoneGoogle Inc., Apple Computer, Inc., emptyNot listed
productSubenumNone20030107 or 20100101Not listed
oscpustringNoneFirefox only, e.g. Intel Mac OS X 10.15frozen in recent versions

Technical limits

  • Deprecated fields; values are constants per engine

The story

What it is

Old engine strings like oscpu, vendor and productSub that quickly show which browser engine you run.

For you

You never see them. A site can read one short string and know you use Firefox, Chrome or Safari, even if you changed the user agent.

For makers

Different engines return different values, so these are quick tells. Fraud teams use them to catch fakes. Developers use them to work around engine differences.

Where you see it

TypeExampleApps
securityA bot defence service sees vendor says Google Inc. but oscpu exists, which only Firefox has, and flags the visitor.DataDome, Akamai Bot Manager
adsAn ad verification script separates real browsers from headless tools by checking these fields.Integral Ad Science
developerA support page prints these values to help staff work out which engine a customer runs.None named
gamesA browser game portal enables a fix for a known engine bug when it recognises the engine.None named
analyticsA traffic report separates Firefox, Safari and Chrome even when the user agent is hidden.None named
bankingA bank adds a point to a login risk score when the engine tells disagree.None named

Risks

  • Quick engine test
  • Mismatch looks suspicious

Good uses and abuse

Legitimate uses

  • Engine detection

Known abuse

  • Spoof detection for anti-fraud

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits1Rough identifying entropy, when known

A real example: LinkedIn

Collected as vendor, vendorSub, productSub, oscpu, cpuClass. Read by the LinkedIn APFC fingerprint script (48 features, alleged by BrowserGate, partly confirmed by BleepingComputer).

History

  • 2023-02, Firefox 110: oscpu frozen alongside UA
  • navigator.platform. Can see a short label for your OS family, like Win32, MacIntel, or iPhone

Sources

How well checked: Based on official documentation.

On this page