We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9dc72b commit 6dbf0bfCopy full SHA for 6dbf0bf
README.md
@@ -33,7 +33,7 @@ The ES5 / ES6 builds can be loaded directly in the browsers. There are two varia
33
34
```html
35
<!-- Full -->
36
-<script src="https://w3c.github.io/webappsec-trusted-types/dist/es5/trustedtypes.build.js" data-csp="trusted-types foo bar"></script>
+<script src="https://w3c.github.io/webappsec-trusted-types/dist/es5/trustedtypes.build.js" data-csp="trusted-types foo bar; enforce-trusted-types-for 'script'"></script>
37
<script>
38
trustedTypes.createPolicy('foo', ...);
39
trustedTypes.createPolicy('unknown', ...); // throws
0 commit comments