← Back to Browser domain

Browser.addPrivacySandboxEnrollmentOverride

Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets.

Domain: Browser stable

Parameters

NameTypeDescription
urlstring

Example Request

{
  "id": 1,
  "method": "Browser.addPrivacySandboxEnrollmentOverride",
  "params": {
    "url": "https://example.com"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Browser.addPrivacySandboxEnrollmentOverride', {"url": "https://example.com"});
console.log(result);