A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.
What is the w3c/trusted-types GitHub project? Description: "A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the trusted-types issue tracker:
Open GitHub Issues