trusted-types
w3c/trusted-types · Public GitHub repository
A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
First time here? This is a repository hosting the Trusted Types specification draft and the polyfill code. You might want to check out other resources about Trusted Types:
- Introduction for web developers - API description with examples.
- Explainer - introductory explainer (what problem is the API solving?).
- Specification draft - a more comprehensive and formalized description of the Trusted Types API.
- Browser Support - The API is available natively in browsers based on Chromium version 83 and up.
Requirements and intended audience
First time here? This is a repository hosting the Trusted Types specification draft and the polyfill code. You might want to check out other resources about Trusted Types:
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-25. Source: https://github.com/w3c/trusted-types/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-11-18. A published release has not been recorded. These dates do not guarantee ongoing maintenance.
- Technologies
- JavaScript
- Licence
- No licence detected. No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin