Trusted Types for DOM manipulation

- UNOFF

An API that forces developers to be very explicit about their use of powerful DOM-injection APIs. Can greatly improve security against XSS attacks.

Chrome

  1. 4 - 81: Not supported
  2. 83 - 124: Supported
  3. 125: Supported
  4. 126 - 128: Supported

Edge

  1. 12 - 81: Not supported
  2. 83 - 123: Supported
  3. 124: Supported

Safari

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

Firefox

  1. 2 - 125: Not supported
  2. 126: Not supported
  3. 127 - 129: Not supported

Opera

  1. 9 - 68: Not supported
  2. 69 - 108: Supported
  3. 109: Supported

IE

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

Chrome for Android

  1. 124: Supported

Safari on iOS

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

Samsung Internet

  1. 4 - 12.0: Not supported
  2. 13.0 - 23: Supported
  3. 24: Supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 80: Supported

UC Browser for Android

  1. 15.5: Supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 124: Supported

Firefox for Android

  1. 125: Not supported

QQ Browser

  1. 14.9: Not supported

Baidu Browser

  1. 13.52: Supported

KaiOS Browser

  1. 2.5: Not supported
  2. 3: Not supported
Resources:
Firefox position: non-harmful
Web.dev article on using trusted types