Skip to content

API > wxt/browser > Browser > privacy > websites

Variable: websites

const websites: object

Settings that determine what information Chrome makes available to websites.

Type declaration

adMeasurementEnabled

adMeasurementEnabled: ChromeSetting<boolean>

If disabled, the Attribution Reporting API and Private Aggregation API are deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable these APIs by setting the value to false. If you try setting these APIs to true, it will throw an error.

Since

Chrome 111

doNotTrackEnabled

doNotTrackEnabled: ChromeSetting<boolean>

If enabled, Chrome sends 'Do Not Track' (DNT: 1) header with your requests. The value of this preference is of type boolean, and the default value is false.

Since

Chrome 65

fledgeEnabled

fledgeEnabled: ChromeSetting<boolean>

If disabled, the Fledge API is deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable this API by setting the value to false. If you try setting this API to true, it will throw an error.

Since

Chrome 111

hyperlinkAuditingEnabled

hyperlinkAuditingEnabled: ChromeSetting<boolean>

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.

protectedContentEnabled

protectedContentEnabled: ChromeSetting<boolean>

If enabled, Chrome 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.

Platform

Windows and ChromeOS only

referrersEnabled

referrersEnabled: ChromeSetting<boolean>

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.

relatedWebsiteSetsEnabled

relatedWebsiteSetsEnabled: ChromeSetting<boolean>

If disabled, Related Website Sets is deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable this API by setting the value to false. If you try setting this API to true, it will throw an error.

Since

Chrome 121

thirdPartyCookiesAllowed

thirdPartyCookiesAllowed: ChromeSetting<boolean>

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.

topicsEnabled

topicsEnabled: ChromeSetting<boolean>

If disabled, the Topics API is deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable this API by setting the value to false. If you try setting this API to true, it will throw an error.

Since

Chrome 111

Source

packages/browser/src/gen/index.d.ts:8134


Generated using typedoc-plugin-markdown and TypeDoc