Trusted Types for DOM manipulationExternal Link

Baseline 2026Newly available

Since February 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

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

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 92.51% of all users can use this feature, 92.51% fully supported, 0% partially supported
✓Supported
✗Not supported
Partial support
Behind a Flag