c15t
Version:
Headless JavaScript consent management platform for cookie banners, privacy preferences, consent storage, and script gating.
16 lines (15 loc) • 536 B
TypeScript
/**
* Utility helpers for detecting Global Privacy Control (GPC) signals.
*
* @remarks
* GPC is a browser-level signal that indicates a user's preference to opt out
* of the sale or sharing of their personal data (e.g. CCPA/CPRA).
*
* This helper is intentionally conservative and only checks for the presence
* of the client-side `navigator.globalPrivacyControl` flag.
*
* @see https://globalprivacycontrol.org/ for the GPC specification.
*
* @internal
*/
export declare function hasGlobalPrivacyControlSignal(): boolean;