4 ms·
Why not? The `integrity` attribute accepts more than one value[0]. This would technically be feasible, if my understanding of the service is correct. Hashes
by tentacleuno 2y ago
Why not? The `integrity` attribute accepts more than one value[0].
This would technically be feasible, if my understanding of the service is correct. Hashes could be recorded for each combination of feature -- you could then give those list of hashes to the user to insert into the attribute.
Of course, the main difficulty here would be the management of individual hashes. Hmm, definitely interesting stuff.
[0]: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity#using_subresource_integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
- delfinom 2y agoWe are talking potentially hundreds of hashes because of how the polyfills service worked.
- tentacleuno 2y agoThat depends on how many polyfills are served via each script.