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

搜索 | 用户支持

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

详细了解

Deal with JPG and PNG files MIME type same as PSD and TIFF

more options

Hi there, When browsing files within my computer through firefox with the url starting with file: instead of http. Say for example you are in a directory that shows you 4 files with following 4 different formate: One JPG One PNG One TIFF and One PSD

When you click on the JPG or PNG file, the file will be displayed/opened in the browser. But when you click on the TIFF or PSD file, firefox will ask you to choose an application to open the file with. From there you can select Photoshop if you want and the file will be opened in Photoshop straightaway.

Now, I need firefox to do the same thing with JPG and PNG format. Because I need JPG, PNG, TIFF and PSD all files opened in Photoshop instead of browser when they are clicked. Any idea how this can be achieved?

If installing an add-on can do this, can someone develop that add-on? How can I find a add-on developer to develop this add-on?

Or if a custom modification in installed core file can do the job I can do so but I need to know where and which file and how I should modify.

I really need this and any help will be very appreciated. Thanks Best regards

Hi there, When browsing files within my computer through firefox with the url starting with file: instead of http. Say for example you are in a directory that shows you 4 files with following 4 different formate: One JPG One PNG One TIFF and One PSD When you click on the JPG or PNG file, the file will be displayed/opened in the browser. But when you click on the TIFF or PSD file, firefox will ask you to choose an application to open the file with. From there you can select Photoshop if you want and the file will be opened in Photoshop straightaway. Now, I need firefox to do the same thing with JPG and PNG format. Because I need JPG, PNG, TIFF and PSD all files opened in Photoshop instead of browser when they are clicked. Any idea how this can be achieved? If installing an add-on can do this, can someone develop that add-on? How can I find a add-on developer to develop this add-on? Or if a custom modification in installed core file can do the job I can do so but I need to know where and which file and how I should modify. I really need this and any help will be very appreciated. Thanks Best regards

所有回复 (2)

more options

To do that you may need to use some proxy software to modify the HTTP response headers to make Firefox see a content type that isn't opened by default in the browser like happens with JPG and PNG files.

more options

Thanks for your reply. Ok after I install the proxy software, what and how do I edit?