3 ms·
I confirm that you could use a headless browser for this. This is actually what SingleFile CLI does [1]. Here is an example of JS code showing how to configure
by gildas 5y ago
I confirm that you could use a headless browser for this. This is actually what SingleFile CLI does [1]. Here is an example of JS code showing how to configure and inject SingleFile with puppeteer [2].
[1] https://github.com/gildas-lormeau/SingleFile/tree/master/cli https://github.com/gildas-lormeau/SingleFile/tree/master/cli
[2] https://github.com/gildas-lormeau/SingleFile/blob/master/cli/back-ends/puppeteer.js https://github.com/gildas-lormeau/SingleFile/blob/master/cli...
- sergiotapia 5y agoThank you!