Explorar el Código

updated example

Gildas hace 7 años
padre
commit
3736823bcc
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      node-puppeteer/example-puppeteer.js

+ 2 - 1
node-puppeteer/example-puppeteer.js

@@ -36,7 +36,8 @@ SingleFile.getPageData({
 	removeHiddenElements: true,
 	removeUnusedStyles: true,
 	removeUnusedFonts: true,
-	removeFrames: true,
+	removeFrames: false,
+	loadDeferredImages: true,
 	removeImports: true,
 	removeScripts: true,
 	compressHTML: true,