Opera saves images as webp instead jpg
-
didodido last edited by didodido
For some reason Opera is doing this thing when saving pictures it saved them in .webp instead of the format which the picture is. It doesn't matter if I am dragging and dropping or use "save as" the result is still the same.
Is there an option to disable this or even to disable the .webp for mat for the entire browser like it's not supported?! If possible I would like to not do this by adding another extensions. I have way too many at this point. I think this should be a basic feature that maybe I am missing!
NB: Please skip if you are going to explain to me how the website is forcing Opera to save in webp. Thank you!
-
burnout426 Volunteer last edited by
Not sure how to do it without an extension. With an extension, you can modify Opera's Accept header to not mention image/webp so that sites serve you an alternative like png or jpg (if they provide one).
Create a folder named "nowebp" and then, create the following two files in it:
manifest.json:
{ "manifest_version": 3, "name": "Set Accept Header", "version": "1.0", "description": "Sets the Accept request header for all URLs", "permissions": [ "declarativeNetRequest", "declarativeNetRequestWithHostAccess" ], "host_permissions": [ "<all_urls>" ], "declarative_net_request": { "rule_resources": [ { "id": "ruleset_1", "enabled": true, "path": "rules.json" } ] } }
rules.json:
[ { "id": 1, "priority": 1, "action": { "type": "modifyHeaders", "requestHeaders": [ { "header": "Accept", "operation": "set", "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" } ] }, "condition": { "urlFilter": "*", "resourceTypes": [ "main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "ping", "csp_report", "media", "font", "websocket", "other" ] } } ]
Then, goto the URL
opera://extensions
, turn on developer mode, click "Load unpacked" and point it to the nowebp folder. Then, set "allow access to search page results" for the extension if needed.And, of course, there are extensions at https://chromewebstore.google.com/search/save image as that allow you to right-click an image and save it as a certain type.
Besides those, you'd need to install a local HTTP proxy (with TLS support) that allows you to modify headers that you run Opera through.
-
burnout426 Volunteer last edited by
@burnout426 said in Opera saves images as webp instead jpg:
Besides those, you'd need to install a local HTTP proxy (with TLS support) that allows you to modify headers that you run Opera through.
Proxomitron and Proximodo were the ones that I remember that could do that, but those are pretty old and I haven't used them in years.