Don't "Accept" image/webp 的评价
Don't "Accept" image/webp 作者: jscher2000
148 条评价
- 评分 5 / 5来自 Diet Laser, 4 年前WEBP is the worst image container format ever invented. thank you for allowing us to block them.
- 评分 4 / 5来自 Bjorn Roesbeke, 4 年前TLDR: This addon genuinly tries to do what it promises but Firefox defaults + servers = useless addon.
The addon does something, but it's not resulting in refusal of webp images.
By clicking the "W" button on the toolbar, the sent "Accept" headers either include or don't include "image/webp", but it's of no use at all if the default following is "*/*".
It's possible to change the value of the "image.http.accept" key in "about:config" to (for example)
image/png,image/jpeg;q=1
but this addon will then not be able to change this value anymore.
Furthermore, websites such as Youtube (Google in general) just plain refuse to offer anything but webp, even if Firefox does not indicate support for it in the "Accept" header. You may need to fool these websites in assuming you're using an old browser by changing or emptying the "general.useragent.override" key.
Edited at 14/01/2024: changed rating 2»4; addon is not to blame for servers ignoring user preferences, as indicated in response by addon author.开发者回应
发布于 4 年前> The addon does something, but it's not resulting in refusal of webp images. ...
> Furthermore, websites such as Youtube (Google in general) just plain refuse to offer anything but webp, even if Firefox does not indicate support for it in the "Accept" header.
Hi Bjorn, the purpose of this extension is to discourage server farms from re-compressing PNG and JPEG images as WebP images on the fly to save bandwidth, since this complicates saving in the original formats. It is not a goal of this extension to prevent sites designed to serve WebP images from doing so.
> You may need to fool these websites in assuming you're using an old browser by changing or emptying the "general.useragent.override" key.
That might work, but some sites might serve less useful pages, so you'll have to test and see what is the best compromise. - 评分 2 / 5来自 Firefox 用户 12363114, 4 年前Worked for about 5 minutes and then failed, allowing webp files through. I thought it was great while it lasted. It might be that the web site anticipated the add-in and bypassed it's functionality of not recommending webp images.
开发者回应
发布于 4 年前The extension should discourage servers from recompressing JPG and PNG images as WebP images -- typically without changing the file name/extension. Can you share a URL of a page that recompresses JPG and PNG images despite the extension? Perhaps I can figure out a workaround.
In case the problem is cached images from a previous visit to the page, you can clear Firefox's web cache: https://support.mozilla.org/kb/how-clear-firefox-cache
Note: the extension doesn't block pages like https://developers.google.com/speed/webp/gallery1 from using WebP images when they are part of the design. - Thank you so much for this add-on. I could rant all day about how the webp and the gifv formats are a pain in the ass. But I am surprised not a single image application is adding support for these formats. Not counting MS Paint which seems to do webp. How did all these sites suddenly add support for these formats when no editors have? Until I can view these files in my Directory Opus and ACDSEE and can freely convert from one to another I don't need or want it.
Again! Well done on this addon - 评分 1 / 5来自 Mephistopheles, 5 年前Does exactly what I wanted. Thanks!
Edit: Well now I'm getting the thrice cursed webp again. Why are companies always pushing for things nobody wants or asked for??
Edit: Doesn't work at all - 评分 5 / 5来自 yarrmateys, 5 年前with this extension websites like wikia and such that offer webp in addition to other extensions will finally send the proper file. no more webp pseudo drm to prevent/make it harder for users to download and use normal images.
- 评分 5 / 5来自 Firefox 用户 13615449, 5 年前Using this to download images from Reddit and other websites without that stupid webp format. Why you do this, Firefox?
- 评分 5 / 5来自 Firefox 用户 13777193, 5 年前
- 评分 5 / 5来自 Firefox 用户 15575698, 5 年前
- 评分 5 / 5来自 Firefox 用户 16161025, 5 年前Thank you i was tired for that file type.
Now google want to monopolize the images... - 评分 5 / 5来自 Firefox 用户 16109083, 5 年前