From 6df55bae1f023bd56408f325d31f88ce74121930 Mon Sep 17 00:00:00 2001 From: Emilien Klein Date: Sat, 23 Nov 2019 17:00:29 +0100 Subject: [PATCH] Use Subresource Integrity in installation instructions This adds the `integrity` and `crossorigin` attributes to the CDN install instructions. BootstrapCDN [implented this](https://github.com/MaxCDN/bootstrapcdn/issues/555) in 2015 already. Copied from https://www.srihash.org/ (which I used to calculate these hashes): SRI is a new [W3C specification](https://www.w3.org/TR/SRI/) that allows web developers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libraries are loaded from a third-party source. Learn more about [how to use subresource integrity](https://developer.mozilla.org/docs/Web/Security/Subresource_Integrity) on MDN. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b70f0f..3c1c06a 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ Project ## CDN ```html - - + + ``` ## Download