如何忽略"内容处置:附件"在Firefox [英] How to ignore "Content-Disposition: attachment" in Firefox

查看:174
本文介绍了如何忽略"内容处置:附件"在Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能让Firefox为忽略内容处置:附件头?
我觉得这是绝对讨厌,我不能在浏览器中查看图像,因为它要求我下载它。

How can I cause Firefox to ignore the Content-Disposition: attachment header? I find it absolutely annoying that I can't view an image in the browser, because it asks me to download it.

我不希望下载的文件,我只是想在浏览器中查看。如果浏览器没有一个插件来处理它,,然后应询问是否下载。

I don't want to download the file, I just want to view it in the browser. If the browser doesn't have a plugin to handle it, then it should ask to download.

例如。我有一个针对Firefox的插件安装Adobe Acrobat Reader。我点击一个链接到一个PDF,并要求我先保存它,当它应该使用插件的浏览器中打开。这是行为,如果服务器不发送内容处置:在响应附件

E.g. I have Adobe Acrobat Reader installed as a plugin for Firefox. I click a link to a PDF, and it asks me to save it, when it should open in the browser using the plugin. This is the behaviour if the server does not send the Content-Disposition: attachment header in the response.

火狐3.6.6
的Windows XP SP3

Firefox 3.6.6 Windows XP SP3

推荐答案

打开浏览器中的扩展是由浏览器的原生支持,不知道PDF格式,非常有用。

The "Open in browser" extension is useful for formats supported natively by the browser, not sure about PDF.

这篇关于如何忽略"内容处置:附件"在Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆