- Inspired by this writeup (@amirmsafari).
I was checking out the referrer-policy feature and spotted that integrity() has also been added. This feature basically allows you to check the integrity of the response using its hash. It's especially useful for securely including resources from CDNs.
// include style.css from the cdn. Inclusion fails if the response is changed.