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

搜尋 Mozilla 技術支援網站

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

了解更多

Error message suggesting .jpg files are executable

  • 3 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 danensis

more options

I have been extracting some .jpg files from .htm files stored on my computer by opening the .htm files using Firefox. Now, if I go into downloads from the library icon, and try to open any of the .jpg files, I get the message: "filename.jpg" is an executable file. Executable files may contain viruses or other malicious code that could harm your computer. Use caution when opening this file. Are you sure you want to launch "filename.jpg"? I can open the files from the destination directory with my normal file viewer.

I have been extracting some .jpg files from .htm files stored on my computer by opening the .htm files using Firefox. Now, if I go into downloads from the library icon, and try to open any of the .jpg files, I get the message: "filename.jpg" is an executable file. Executable files may contain viruses or other malicious code that could harm your computer. Use caution when opening this file. Are you sure you want to launch "filename.jpg"? I can open the files from the destination directory with my normal file viewer.

所有回覆 (3)

more options

hi danensis................

follow the link and add ad-on.

You can look at this extension and add on your firefox then you can work .


   Open in Browser: https://addons.mozilla.org/firefox/addon/open-in-browser/ 

thank you!

more options

Hmm, if you were on Windows, I would suggest to make sure there isn't a hidden .com or .exe extension on the file name. (https://www.bleepingcomputer.com/tuto.../how-to-show-file-extensions-in-windows/) However, I don't know whether file browsers on Linux would ever hide such things from you.

Normally a locally saved .htm file doesn't actually contain any images -- they are pulled in from a local folder or remote server using a URL. Does your file contain data URIs -- images that were encoded as enormously long source URLs? And then you use right-click > Save Image as... or what method are you using that causes them to end up on the Downloads list?

more options

Thanks for the responses, I can't see what the problems is, the .jpg files seem to load OK, and I don't see any executables running, so I think it must be one of those weird things that will never be resolved. I've deleted the .htm files, and saved the .jpg files from my image viewer.