3 ms·
I think the point is that you go to the site, and save the HTML on your local machine, and then run it from there. It would be amazing if there was a property
by zaroth 6y ago
I think the point is that you go to the site, and save the HTML on your local machine, and then run it from there.
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.
- deleted 6y ago[deleted]
- ahazred8ta 6y ago> 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. :-) https://bs.parity.io/#-BananaSplit-shamir https://bs.parity.io/#-BananaSplit-shamir
- ijpsud 6y ago> 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 https://bugs.chromium.org/p/chromium/issues/detail?id=995236