instantpage / instant.page

Make your site’s pages instant in 1 minute and improve your conversion rate by 1%
https://instant.page
MIT License
6.04k stars 205 forks source link

Missing 'crossorigin' attribute in markup #17

Closed PartTimeLegend closed 5 years ago

PartTimeLegend commented 5 years ago

Subresource integrity requires resources to enable CORS using the 'crossorigin' property. This resource doesn't.

By adding the tag crossorigin="anonymous" to the included code this can be resolved.

https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes

dieulot commented 5 years ago

It’s not required; SRI works correctly without it. As far as I know it just give better errors in the console.