Browser flavor globals
Checks for window objects only certain browsers define (chrome, safari, __gCrWeb, opr).
In one line
Can tell which browser you really use, even when the label is changed
Checks for window objects only certain browsers define (chrome, safari, __gCrWeb, opr).
Identifies Chrome vs Edge vs Opera vs Safari vs in-app webviews even when the UA lies. FingerprintJS tests about 30 flavor names; spoofing tools often miss one.
What it can and can't do
What the user does: Nothing. It happens when the page loads
It can
- Check for tell tale items that only Chrome, Edge, Opera, or Safari add
- Spot in-app browsers inside other apps
- Catch a browser that claims to be another one
- Use the pattern as one more clue to tell you apart
It cannot
- See your browser settings or add ons
- Learn your identity from these checks alone
- See your browsing history
- Be fooled less often by tools that change only the label
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | None |
| Edge | Supported | 12 | 2015-07-29 | None |
| Firefox | Supported | 1 | 2004-11-09 | None |
| Safari | Supported | 1 | 2003-06-23 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | None |
| Chrome on Android | Supported | 18 | 2012-06-27 | None |
| Samsung Internet | Supported | 1.0 | 2013-04-27 | None |
How a site asks for it
| API | window.chrome, window.safari, window.opr, window.__gCrWeb, window.ApplePaySession ... |
| How access is granted | none |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | read fresh on every page load; nothing stored |
| How to take it back | none needed (no grant) |
| Inside an iframe | Readable from cross-origin iframes too (same values) |
Typical flow
- Page script reads the value
- No prompt is shown
Data you get
Shape: object
How often: static per session
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
flavors | list | None | subset of about 30 known global names | Not listed |
Technical limits
- Only reveals browser family, not user
The story
What it is
Checks for special browser objects that only Chrome, Safari, Opera or in-app browsers define.
For you
You never see it. If you open a link inside the Instagram app, a site may know it is that kind of browser and show a nudge to open in Safari or Chrome instead. Its main effect is that the site can tell what really runs underneath.
For makers
A browser name in the user agent is easy to fake, but the hidden objects are harder to match. Fraud and bot teams use the mismatch to catch scrapers that lie. Developers use it to work around quirks in each browser engine and in app webviews.
Where you see it
| Type | Example | Apps |
|---|---|---|
| security | A bot defence service sees a client saying it is Chrome but missing the chrome object, and puts up a challenge. | Cloudflare, DataDome |
| social | A site spots that you came from the Instagram or Facebook in-app browser and shows an Open in browser prompt. | Instagram, Facebook |
| ads | An ad verification tool checks what kind of browser shows an ad so it counts the view correctly. | None named |
| games | A browser game portal detects an app webview where fullscreen or sound is flaky, and shows tips. | None named |
| payments | A checkout page picks the right wallet button, such as Apple Pay in Safari, when it knows the real engine. | Apple Pay |
| developer | An error tracker adds the true browser engine to a crash report so developers can reproduce it. | Sentry |
| banking | A bank's login flow raises a risk score when browser objects disagree with the user agent. | None named |
Risks
- Hard to hide or fake
- Adds to a device fingerprint
Good uses and abuse
Legitimate uses
- Detect in-app browsers
Known abuse
- Spoof detection
- Bot 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.5 | Rough identifying entropy, when known |
Related capabilities
Related
- navigator.oscpu, vendor, productSub. Can see old engine labels that tell Chrome, Safari, and Firefox apart
Sources
How well checked: Checked against real behavior.