Subresource Integrity Hash and HS forms js file


#1

We are in the process of implementing Subresource Integrity(https://www.w3.org/TR/SRI) on our website.

This requires us to generate an SRI Hash for all css and js resources used on the website.

Currently we are unable to generate the SRI hash for the HS Forms JS file (js.hsforms.net/forms/v2.js ) as the server hosting it does not have CORS enabled.

I reached out to HubSpot support and they said, “We don’t support Subresource Integrity.”

Has anyone come accross this issue, and how did you solve it?