3 ms·
Looks pretty interesting.. Wonder if this can be done with nothing but browser, CSS, html and a JS without those extra CDNs.
by kopirgan 2y ago
Looks pretty interesting.. Wonder if this can be done with nothing but browser, CSS, html and a JS without those extra CDNs.
- HPsquared 2y agoFor truly locked-down environments that's the way to go. You can only be sure the code will always be the same if it's 100% local and offline, or verifying signatures somehow.
- mattigames 2y agoYou can verify signatures of JS and CSS files to make sure they are only loaded if they are exactly what you expect them to be by using the "integrity" parameter, see https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
- kopirgan 2y agoYeah. Guess it'll involve some trade off in terms of UI.
- deleted 2y ago[deleted]
- cloudking 2y agoDownload the CDN libraries, point to local
- aerugo_ 2y agoYeah absolutely. Once I am sure of what libraries I will need, I will probably remove the CDN dependencies and just bundle everything.