Skip to content
Easy way to calculate multiple SRI hashes by requesting the specific resource across multiple user agents.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
agents.txt
sri.py

README.md

SRI agent query

I recommend you use https://www.srihash.org/ before this. Simple script to generate subresource integrity compatible sha384 base64 hashes for use with any type of web resource across multiple user agents (more can be defined).

Important

It is unfeasible to add SRI to a Google Fonts link due to the unknown (to me) of unique UAs it accepts.

You can’t perform that action at this time.