為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.