为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to browse *.jar (or *.zip) file contents from within firefox?

more options

I would like to browse some jar archives (basically zip files) that are on my local disk, that have HTML content. Is it possible to browse these transparently through firefox using the `file://` protocol? When I try to do this, Firefox prompts me to save the file. I want to specifically avoid having to save and uncompress the file manually.

I would like to browse some jar archives (basically zip files) that are on my local disk, that have HTML content. Is it possible to browse these transparently through firefox using the `file://` protocol? When I try to do this, Firefox prompts me to save the file. I want to specifically avoid having to save and uncompress the file manually.

所有回复 (7)

more options

FF is just a Browser and to view such files requires different software to do that.

more options

There were some add-ons that would work with such files.

Go to the Mozilla Add-ons Web Page {web Link} (There’s a lot of good stuff here) and search for what you want.

more options

WestEnd said

FF is just a Browser and to view such files requires different software to do that.

FF is however able to render directory contents (with the file:// protocol) as well as several file types e.g. pdf files with in-built viewers. Why wouldn't it be able to do this?

more options

Firefox has code to extract and/or read inside some zip archives -- extensions with a .xpi extension are zip archives -- but this is not made available for use in a tab. Why not? Who knows...

more options

由cor-el于修改

more options

Until recently I was using rekonq with KDE-KIO-slaves to browse zipped HTML. But since the 18.04 LTS Kubuntu dropped that browser. So I'm looking for an alternative, that can either read zips natively or has an interface with kio-slaves.

由private_lock于修改

more options

private_lock said

I'm looking for an alternative, that can either read zips natively or has an interface with kio-slaves.

I don't think that is built into Firefox.