Legacy cpuClass and oscpu
Old non-standard strings naming the CPU class and operating system CPU.
In one line
Can sometimes see an old CPU and OS string, mostly in Firefox
Old non-standard strings naming the CPU class and operating system CPU.
cpuClass (old Internet Explorer) and oscpu (Firefox) mostly return nothing in Chrome, which is itself a signal for which browser engine runs.
What it can and can't do
What the user does: Nothing. It happens when a page checks the old browser fields
It can
- Get the oscpu text in Firefox
- Notice when Chrome returns nothing, which hints at the engine
- Use the answer to guess the browser and OS
It cannot
- See anything useful in Chrome, Safari, or Edge
- See your exact chip or speed
- Get the old cpuClass value outside very old Internet Explorer
- Learn your name or location from it
How it differs between platforms: Only Firefox returns the oscpu value. Chrome, Safari, and Edge return nothing.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Not supported | Not available | Not listed | None |
| Edge | Not supported | Not available | Not listed | None |
| Firefox | Supported | 1 | 2004-11-09 | oscpu |
| Safari | Not supported | Not available | Not listed | None |
| Safari on iPhone | Not supported | Not available | Not listed | None |
| Chrome on Android | Not supported | Not available | Not listed | None |
| Samsung Internet | Not supported | Not available | Not listed | None |
How a site asks for it
| API | navigator.cpuClass, navigator.oscpu |
| Browser compat keys | api.Navigator.oscpu |
| How access is granted | none |
| What the user sees | None (no browser prompt) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Script reads the value
- Value joins the fingerprint payload
Data you get
What comes back: Legacy cpuClass and oscpu
Shape: string
How often: static
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
cpuClass | string | None | x86 or undefined | Not listed |
oscpu | string | None | e.g. Intel Mac OS X 10.15 or undefined | Not listed |
Technical limits
- Undefined in most browsers
The story
What it is
Old strings that name your processor and system, mostly empty now, which itself hints at your browser.
For you
You never see these. Most return nothing. The fact that one is empty and another is filled in is what reveals which browser engine you use.
For makers
These came from the 1990s and 2000s browser wars. Today they are mostly a consistency test: a bot that pretends to be Firefox but returns the wrong answer gets caught. They add a few bits to a device profile.
Where you see it
| Type | Example | Apps |
|---|---|---|
| security | A bot defence service tests whether Firefox-only strings exist when a visitor claims to be Firefox, and challenges those that fail. | DataDome, Akamai Bot Manager |
| analytics | An old analytics script still reads the strings to label visitors by browser family. | None named |
| ads | An ad fraud vendor checks that the strings match the claimed browser before counting an ad view as real. | DoubleVerify, Integral Ad Science |
| developer | A compatibility test page prints these values to show what an unusual browser reports. | None named |
| games | A browser games portal uses them to hide a feature in browsers that never supported it. | None named |
| banking | A bank's login risk engine adds a point when old strings and the user agent disagree. | None named |
Risks
- Tiny fingerprint piece
- Mismatch can wrongly flag a person
Good uses and abuse
Legitimate uses
- None modern
Known abuse
- Engine and OS detection
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 1 | Rough identifying entropy, when known |
A real example: LinkedIn
Collector key(s): cpuClass, oscpu.
Related capabilities
Related
- APFC / DNA device fingerprint (abuse prevention features). Can collect about 48 device traits and send them in secret with later requests
Sources
How well checked: Based on official documentation.