What are the needed options for saving for offline use? #1293
Replies: 4 comments
-
You can set the options as you prefer. In all cases, you should get a page viewable offline. Note however that you cannot process a full page from the console because of restrictions related to the Same-origin policy. |
Beta Was this translation helpful? Give feedback.
-
this also applies on injecting single-file.js using puppeteer? |
Beta Was this translation helpful? Give feedback.
-
No, when using puppeteer, scripts can fetch resources from third-party domains without this restriction. If you want to play with SingleFile and puppeteer, take a look at https://github.com/gildas-lormeau/single-file-cli. It's already implemented. |
Beta Was this translation helpful? Give feedback.
-
The main issue I have with cli for the moment, is I can't access certian pages becasue it detects I'm a bot. when using puppeteer and stealth plugin , I can easily access the page, but still I can't use single-file at that case. we nead native stealth plugin inside single-file backends, it would make our life much easier |
Beta Was this translation helpful? Give feedback.
-
I'm trying to save a page for offline use using single-file.js injection into console
what are the options I need to add to download the full html page with css,js,uri images all included for offline use
singlefile.getPageData
Beta Was this translation helpful? Give feedback.
All reactions