Don't "Accept" image/webp 的评价
Don't "Accept" image/webp 作者: jscher2000
jscher2000 的回应
开发者回应
发布于 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.
> 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.
148 条评价
- 评分 5 / 5来自 Misanthropix, 13 天前
开发者回应
发布于 1 个月前Hi, it depends on the site design. You can test on Total Wine glassware page (https://www.totalwine.com/accessories-more/accessories/glassware/c/001555). Use the Page Info dialog (Ctrl+i, Mac: Command+I) Media list to check the image formats. Reload after changing the "Strip image/webp" setting and check again. With the extension stripping webp, the original formats (PNG, JPEG) are used. If that doesn't work for you, check this article just in case: https://support.mozilla.org/kb/extensions-private-browsing
If there are specific sites you would like help with, you can try creating a new issue at https://github.com/jscher2000/dont-accept-webp/issues or emailing me at jscher2000@outlook.com.开发者回应
发布于 4 个月前Hi pjcamp, thank you for your report.
This extension makes a change to how Firefox requests images, but many sites ignore the change. If there is a specific site you want to mention, you can contact me by creating a new Github issue on https://github.com/jscher2000/dont-accept-webp/issues or emailing jscher2000@outlook.com.
On the other hand, if it fails on every single site, check for this issue: https://support.mozilla.org/kb/extensions-private-browsing
There also are some pages that give Firefox multiple format options (picture tag/source tags) and it selects WebP for some reason. I don't have a fix for that yet.- 评分 5 / 5来自 Crowbar Scientist, 5 个月前
- 评分 4 / 5来自 Firefox 用户 18285487, 8 个月前Great idea. Lossless WebP is generally a superior alternative to Png (except it cannot handle HQs beyond 16k on a side), but when you get served a webp on a web site, there is a 95% chance it is just a Jpg that has gone through another round of lossy compression, a different type, at a lower bit rate = worse quality (fewer fine details).
In an ideal world, the digital master would be encoded as both Jpg/Png and Jxl, and the browser would have an option built in to preference one format over the other. JpegXl is the best new format. Jpeg2000 was decent but I don't think any browsers support it, and it even has a lossless format.
Unfortunately, this extension only works on some sites. Some are still sending me Webp,oravif (less often) and even twice I got a Jpegxl (I wish to force jpeg from these bossy CDNs that are enforcing inferior formats upon me). - 评分 5 / 5来自 Major Gear, 1 年前This addon installs easily and does what it says on the tin. I recommend this addon.
- 评分 5 / 5来自 Firefox 用户 11803080, 1 年前