Document Policy

- UNOFF

A mechanism that allows developers to set certain rules and policies for a given site. The rules can change default browser behaviour, block certain features or set limits on resource usage. Document Policy is useful both for security and performance, and is similar to Permissions Policy.

Chrome

  1. 4 - 84: Not supported
  2. 85 - 123: Partial support
  3. 124: Partial support
  4. 125 - 127: Partial support

Edge

  1. 12 - 84: Not supported
  2. 85 - 122: Partial support
  3. 123: Partial support

Safari

  1. 3.1 - 17.3: Not supported
  2. 17.4: Not supported
  3. 17.5 - TP: Not supported

Firefox

  1. 2 - 124: Not supported
  2. 125: Not supported
  3. 126 - 128: Not supported

Opera

  1. 9 - 70: Not supported
  2. 71 - 108: Partial support
  3. 109: Partial support

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Chrome for Android

  1. 123: Partial support

Safari on iOS

  1. 3.2 - 17.3: Not supported
  2. 17.4: Not supported
  3. 17.5: Not supported

Samsung Internet

  1. 4 - 23: Not supported
  2. 24: Not supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 80: Partial support

UC Browser for Android

  1. 15.5: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 123: Partial support

Firefox for Android

  1. 124: Not supported

QQ Browser

  1. 14.9: Not supported

Baidu Browser

  1. 13.52: Partial support

KaiOS Browser

  1. 2.5: Not supported
  2. 3: Not supported

Standard support includes the HTTP Document-Policy header and policy attribute on iframes.

Resources:
Chromium tracking bug for new policies
WICG - Document Policy Explainer
Firefox position: non-harmful