---
title: "SingleFileZ - 网摘新工具：打包压缩完整网页[Chrome/Firefox]"
date: 2019-05-31T07:44:50Z
modified: 2019-05-31T07:45:11Z
permalink: "https://www.appinn.com/singlefilez/"
type: post
status: publish
excerpt: ""
categories:
  - Chrome
  - Firefox
tags:
  - Chrome
  - Firefox
  - 压缩
  - 打包
  - 网摘
  - 网页
featured_image: "https://www.appinn.com/wp-content/uploads/2019/05/singlefilez.jpgo_.jpg"
author: 青小蛙
timestamp: 2019-05-31T07:45:11Z
---

[SingleFileZ](https://www.appinn.com/singlefilez.md) 是一款可以把一个网页包括图片、样式完整打包压缩后保存为 HTML 的浏览器扩展，并且能够让浏览器实现自解压。@Appinn

![](https://static2.appinn.com/images/201905/singlefilez.jpg)

Photo by [Samuel Zeller](https://unsplash.com/@samuelzeller?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/search/photos/archive?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

@**[Dalieba](https://meta.appinn.com/u/Dalieba)** 同学推荐了新的玩具：

[SingleFile](https://github.com/gildas-lormeau/SingleFile) 作者又发布了新作：SingleFileZ，这个扩展把网页及图片、样式打包成 zip 压缩包，再用单一的 HTML 封存，并配上能让浏览器自解压的脚本。

这个很有意思，SingleFileZ 与 SingleFile 功能完全相同，只不过增加了压缩功能，以[小众软件论坛](https://meta.appinn.com/)为例，使用 SingleFile 下载后的单一 HTML 文件为 627KB，而使用 SingleFileZ 下载后的单一 HTML 文件为 265 KB。而更有意思的是，可以直接使用压缩工具打开由 SingleFileZ 生成的 HTML 文件：

![](https://static2.appinn.com/images/201905/2019-05-313-37-48.jpg)

不过要打开这个压缩 HTML 文件，需要 Chrome 启动时添加 **–allow-file-access-from-files** 参数。

SingleFileZ 在 [GitHub](https://github.com/gildas-lormeau/SingleFileZ) 开源，[Chrome 商店](https://chrome.google.com/webstore/detail/singlefilez/offkdfbbigofcgdokjemgjpdockaafjg) | [Firefox 商店](https://addons.mozilla.org/zh-CN/firefox/addon/singlefilez/)。

## Topics

**分类目录:** [Chrome](https://www.appinn.com/category/chrome/?output_format=md), [Firefox](https://www.appinn.com/firefox2.md)

**标签:** [压缩](https://www.appinn.com/tag/%e5%8e%8b%e7%bc%a9/?output_format=md), [打包](https://www.appinn.com/tag/%e6%89%93%e5%8c%85/?output_format=md), [网摘](https://www.appinn.com/tag/%e7%bd%91%e6%91%98/?output_format=md), [网页](https://www.appinn.com/tag/%e7%bd%91%e9%a1%b5/?output_format=md)