How to save a webpage locally including pictures,etc

点点圈 提交于 2019-11-28 09:28:41

Since you mention that File->"Save Page As" is working as expected, I tried looking through the source code (chrome://browser/content/browser.xul) and found this:

https://developer.mozilla.org/en/nsIWebBrowserPersist#saveDocument()

Make sure that you shall call this function only after the webpage is completely loaded (not DOMContentLoaded)!!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!