Jump to content

michaelmolloy

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by michaelmolloy

  1. I need to add subresource integrity (SI) to my squarespace site, but I have no idea how to do that or if it is even possible. If you aren't familiar with subresource integrity, it is simply including a hash of a javascript file inside the javascript tag that loads that library. The browser uses the hash to ensure that the library being downloaded hasn't changed since the hash was generated. So for example, here is the tag that loads one of the SquareSpace libraries that my site uses: <script type="text/javascript" crossorigin="anonymous" src="//assets.squarespace.com/@sqs/polyfiller/1.2.2/modern.js"></script> I need to get an "integrity" attribute in there somehow. Suggestions?
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.