.ContextualIdentity type describes a single contextual identity.
Values of this type are objects. They contain the following properties:
string. The cookie store ID for the identity. Since contextual identities don't share cookie stores, this serves as a unique identifier.
string. The color for the identity. This will be shown in tabs belonging to this identity. The following values are valid:
string. A hex code representing the exact color used for the identity. For example:
string. The name of an icon for the identity. This will be shown in the URL bar for tabs belonging to this identity. The following values are valid:
string. A full resource:// URL pointing to the identity's icon. For example: "resource://usercontext-content/fingerprint.svg".
string. Name of the identity. This will be shown in the URL bar for tabs belonging to this identity. Note that names don't have to be unique.
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
|Chrome||Edge||Firefox||Firefox for Android||Opera|