Beoardielingen foar Save webP as PNG or JPEG (Converter)
Save webP as PNG or JPEG (Converter) troch jscher2000
13 beoardielingen
Antwurd ûntwikkeler
7 moannen lyn pleatstThis extension is published under the Mozilla Public License, an open source license, and the code repository is at https://github.com/jscher2000/Save-webP-as-extension/. You also can review the code by right-clicking the "Add to Firefox" button and using Save Link As. The .xpi file is a ZIP archive, so you can extract it and read the files locally.
The reason such broad permissions are required is that many images are hosted on a different server, and Firefox doesn't provide a convenient way to prompt for permission to operate on embedded cross-site content. Maybe I can make a lower-permission version that only works with stand-alone images?
If you prefer an extension-free approach, you can emulate the way this extension works using Firefox's built-in screenshot feature. That usually downloads in PNG format, but occasionally it may use JPEG format.- Wurdearring: 4 fan 5troch Firefox-brûker 18998116, ien jier lynWorks as needed but very often it is unresponsive for a few minutes
- Wurdearring: 4 fan 5troch Firefox-brûker 18205130, ien jier lynIt's work! But does't convert animated WEBP to GIF (returns error)
- Wurdearring: 4 fan 5troch malau, ien jier lynNot being able to save to a custom folder (future version messages seems to have been there FOREVER and never added) is really dumb ! That is basic basic BASIC Windows functionality.
- Wurdearring: 4 fan 5troch SlickStretch, 2 jierren lynMy only complaint is that I don't like the format/options display. I would really like an option to make the format/options part of the right-click context menu.
- Wurdearring: 4 fan 5troch Artifycr, 2 jierren lynit worked but sent images to a newly made folder instead of my downloads which is a bit annoying to go out of the way to use the image
Antwurd ûntwikkeler
2 jierren lyn pleatstIf you go to the Options for the add-on (click the "gear" wheel icon on the button bar), "Save Path Options" section, you can change to saving directly in the Downloads folder. Due to limitations on where add-ons can auto-save, I can't offer very much flexibility on this. If you prefer to choose where to save each time, the setting above that lets you select your preferred approach. - Wurdearring: 4 fan 5troch JdbyeRox, 2 jierren lynHas this been updated to fix the recent webp remote code execution exploit? That has me a bit worried right now.
Antwurd ûntwikkeler
2 jierren lyn pleatstHi, do you mean the one assigned CVE-2023-4863? Mozilla issued Firefox 117.0.2 and 115.2.1 to address the problem. See: https://www.mozilla.org/security/advisories/mfsa2023-40/
The reason for mentioning that patch is: this extension uses features Firefox makes available to add-ons and web page scripts; the extension does not have its own image conversion libraries. - Wurdearring: 4 fan 5troch waranghira, 2 jierren lynAnother add-on that I can't use since "Access your data for all websites". Why can't they just limit to what they actually need?
Antwurd ûntwikkeler
2 jierren lyn pleatstI know, it's inconvenient and demands a lot of trust. This add-on only reads data when you call it up, and it does not read data in pages other than the image it's operating on. Either way, it doesn't send info to me -- I have no interest what is happening in anyone else's browser.
For what it's worth, I did *try* to write this extension *without* that permission. If the image is hosted on the same server as the page (both the same server as listed in the address bar), then the fact that you right-clicked the image could grant one-time permission automatically (so called activeTab permission).
But a large proportion of images are hosted on a different server, so that method failed frequently in real world testing. Maybe there is a new solution to this four years down the road? I'll update this reply if I find one and rewrite the add-on. - Wurdearring: 4 fan 5troch Firefox-brûker 18064341, 2 jierren lyn
- Wurdearring: 4 fan 5troch Владимир, 2 jierren lynApologies, but the quick save didn't work. Firefox says: 'Error: missing ) after argument list'
Antwurd ûntwikkeler
2 jierren lyn pleatstApologies for overlooking your review when you posted it. If this error still appears in version 1.4, can you share the URL of the page with the problem image(s), either here or on Github at https://github.com/jscher2000/Save-webP-as-extension/issues or by email at jscher2000@outlook.com. - Wurdearring: 4 fan 5troch Firefox-brûker 17346537, 4 jierren lynThis works great, BUT, how do I set where the newly converted pics will go?
Antwurd ûntwikkeler
4 jierren lyn pleatst(1) Set up one-click saving
Instead of having to click a second button to convert an image, you can set up one-click saving in the add-on options -- check out the following screenshot -- by changing the "Plain click" action to whichever quality of JPEG you prefer:
https://addons.mozilla.org/user-media/previews/full/255/255669.png
(2) Where to save (or to always ask)
Add-ons can only auto-save within your default downloads folder. So far, I've created a couple options for how to set up the folder path, which are also in the add-on options. At some point, I do want to add more possibilities there. - Wurdearring: 4 fan 5troch KeepingItReal, 4 jierren lyn
- Wurdearring: 4 fan 5troch tomhock, 4 jierren lynI was so excited to see this because I hate finding out images I've downloaded are in a proprietary format that some of my devices can't view.
Antwurd ûntwikkeler
4 jierren lyn pleatstTo change from auto-save to showing the Save As dialog: click the Options (gear) button, and under "Show Save As dialog each time" click the Yes bubble.
Could you let me know the site where you don't get a useful file name? I'm not sure the add-on can detect the intended name, but I can take a look. (You can contact me at jscher2000@outlook.com or using the Support link on the main page.) You also could try using the IE11 button in those cases -- it doesn't change the format, but modifies the request to the server to try to get whatever format they offer to older browsers.