3 ms·
Maybe you could get clever with a service worker injected by an add-in. The worker context doesn’t have DOM access but maybe you could stream the DOM in chunks
by corytheboyd 6y ago
Maybe you could get clever with a service worker injected by an add-in. The worker context doesn’t have DOM access but maybe you could stream the DOM in chunks through postMessage and do some assembly in the worker. Though honestly that is a lot of hackery just to have it happen in the browser, but it does sound like an interesting experiment! Maybe I’ll try it out myself later..
- knrz 6y agoThe Chrome pageCapture API lets you dump the page as mhtml. It’s supposed to cache all content offline.