2 ms·
> There is a thing in HTML5 called Subresource Integrity It piqued my interest, but I was disappointed to discover that it's only supported by Gecko & Blink[1]
by sangnoir 10y ago
> There is a thing in HTML5 called Subresource Integrity
It piqued my interest, but I was disappointed to discover that it's only supported by Gecko & Blink[1] - not supported by Safari or IE/Edge. Javascript is currently unavoidable for offline apps.
1. http://caniuse.com/#search=integrity http://caniuse.com/#search=integrity
- digi_owl 10y agoJS + offline apps? thanks for making me feel old.
- robin_reala 10y agoIt’s a progressive enhancement. Browsers that don’t understand the integrity attribute will just load the JS regardless, but at least Firefox and Chrome will get a safer experience.