บทวิจารณ์สำหรับ Don't "Accept" image/webp
Don't "Accept" image/webp โดย jscher2000
7 บทวิจารณ์
- ได้รับการจัดอันดับ 4 จาก 5โดย Gabrielwillames, 1 ปีที่แล้ว
- ได้รับการจัดอันดับ 4 จาก 5โดย smow, 1 ปีที่แล้วIt used to work pretty fine but for some time it doesn't work at all. Still all webp images are accepted.
- ได้รับการจัดอันดับ 4 จาก 5โดย Ericb45696, 1 ปีที่แล้วIt's worked great for the most part for years now but seems to not work on some sites for whatever reasons. Updated, and I tried changing settings back and forth but some sites it just does not work on. Imgur for example, it wont work if I'm on the main page, but if I go ahead and click on an image and then try it , it works. odd. Seem to be finding more sites it just does not work on lately, but it still works on most at least.
- ได้รับการจัดอันดับ 4 จาก 5โดย ผู้ใช้ Firefox 17875336, 2 ปีที่แล้วDoesn't seem to work. I've selected strip webp and avif, but both the developer console and https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending say I'm still sending webp and avif in the Accept header.
Edit: Strangely, toggling the "Run in Private Windows" to "Allow" and back to "Don't allow" (which is my desired setting) fixed the issue, even though I always ran the tests in normal browsing instead of private browsing. I'm unable to replicate this for a proper bug report, but just a FYI for others facing similar issues.การตอบกลับของนักพัฒนา
โพสต์เมื่อ 2 ปีที่แล้วIn case you are using private windows, make sure you enabled the add-on to run in private windows: https://support.mozilla.org/kb/extensions-private-browsing
If that's not the problem, hmm, could there be a conflict with a different extension that also modifies request headers? - ได้รับการจัดอันดับ 4 จาก 5โดย Artyom, 3 ปีที่แล้ว
- ได้รับการจัดอันดับ 4 จาก 5โดย SketchLate, 3 ปีที่แล้ว
- ได้รับการจัดอันดับ 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.