chrome.experimental.privacy
For information on how to use experimental APIs, see the chrome.experimental.* APIs page.
API reference: chrome.experimental.privacy
Properties
network
chrome.experimental.privacy.network
network
(
optional
enumerated
Type
array of
object
)
Undocumented.
Settings that influence Chrome's handling of network connections in general.
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
networkPredictionEnabled
-
Undocumented.
- If enabled, Chrome 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
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
services
chrome.experimental.privacy.services
services
(
optional
enumerated
Type
array of
object
)
Undocumented.
Settings that enable or disable features that require third-party network services provided by Google and your default search provider.
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
alternateErrorPagesEnabled
-
Undocumented.
- If enabled, Chrome uses a web service to help resolve navigation errors. This preference's value is a boolean, defaulting to
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
autofillEnabled
-
Undocumented.
- If enabled, Chrome offers to automatically fill in forms. This preference's value is a boolean, defaulting to
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
instantEnabled
-
Undocumented.
- If enabled, Chrome automatically performs and displays search requests for text you type into the Omnibox as you type it. This preference's value is a boolean, defaulting to
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
metricsReportingEnabled
-
Undocumented.
- If enabled, Chrome automatically sends usage statistics and crash reports to Google. This preference's value is a boolean, defaulting to
false
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
safeBrowsingEnabled
-
Undocumented.
- If enabled, Chrome does its best to protect you from phishing and malware. This preference's value is a boolean, defaulting to
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
searchSuggestEnabled
-
Undocumented.
- If enabled, Chrome sends the text you type into the Omnibox to your default search engine, which provides predictions of websites and searches that are likely completions of what you've typed so far. This preference's value is a boolean, defaulting to
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
translationServiceEnabled
-
Undocumented.
- If enabled, Chrome offers to translate pages that aren't in a language you read. This preference's value is a boolean, defaulting to
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
websites
chrome.experimental.privacy.websites
websites
(
optional
enumerated
Type
array of
object
)
Undocumented.
Settings that determine what information Chrome sends when requesting websites.
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
thirdPartyCookiesAllowed
-
Undocumented.
- If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is
true
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
hyperlinkAuditingEnabled
-
Undocumented.
- If enabled, Chrome 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
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
-
referrersEnabled
-
Undocumented.
- If enabled, Chrome 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
.
-
This parameter was added in version
.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
-
-
-
-
Methods
method name
void
chrome.module.methodName(,
)
Undocumented.
A description from the json schema def of the function goes here.
Parameters
Returns
Callback function
The callback parameter should specify a function
that looks like this:
If you specify the callback parameter, it should
specify a function that looks like this:
function(Type param1, Type param2) {...};
This function was added in version .
If you require this function, the manifest key
minimum_chrome_version
can ensure that your extension won't be run in an earlier browser version.
Events
event name
chrome.bookmarksonEvent.addListener(function(Type param1, Type param2) {...}, Type opt_param1, Type opt_param2);
Undocumented.
A description from the json schema def of the event goes here.
Extra parameters to addListener
Listener returns