Don't "Accept" image/webp 的评价
Don't "Accept" image/webp 作者: jscher2000
152 条评价
开发者回应
发布于 2 年前Hi Niklas, if you right-click > Open Image in New Tab before dragging, the tab should tell you the true format (hold your mouse over the tab to see the full tooltip).
You can test using https://i2.wp.com/radical-mag.com/wp-content/uploads/2019/08/@Test-BMW-320d-8.jpg -- normally, if you hover your mouse over the tab, it will say it is a WEBP image; with the extension enabled, it should be a JPG image.
If it doesn't work on that one, check whether it's the private window issue: https://support.mozilla.org/kb/extensions-private-browsing
If you want to send me some problem URLs, you can create an issue at https://github.com/jscher2000/dont-accept-webp/issues or email me at [email protected].- 评分 5 / 5来自 Firefox 用户 17985675, 2 年前
- 评分 5 / 5来自 fixedrate144, 2 年前
开发者回应
发布于 2 年前You can test using https://i2.wp.com/radical-mag.com/wp-content/uploads/2019/08/@Test-BMW-320d-8.jpg -- normally, if you hover your mouse over the tab, it will say it is a WEBP image; with the extension enabled, it should be a JPG image.
If it doesn't work on that one, check whether it's the private window issue: https://support.mozilla.org/kb/extensions-private-browsing
If you want to send me some problem URLs, you can create an issue at https://github.com/jscher2000/dont-accept-webp/issues or email me at [email protected].- 评分 4 / 5来自 Ericb45696, 2 年前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.
- 评分 5 / 5来自 Firefox 用户 16639115, 2 年前
- 评分 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? - 评分 1 / 5来自 The Virginian, 2 年前Installed it and tried to save an image and it immediately didn't work. Useless
开发者回应
发布于 2 年前What this add-on does is remove a signal that Firefox normally sends to the server that your browser can handle WebP images. The idea is to discourage the server from sending WebP in place of JPEG or PNG.
I'm not sure what problem you ran into with saving an image not working, but do you mean you still got a WebP image? That definitely can happen when the site insists on sending you one, or when the page is using a "picture" tag, but this add-on should help on most sites.
If you need an add-on to convert a WebP image to something else, check out https://addons.vaultpit.io/firefox/addon/save-webp-as-png-or-jpeg/ - 评分 5 / 5来自 Firefox 用户 5544567, 2 年前
- 评分 5 / 5来自 Firefox 用户 13873945, 3 年前This is the sort of thing that should be available to toggle in about:config, but I'm glad this extension exists (and does the job well)
- 评分 5 / 5来自 Álvaro González, 3 年前It does one thing and it does it right. Code is simple and doesn't do anything dodgy.
- 评分 5 / 5来自 keejmilxyz, 3 年前