Open KOLANICH opened 5 years ago
<script src="https://example.com/example-framework.js" integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC" crossorigin="anonymous"></script>
That could be integrated in a build process of https://github.com/openml/openml.org/ ? They use Webpack and Bower.
A small overview of the CDN requests:
https://github.com/waysact/webpack-subresource-integrity/ (I have googled it, have not used it anyhow) may be helpful, though I have not audited it, and before using it we surely need it audited.
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity