Don't "Accept" image/webp
This extension removes image/webp and/or image/avif from the list of formats Firefox tells sites that it accepts. That discourages many servers from replacing JPEG and PNG images with WebP/AVIF. (But some may send them anyway; they aren't blocked.)
Additional files are visible only to premium users
manifest.json
{
"name": "Don't Accept image/webp",
"description": "Strip image/webp from Accept: headers, which should discourage servers from replacing JPEG and PNG images with WebP images.",
"version": "0.9",
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "60.0"
}
},
"background": {
"scripts": [
"background.js"
]
},
"permissions": [
"<all_urls>",
"activeTab",
"webRequest",
"webRequestBlocking",
"storage",
"management"
],
"browser_action": {
"browser_style": true,
"default_icon": {
"128": "icons/do-accept-webp2.png"
},
"default_title": "Don't Accept WebP",
"default_popup": "popup.html"
}
}