Re:Show HN: 100% offline Shamir's Secret Sharing GUI
by ahazred8ta on Wednesday June 17, 2020 @01:00AM
(#23547980)
> save the HTML on your local machine, and then run it from there
Yes; there is another js Shamir utility that works like that; it requires you to download the html and refuses to run unless it detects that you are offline. :-)
Re:Show HN: 100% offline Shamir's Secret Sharing GUI
by ijpsud on Friday June 19, 2020 @12:30PM
(#23576026)
> refuses to run unless it detects that you are offline
They could just display the "please disconnect" error for a while, then sneakily stop checking after some date, collecting data every time you forget to disconnect. You'd need to check the code, or never forget to disconnect - the latter is probably a mistake waiting to happen.
Chrome bug page for "offline-only PWAs" if you want to star it: https://bugs.chromium.org/p/chromium/issues/detail?id=995236
It would be amazing if there was a property you could add to the <html> tag to enforce that the browser would prevent any network access or disk writes.
As it stands I think after you save the files, you would have to look into each .js file downloaded as part of the bundle to check for outgoing network requests?
The code is tiny except for vue_debug.js which is 193KB.