browsersays

What your browser calls itself

Question 1 of 6 · 9 things to read

These nine properties are the first thing almost every website reads, and they are the closest thing your browser has to a self-introduction. Between them they name the browser, its version, its rendering engine and the family of operating system underneath it — and they do so before you have clicked anything, because several of them are also sent as headers on the very first request.

Most of them are old. Several are so old that they have no function left at all: the code name has been the same single word since the 1990s, the build date has been frozen at January 2003 for the whole life of Chromium, and the Java check has been required to answer false for more than a decade. Nothing removes them, because too much existing code on the web would break if they disappeared.

That is exactly why they are useful to a site. A property whose only correct answer is one fixed string is a very good test. Any browser that has been modified by hand tends to get the famous fields right and one of the quiet ones wrong, and the quiet ones are the ones listed here.

None of these values is unique to you. Their power is combinatorial and consistency-based: the same nine answers taken together describe a browser build precisely, and any disagreement among them describes something that is not a plain browser at all.

The 9 entries in this question

navigator.userAgent The self-description string your browser sends with every request and hands to every script. What is in it, why it is mostly fiction, and how to read it.
navigator.userAgent
navigator.userAgentData Client hints: the structured replacement for the user-agent string. What it reports by default, what a site has to ask for, and which browsers have it.
navigator.userAgentData
navigator.platform The short operating-system code every browser still reports, why Chrome freezes it to a handful of values, and what it means when it disagrees with the user agent.
navigator.platform
navigator.vendor Historically the browser maker's name. Empty in Firefox, a fixed Google string in every Chromium, and one of the oldest browser tests still in use.
navigator.vendor
navigator.productSub It says 20030107. That is a build date from January 2003, still reported by every Chromium, and a browser that reports anything else stands out immediately.
navigator.productSub
navigator.appVersion A legacy near-duplicate of the user-agent string, kept alive by decades of code that reads it. What it contains and how it is used as a cross-check.
navigator.appVersion
navigator.appCodeName It always says Mozilla, in every browser, on every platform, since the 1990s. Why the value is frozen and why its absence would be remarkable.
navigator.appCodeName
navigator.javaEnabled A method that has returned false for over a decade and is still checked by real sites. What it used to mean, and what its shape is used for now.
navigator.javaEnabled
navigator.pdfViewerEnabled Whether your browser opens PDFs itself rather than downloading them. A single true-or-false that also stands in for a much older plugin question.
navigator.pdfViewerEnabled

Read this question on your own browser

This page describes what the 9 entries are. The leaflet on the front page prints your own browser's answer beside each one, in the same order they appear here, together with how many other browsers give the same answers.

Read my browser · All six questions and every property · How each line is produced