搜索 | 用户支持

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

Learn More

Firefox 78 and the webp file extension for images. How do I disable webp?

  • 7 个回答
  • 5 人有此问题
  • 1946 次查看
  • 最后回复者为 jenna8x4

more options

I'd like it if Firefox would automatically convert webp images to jpg or png files instead of the opposite... stop trying to save png or jpg files as webp... and stop serving me webp images when it is optional. I understand there are websites that ONLY display webp format images, but I am also aware that jpg and png files exist on many of these websites as well. I do not want to disable the ability to display webp in the browser, but I want to turn off whatever option is currently turned on.

I'd like to go back to being able to right click, Save Image As > and end up saving a png or jpg. There have been several websites over the last few weeks that I have visited, and even if the image in the URL is named jpg or png, Firefox tries to save it as a webp. This is complicating my image saving process. I am using the Add-on named "Save webP as PNG or JPEG" which works, but slows down my saving process considerably. The Add-on does not remember the last folder I saved an image to, and adds several additional clicks to what used to be a simple process.

Is there a way in about:config to prevent Firefox from putting webp as the default file format in the Save Image As dialog box?

Suggesting that I use Internet Explorer or Edge is crazy. I'm not changing browsers.

You can demo this annoyance by trying to save this image, which is obviously supposed to be a jpg: https://media.entertainmentearth.com/assets/images/7c23e8c9a6014c57aa8f5d3e281b3834lg.jpg

I'd like it if Firefox would automatically convert webp images to jpg or png files instead of the opposite... stop trying to save png or jpg files as webp... and stop serving me webp images when it is optional. I understand there are websites that ONLY display webp format images, but I am also aware that jpg and png files exist on many of these websites as well. I do not want to disable the ability to display webp in the browser, but I want to turn off whatever option is currently turned on. I'd like to go back to being able to right click, Save Image As > and end up saving a png or jpg. There have been several websites over the last few weeks that I have visited, and even if the image in the URL is named jpg or png, Firefox tries to save it as a webp. This is complicating my image saving process. I am using the Add-on named "Save webP as PNG or JPEG" which works, but slows down my saving process considerably. The Add-on does not remember the last folder I saved an image to, and adds several additional clicks to what used to be a simple process. Is there a way in about:config to prevent Firefox from putting webp as the default file format in the Save Image As dialog box? Suggesting that I use Internet Explorer or Edge is crazy. I'm not changing browsers. You can demo this annoyance by trying to save this image, which is obviously supposed to be a jpg: https://media.entertainmentearth.com/assets/images/7c23e8c9a6014c57aa8f5d3e281b3834lg.jpg

被采纳的解决方案

Hi brandon9, what is happening on a lot of sites is that the server checks whether the browser indicates support for webP and, if they see that, they compress the image in a webP container on the fly without changing the URL or file name. Firefox may recognize that this is a webP image -- if you hover the tab or check the title bar on a stand-alone image in a new tab, Firefox will indicate it there -- but Firefox does not have a converter built in to save back in the original format.

I understand the limitations of my "Save webP..." extension and need to work on it when I get some time, but for now, could I suggest adding a different extension: what this one does is stop Firefox telling sites it would be happy to receive a webP format. That doesn't prevent sites from sending webP images, but it stops most of them from changing formats on the fly (based on tests using URLs from other threads).

https://addons.mozilla.org/firefox/addon/dont-accept-webp/

在上下文中阅读这个答案 👍 3

所有回复 (7)

more options

选择的解决方案

Hi brandon9, what is happening on a lot of sites is that the server checks whether the browser indicates support for webP and, if they see that, they compress the image in a webP container on the fly without changing the URL or file name. Firefox may recognize that this is a webP image -- if you hover the tab or check the title bar on a stand-alone image in a new tab, Firefox will indicate it there -- but Firefox does not have a converter built in to save back in the original format.

I understand the limitations of my "Save webP..." extension and need to work on it when I get some time, but for now, could I suggest adding a different extension: what this one does is stop Firefox telling sites it would be happy to receive a webP format. That doesn't prevent sites from sending webP images, but it stops most of them from changing formats on the fly (based on tests using URLs from other threads).

https://addons.mozilla.org/firefox/addon/dont-accept-webp/

more options

Thank you. The add-on "Don't "Accept" image/webp" seams to solve the problem. Hopefully in a future release, Mozilla will add an option so we don't have to rely on an add-on to fix the issue. :)

more options

man I cannot believe how dumb mozilla is sometimes. stupid things like this make me want to ditch it completely.

more options

Alternatively you can go to about:config and just turn off image.webp.enabled instead of installing an add-on. I had the same issue and easily fixed it in the configuration settings.

more options

There's an extension called WebP Image Converter that allows you to specify what you want an image (such as with a .webp file type) to be saved as. It's not foolproof, but it is very useful. https://addons.mozilla.org/en-US/firefox/addon/webp-image-converter/

more options

jscher2000 said

... could I suggest adding a different extension: what this one does is stop Firefox telling sites it would be happy to receive a webP format. That doesn't prevent sites from sending webP images, but it stops most of them from changing formats on the fly (based on tests using URLs from other threads). https://addons.mozilla.org/firefox/addon/dont-accept-webp/

The extension you referenced is *so* useful; thank you so much. No wonder you're a top-10 contributor! Without this extension, New York Times images default to webp, which I don't care for. Thanks again.

由SABUNCU于修改

more options

One thing to consider is though, transferring images as webp to view them in a webpage is great for reducing network traffic. Chrome uses different request headers for viewing and downloading (doesn't send "Accept" at all when downloading). I think maybe that's a great way to differentiate between viewing and downloading. Disabling webp support in Firefox completely isn't great. Then webp will just not work anymore, and when you open a link to a webp, Firefox will probably suggest to open the file in a different browser. When I tried to download the demo image from the question post, Chrome downloaded it as webp anyways. I think that's related to the aggressive CloudFlare polishing, designed to strip all irrelevant meta information, compress and cache. One way to bypass the CloudFlare Polish cache is by adding a query string to the url..

But what I suggest instead is, just use a download addon like DownThemAll specifically for your downloads.

由jenna8x4于修改