Subresource Integrity
Publish date: 2020-11-24
Last updated: 2020-11-26
Last updated: 2020-11-26
Subresource integrity is a standard that helps make sure that third party content allowed in a web page is the same content the developer intended to put there. You can see if someone uses it by looking for the integrity attribute on external content.
<link rel="text/css" href="some-url-to-a-third-party" integrity=<a-hash-goes-here>>
If the hash of the file loaded is different from the one specified, the content will not load.