SingleFile | 将完整的页面保存到一个 HTML 文件中 的评价
SingleFile | 将完整的页面保存到一个 HTML 文件中 作者: gildas
Gnarf 的评价
评分 2 / 5
来自 Gnarf,1 年前This extension doesn't work as expected:
I'd like to use it to archive my article listings on eBay. If I save such a page using SingleFile and then open the saved page, the image magnifier and most other interactive elements do not work. This problem appears in every browser I have tested (Firefox, Chrome, Edge, all up to date at the time of writing). I already have unblocked every resource type in the "Network - blocked resources" section of the extension's options.
Further investigation (looking at the console in Firefox) showed that Firefox wanted to load a bunch of scripts and other resources from the eBay website when opening the saved page. This failed due to the Content-Security-Policy, which is understandable. This means that SingleFile does not download scripts and other resources as expected, or does not save them locally, or does not change the URLs of such resources in the saved page so that the resources' local versions are used when opening the saved file.
Given that, the extension is not usable for me. At least, it doesn't provide anything that "File -> Save Page As ..." does not provide as well (I don't care whether or not a saved page is contained in a single file, and every browser except Firefox can save a page to a single file anyway).
I'd like to use it to archive my article listings on eBay. If I save such a page using SingleFile and then open the saved page, the image magnifier and most other interactive elements do not work. This problem appears in every browser I have tested (Firefox, Chrome, Edge, all up to date at the time of writing). I already have unblocked every resource type in the "Network - blocked resources" section of the extension's options.
Further investigation (looking at the console in Firefox) showed that Firefox wanted to load a bunch of scripts and other resources from the eBay website when opening the saved page. This failed due to the Content-Security-Policy, which is understandable. This means that SingleFile does not download scripts and other resources as expected, or does not save them locally, or does not change the URLs of such resources in the saved page so that the resources' local versions are used when opening the saved file.
Given that, the extension is not usable for me. At least, it doesn't provide anything that "File -> Save Page As ..." does not provide as well (I don't care whether or not a saved page is contained in a single file, and every browser except Firefox can save a page to a single file anyway).
开发者回应
发布于 1 年前This is a known issue, you can find more info here: https://github.com/gildas-lormeau/SingleFile/blob/master/faq.md. Although, with your level of requirement, you should save page in the WARC format. This is probably your only hope of saving the web page properly.
The purpose of SingleFile is to save the page in a single file in a standard, durable format - that's what the extension is all about.
The purpose of SingleFile is to save the page in a single file in a standard, durable format - that's what the extension is all about.