// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
{
"namespace": "manifest",
"types": [
{
"$extend": "OptionalPermission",
"choices": [
{
"type": "string",
"enum": ["privacy"]
}
]
}
]
},
{
"namespace": "privacy",
"permissions": ["privacy"]
},
{
"namespace": "privacy.network",
"description": "Use the browser.privacy
API to control usage of the features in the browser that can affect a user's privacy.",
"permissions": ["privacy"],
"types": [
{
"id": "IPHandlingPolicy",
"type": "string",
"enum": [
"default",
"default_public_and_private_interfaces",
"default_public_interface_only",
"disable_non_proxied_udp",
"proxy_only"
],
"description": "The IP handling policy of WebRTC."
},
{
"id": "tlsVersionRestrictionConfig",
"type": "object",
"description": "An object which describes TLS minimum and maximum versions.",
"properties": {
"minimum": {
"type": "string",
"enum": ["TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3", "unknown"],
"optional": true,
"description": "The minimum TLS version supported."
},
"maximum": {
"type": "string",
"enum": ["TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3", "unknown"],
"optional": true,
"description": "The maximum TLS version supported."
}
}
},
{
"id": "HTTPSOnlyModeOption",
"type": "string",
"enum": ["always", "private_browsing", "never"],
"description": "The mode for https-only mode."
}
],
"properties": {
"networkPredictionEnabled": {
"$ref": "types.Setting",
"description": "If enabled, the browser attempts to speed up your web browsing experience by pre-resolving DNS entries, prerendering sites (<link rel='prefetch' ...>
), and preemptively opening TCP and SSL connections to servers. This preference's value is a boolean, defaulting to true
."
},
"peerConnectionEnabled": {
"$ref": "types.Setting",
"description": "Allow users to enable and disable RTCPeerConnections (aka WebRTC)."
},
"webRTCIPHandlingPolicy": {
"$ref": "types.Setting",
"description": "Allow users to specify the media performance/privacy tradeoffs which impacts how WebRTC traffic will be routed and how much local address information is exposed. This preference's value is of type IPHandlingPolicy, defaulting to default
."
},
"tlsVersionRestriction": {
"$ref": "types.Setting",
"description": "This property controls the minimum and maximum TLS versions. This setting's value is an object of $(ref:tlsVersionRestrictionConfig)."
},
"httpsOnlyMode": {
"$ref": "types.Setting",
"description": "Allow users to query the mode for 'HTTPS-Only Mode'. This setting's value is of type HTTPSOnlyModeOption, defaulting to never
."
},
"globalPrivacyControl": {
"$ref": "types.Setting",
"description": "Allow users to query the status of 'Global Privacy Control'. This setting's value is of type boolean, defaulting to false
."
}
}
},
{
"namespace": "privacy.services",
"description": "Use the browser.privacy
API to control usage of the features in the browser that can affect a user's privacy.",
"permissions": ["privacy"],
"properties": {
"passwordSavingEnabled": {
"$ref": "types.Setting",
"description": "If enabled, the password manager will ask if you want to save passwords. This preference's value is a boolean, defaulting to true
."
}
}
},
{
"namespace": "privacy.websites",
"description": "Use the browser.privacy
API to control usage of the features in the browser that can affect a user's privacy.",
"permissions": ["privacy"],
"types": [
{
"id": "TrackingProtectionModeOption",
"type": "string",
"enum": ["always", "never", "private_browsing"],
"description": "The mode for tracking protection."
},
{
"id": "CookieConfig",
"type": "object",
"description": "The settings for cookies.",
"properties": {
"behavior": {
"type": "string",
"optional": true,
"enum": [
"allow_all",
"reject_all",
"reject_third_party",
"allow_visited",
"reject_trackers",
"reject_trackers_and_partition_foreign"
],
"description": "The type of cookies to allow."
},
"nonPersistentCookies": {
"type": "boolean",
"optional": true,
"default": false,
"description": "Whether to create all cookies as nonPersistent (i.e., session) cookies.",
"deprecated": "This property has no effect anymore and its value is always false."
}
}
}
],
"properties": {
"thirdPartyCookiesAllowed": {
"$ref": "types.Setting",
"description": "If disabled, the browser blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is true
.",
"unsupported": true
},
"hyperlinkAuditingEnabled": {
"$ref": "types.Setting",
"description": "If enabled, the browser sends auditing pings when requested by a website (<a ping>
). The value of this preference is of type boolean, and the default value is true
."
},
"referrersEnabled": {
"$ref": "types.Setting",
"description": "If enabled, the browser sends referer
headers with your requests. Yes, the name of this preference doesn't match the misspelled header. No, we're not going to change it. The value of this preference is of type boolean, and the default value is true
."
},
"resistFingerprinting": {
"$ref": "types.Setting",
"description": "If enabled, the browser attempts to appear similar to other users by reporting generic information to websites. This can prevent websites from uniquely identifying users. Examples of data that is spoofed include number of CPU cores, precision of JavaScript timers, the local timezone, and disabling features such as GamePad support, and the WebSpeech and Navigator APIs. The value of this preference is of type boolean, and the default value is false
."
},
"firstPartyIsolate": {
"$ref": "types.Setting",
"description": "If enabled, the browser will associate all data (including cookies, HSTS data, cached images, and more) for any third party domains with the domain in the address bar. This prevents third party trackers from using directly stored information to identify you across different websites, but may break websites where you login with a third party account (such as a Facebook or Google login.) The value of this preference is of type boolean, and the default value is false
."
},
"protectedContentEnabled": {
"$ref": "types.Setting",
"description": "Available on Windows and ChromeOS only: If enabled, the browser provides a unique ID to plugins in order to run protected content. The value of this preference is of type boolean, and the default value is true
.",
"unsupported": true
},
"trackingProtectionMode": {
"$ref": "types.Setting",
"description": "Allow users to specify the mode for tracking protection. This setting's value is of type TrackingProtectionModeOption, defaulting to private_browsing_only
."
},
"cookieConfig": {
"$ref": "types.Setting",
"description": "Allow users to specify the default settings for allowing cookies, as well as whether all cookies should be created as non-persistent cookies. This setting's value is of type CookieConfig."
}
}
}
]