搜尋 Mozilla 技術支援網站

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

了解更多

How can I open a Firefox HTML Document as an image instead of text?

  • 2 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 cor-el

more options

I'm trying to open some images that are displayed as simply Firefox logos, though I'm certain that they're pictures. All of them are "Firefox HTML Documents." I know they open web pages, because one such file in another folder correctly shown the web page with the image. But these images open a new tab with a unicode representation of the data, almost always containing a section in between brackets consisting only of +'s, -'s, and commas. Chrome HTML Documents display correctly in file explorer, but Firefox ones don't. Is there a way to see these images?

I'm trying to open some images that are displayed as simply Firefox logos, though I'm certain that they're pictures. All of them are "Firefox HTML Documents." I know they open web pages, because one such file in another folder correctly shown the web page with the image. But these images open a new tab with a unicode representation of the data, almost always containing a section in between brackets consisting only of +'s, -'s, and commas. Chrome HTML Documents display correctly in file explorer, but Firefox ones don't. Is there a way to see these images?

所有回覆 (2)

more options

EDIT: after looking around a bit longer, it appears that there are no commas in the bracket section, but rather forward slashes and a few symbols. The majority does seem to be hyphens. Aside from that, files often starts with things like ÿØÿà?JFIF????ÿá*ExifII*??1????GoogleÿÛ„, ‰PNG ? IHDR, ÿØÿà?JFIF????ÿ, and ÿØÿà?JFIF???``ÿþ;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 92. Some, like the CREATOR one, contain logically placed text, like sections of the alphabet, variations of the same letter with different accents, all in upper-, followed by the same in lowercase. I think it might be solvable by adding affixes to the file data or using a web tool, but I'd have no idea which one.

more options

ÿØÿà?JFIF is the standard JPG file header.

So it is possible that all you need is to rename these files and give it the correct file extension for an image file like .jpg or .png depending on what image type it is.