How to open an html file from inside a zip?
19,826
Solution 1
you have to extract it. When you double click on your html in the zip file, it is extracted in the background and shown to you, the only way to read anything in a compressed file is by extracting it.
Solution 2
As I know, only Firefox can do this via
jar:file://c:/myfolder/myzip.zip!/index.html
Author by
Spencer
Updated on July 07, 2022Comments
-
Spencer over 1 year
Is there any way to open an html file from within a zip file which contains images the html references? I generate htmls with relative paths to resources and the browser won't find them in the zip file, I have to extract it first. Opening it from the zip would be ideal. Any way to do it?