1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
// 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 <code>browser.privacy</code> 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 (<code><link rel='prefetch' ...></code>), and preemptively opening TCP and SSL connections to servers. This preference's value is a boolean, defaulting to <code>true</code>."
},
"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 <code>default</code>."
},
"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 <code>never</code>."
},
"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 <code>false</code>."
}
}
},
{
"namespace": "privacy.services",
"description": "Use the <code>browser.privacy</code> 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 <code>true</code>."
}
}
},
{
"namespace": "privacy.websites",
"description": "Use the <code>browser.privacy</code> 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 <code>false<code>."
}
}
}
],
"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 <code>true</code>.",
"unsupported": true
},
"hyperlinkAuditingEnabled": {
"$ref": "types.Setting",
"description": "If enabled, the browser sends auditing pings when requested by a website (<code><a ping></code>). The value of this preference is of type boolean, and the default value is <code>true</code>."
},
"referrersEnabled": {
"$ref": "types.Setting",
"description": "If enabled, the browser sends <code>referer</code> 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 <code>true</code>."
},
"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 <code>false</code>."
},
"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 <code>false</code>."
},
"protectedContentEnabled": {
"$ref": "types.Setting",
"description": "<strong>Available on Windows and ChromeOS only</strong>: 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 <code>true</code>.",
"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 <code>private_browsing_only</code>."
},
"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."
}
}
}
]
|