Recensioner för Don't "Accept" image/webp
Don't "Accept" image/webp av jscher2000
4 recensioner
- Betygsatt 2 av 5av MadBat, för en månad sedanNew version doesn't work anymore.
Any picture I try to save from nexusmod is shown as webp.
Ex https://www.nexusmods.com/skyrimspecialedition/mods/24791
Or more specifically: https://staticdelivery.nexusmods.com/mods/1704/images/24791/24791-1554680316-435236928.png
Clearly a png which is what I get from chrome. But FF gives me this crap webp even with this add-onUtvecklarens svar
postad för en månad sedanYes, the NexusMods site ignores the change made by this add-on. But for me, the .png file saved from Chrome is the same WEBP file -- with a .png extension.
If you hear of any way to fool the site, I can try to implement it. Until then, when you are viewing the image in its own tab, you can get Firefox to download it as a PNG by using the built-in screenshot tool. Either right-click the blank area above/below the image > Take Screenshot, or use the keyboard shortcut (on Windows, Ctrl+Shift+S). Then move the mouse toward the upper left of the image and a dashed rectangle should appear around the image. Click to select the image, then click the Download button. The file name is a mess, but it will be a true PNG file. - Betygsatt 2 av 5av Logan06, för en månad sedanThis add-on now wants some very strange permissions. It is apparently to prevent conflict with another add-on but I don't see why these permissions are required for that. I'd be very cautious of this for the time being
Utvecklarens svar
postad för en månad sedanHi, there is one new permission in version 0.9, the "management" permission, which allows checking the names of your installed add-ons and whether they are enabled or disabled. You can see the added code in the comparison page on Github: https://github.com/jscher2000/dont-accept-webp/commit/25eea9332a3819f5d0c9c224b7178bd3db830694
If anyone prefers to install the previous version, you can grab it from the All Versions page at: https://addons.mozilla.org/firefox/addon/dont-accept-webp/versions/
And if you do not trust me, don't run my add-ons. - Betygsatt 2 av 5av Bjorn Roesbeke, för 3 år sedanTLDR: 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.Utvecklarens svar
postad för 3 år sedan> 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. - Betygsatt 2 av 5av Firefox-användare 12363114, för 3 år sedanWorked 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.
Utvecklarens svar
postad för 3 år sedanThe 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.